This commit is contained in:
Joseph Hanson 2023-08-15 15:51:30 +00:00
parent 6604a8027e
commit 33470c46bc
2 changed files with 12 additions and 9 deletions

View file

@ -33,11 +33,3 @@ spec:
interval: 30m interval: 30m
retryInterval: 1m retryInterval: 1m
timeout: 5m timeout: 5m
decryption:
provider: sops
secretRef:
name: sops-age
postBuild:
substituteFrom:
- kind: Secret
name: cluster-secrets

View file

@ -11,22 +11,33 @@ spec:
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository
name: valinor name: valinor
decryption:
provider: sops
secretRef:
name: sops-age
postBuild: postBuild:
substituteFrom: substituteFrom:
- kind: ConfigMap - kind: ConfigMap
name: cluster-settings name: cluster-settings
- kind: Secret
name: cluster-secrets
patches: patches:
- patch: |- - patch: |-
apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization kind: Kustomization
metadata: metadata:
name: not-used name: not-used
namespace: not-used
spec: spec:
decryption:
provider: sops
secretRef:
name: sops-age
postBuild: postBuild:
substituteFrom: substituteFrom:
- kind: ConfigMap - kind: ConfigMap
name: cluster-settings name: cluster-settings
- kind: Secret
name: cluster-secrets
target: target:
group: kustomize.toolkit.fluxcd.io group: kustomize.toolkit.fluxcd.io
kind: Kustomization kind: Kustomization