Skip to content

Commit

Permalink
fix: simplify kustomization patch
Browse files Browse the repository at this point in the history
  • Loading branch information
onedr0p authored Jan 12, 2025
1 parent 949013d commit a1ec188
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions kubernetes/flux/cluster/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,16 @@ spec:
kind: Secret
optional: true
patches:
- patch: |-
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: not-used
spec:
decryption:
- patch: |
- op: add
path: /spec/decryption
value:
provider: sops
secretRef:
name: sops-age
postBuild:
- op: add
path: /spec/postBuild
value:
substituteFrom:
- name: cluster-settings
kind: ConfigMap
Expand Down

0 comments on commit a1ec188

Please sign in to comment.