Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aslafy-z committed Jul 25, 2024
1 parent d7bb7a1 commit f23eed5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions application/templates/externalsecrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,9 @@ spec:
- extract:
{{ toYaml $data.dataFrom | indent 6 }}
{{- end }}
{{- if $data.secretStore }}
secretStoreRef:
name: {{ $data.secretStore.name }}
kind: {{ $data.secretStore.kind }}
{{- else }}
secretStoreRef:
name: {{ $.Values.externalSecret.secretStore.name }}
kind: {{ $.Values.externalSecret.secretStore.kind }}
{{- end}}
name: {{ default $.Values.externalSecret.secretStore.name $data.secretStore.name }}
kind: {{ default $.Values.externalSecret.secretStore.kind $data.secretStore.kind }}
target:
name: {{ template "application.name" $ }}-{{ $nameSuffix }}
template:
Expand Down

0 comments on commit f23eed5

Please sign in to comment.