Move cluster secrets to secrets folder
This commit is contained in:
parent
0db470d757
commit
18b11570e2
|
@ -1,5 +1,19 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: cluster-secrets
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
timeout: 5m
|
||||||
|
interval: 10m
|
||||||
|
path: ./cluster/secrets
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: flux-system
|
||||||
|
---
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: crds
|
name: crds
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
|
@ -22,6 +36,7 @@ spec:
|
||||||
interval: 10m
|
interval: 10m
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: crds
|
- name: crds
|
||||||
|
- name: cluster-secrets
|
||||||
path: ./cluster/core
|
path: ./cluster/core
|
||||||
prune: false
|
prune: false
|
||||||
sourceRef:
|
sourceRef:
|
||||||
|
@ -49,6 +64,7 @@ spec:
|
||||||
interval: 10m
|
interval: 10m
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: core
|
- name: core
|
||||||
|
- name: cluster-secrets
|
||||||
path: ./cluster/apps
|
path: ./cluster/apps
|
||||||
prune: true
|
prune: true
|
||||||
sourceRef:
|
sourceRef:
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./cluster-secrets.sops.yaml
|
||||||
|
- ./cluster-settings.yaml
|
Loading…
Reference in New Issue