update flux
This commit is contained in:
parent
1873e2a33c
commit
4ac1ffc431
3 changed files with 34 additions and 0 deletions
kubernetes/cluster/production/flux-system
16
kubernetes/cluster/production/flux-system/apps.yaml
Normal file
16
kubernetes/cluster/production/flux-system/apps.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: apps
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 5m
|
||||
path: "../../../apps"
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
decryption:
|
||||
provider: sops
|
||||
secretRef:
|
||||
name: sops-age
|
||||
prune: false
|
|
@ -3,3 +3,5 @@ kind: Kustomization
|
|||
resources:
|
||||
- gotk-components.yaml
|
||||
- gotk-sync.yaml
|
||||
- secrets.yaml
|
||||
- apps.yaml
|
||||
|
|
16
kubernetes/cluster/production/flux-system/secrets.yaml
Normal file
16
kubernetes/cluster/production/flux-system/secrets.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: secrets
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 5m
|
||||
path: "./secrets"
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
decryption:
|
||||
provider: sops
|
||||
secretRef:
|
||||
name: sops-age
|
||||
prune: true
|
Reference in a new issue