♻️ substitutions

This commit is contained in:
auricom
2023-11-30 23:32:51 +01:00
parent cf46c89de7
commit b52a67f2c7
90 changed files with 880 additions and 220 deletions

View File

@@ -5,10 +5,16 @@ kind: Kustomization
metadata:
name: cluster-apps-rook-ceph-app
namespace: flux-system
labels:
substitution.flux.home.arpa/enabled: "true"
spec:
path: ./kubernetes/apps/rook-ceph/rook-ceph/app
postBuild:
substituteFrom:
- kind: ConfigMap
name: cluster-settings
optional: false
- kind: Secret
name: cluster-secrets
optional: false
prune: true
sourceRef:
kind: GitRepository
@@ -23,12 +29,18 @@ kind: Kustomization
metadata:
name: cluster-apps-rook-ceph-cluster
namespace: flux-system
labels:
substitution.flux.home.arpa/enabled: "true"
spec:
dependsOn:
- name: cluster-apps-rook-ceph-app
path: ./kubernetes/apps/rook-ceph/rook-ceph/cluster
postBuild:
substituteFrom:
- kind: ConfigMap
name: cluster-settings
optional: false
- kind: Secret
name: cluster-secrets
optional: false
prune: true
sourceRef:
kind: GitRepository
@@ -43,12 +55,18 @@ kind: Kustomization
metadata:
name: cluster-apps-rook-ceph-toolbox
namespace: flux-system
labels:
substitution.flux.home.arpa/enabled: "true"
spec:
dependsOn:
- name: cluster-apps-rook-ceph-cluster
path: ./kubernetes/apps/rook-ceph/rook-ceph/toolbox
postBuild:
substituteFrom:
- kind: ConfigMap
name: cluster-settings
optional: false
- kind: Secret
name: cluster-secrets
optional: false
prune: true
sourceRef:
kind: GitRepository