Skip to content

Commit

Permalink
fix: ensure argo sync properly external-secrets (#1501)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-zimnowoda committed Feb 6, 2024
1 parent d4ec525 commit 09a7272
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions charts/team-ns/templates/external-secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,21 @@ spec:
type: kubernetes.io/tls
data:
- remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: {{ $vaultPath }}
property: {{ $s.crt | default "tls.crt" }}
secretKey: tls.crt
- remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: {{ $vaultPath }}
property: {{ $s.key | default "tls.key" }}
secretKey: tls.key
{{- if hasKey $s "ca" }}
- remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: {{ $vaultPath }}
property: {{ $s.ca | default "ca.crt" }}
secretKey: ca.crt
Expand All @@ -67,6 +73,8 @@ spec:
data:
{{- range .entries }}
- remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: {{ $vaultPath }}
property: {{ . }}
secretKey: {{ . }}
Expand All @@ -75,6 +83,8 @@ spec:
type: kubernetes.io/dockerconfigjson
data:
- remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: {{ $vaultPath }}
secretKey: ".dockerconfigjson"
{{- end }}
Expand Down

0 comments on commit 09a7272

Please sign in to comment.