Skip to content

Using Kustomize to merge secret into existing secret #2472

Answered by ikaruswill
chupacabra71 asked this question in Q&A
Discussion options

You must be logged in to vote

I'm using Argo CD as well, what I did was to set the following on the ExternalSecret

spec:
  target:
    creationPolicy: Merge
    deletionPolicy: Merge

This should then allow ExternalSecret CR to only manage the keys that's defined in the spec.data array, leaving all else untouched.

For relevant docs:
https://external-secrets.io/latest/guides/ownership-deletion-policy/

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@chupacabra71
Comment options

@AurimasNav
Comment options

@langburd
Comment options

Answer selected by chupacabra71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants