Move cluster secrets to secrets folder

This commit is contained in:
SeanOMik 2023-04-10 00:44:31 -04:00
parent 0db470d757
commit 18b11570e2
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
4 changed files with 21 additions and 0 deletions

View File

@ -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:

View File

@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./cluster-secrets.sops.yaml
- ./cluster-settings.yaml