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

View File

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