mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-22 12:43:32 +09:00
system/bucket now calls cozy-lib.ns-host-required, but in a cluster the chart is built from the ExternalArtifact per its PackageSource, not from the charts/cozy-lib symlink used by helm and helm-unittest. The bucket-system component did not list cozy-lib, so the built chart lacked the helper and every cozy-bucket install (including the platform backups bucket) failed to render. Attach the library to the component, as the apps/bucket component already does. Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>
34 lines
899 B
YAML
34 lines
899 B
YAML
---
|
|
apiVersion: cozystack.io/v1alpha1
|
|
kind: PackageSource
|
|
metadata:
|
|
name: cozystack.bucket-application
|
|
spec:
|
|
sourceRef:
|
|
kind: OCIRepository
|
|
name: cozystack-packages
|
|
namespace: cozy-system
|
|
path: /
|
|
variants:
|
|
- name: default
|
|
dependsOn:
|
|
- cozystack.networking
|
|
- cozystack.objectstorage-controller
|
|
# cozystack-engine ships the ApplicationDefinition CRD rendered by the *-rd component below.
|
|
- cozystack.cozystack-engine
|
|
libraries:
|
|
- name: cozy-lib
|
|
path: library/cozy-lib
|
|
components:
|
|
- name: bucket-system
|
|
path: system/bucket
|
|
libraries: ["cozy-lib"]
|
|
- name: bucket
|
|
path: apps/bucket
|
|
libraries: ["cozy-lib"]
|
|
- name: bucket-rd
|
|
path: system/bucket-rd
|
|
install:
|
|
namespace: cozy-system
|
|
releaseName: bucket-rd
|