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
|
||||
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:
|
||||
name: crds
|
||||
namespace: flux-system
|
||||
|
@ -22,6 +36,7 @@ spec:
|
|||
interval: 10m
|
||||
dependsOn:
|
||||
- name: crds
|
||||
- name: cluster-secrets
|
||||
path: ./cluster/core
|
||||
prune: false
|
||||
sourceRef:
|
||||
|
@ -49,6 +64,7 @@ spec:
|
|||
interval: 10m
|
||||
dependsOn:
|
||||
- name: core
|
||||
- name: cluster-secrets
|
||||
path: ./cluster/apps
|
||||
prune: true
|
||||
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