Update flux deployments

This commit is contained in:
2024-12-23 19:50:27 +01:00
parent 3fe0da0aa1
commit e86b3fcd4c
4 changed files with 24 additions and 4 deletions

18
clusters/prod/apps.yaml Normal file
View File

@@ -0,0 +1,18 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: apps
namespace: flux-system
spec:
interval: 10m0s
path: ./apps/prod
prune: true
sourceRef:
kind: GitRepository
name: flux-system
dependsOn:
- name: infrastructure
decryption:
provider: sops
secretRef:
name: sops-age

View File

@@ -3,4 +3,3 @@ kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml
- infrastructure-prod.yaml

View File

@@ -1,10 +1,10 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infrastructure-prod
name: infrastructure
namespace: flux-system
spec:
interval: 30m
interval: 10m0s
path: ./infrastructure/prod
prune: true
sourceRef:
@@ -13,4 +13,4 @@ spec:
decryption:
provider: sops
secretRef:
name: sops-age
name: sops-age

View File

@@ -6,3 +6,6 @@ resources:
- secret.enc.yaml
- issuer.yaml
- release.yaml
patchesStrategicMerge:
- release.yaml