Skip to content

Commit

Permalink
fix(DMVP-5592): allow to set external-secret store operator apiVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdntgrn committed Nov 28, 2024
1 parent 81abb5f commit e9d5e0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/base/templates/external-secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if and (eq .Values.secretsDefaultEngine "ExternalSecrets") .Values.secrets -}}
{{ $fullName := include "base.fullname" .}}
apiVersion: external-secrets.io/v1alpha1
apiVersion: {{ .Values.externalSecretsApiVersion }}
kind: ExternalSecret
metadata:
name: {{ $fullName }}
Expand Down
1 change: 1 addition & 0 deletions charts/base/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ ingress:

secrets: []
secretsDefaultEngine: "ExternalSecrets"
externalSecretsApiVersion: external-secrets.io/v1alpha1 # TODO: the new version external-secrets.io/v1beta1 is available in external-secret operator, please update to new version as soon as you upgrade operator(the new dasmeta eks module already uses the new one)
# secrets:
# - external-secret-1
# - external-secret-2
Expand Down

0 comments on commit e9d5e0f

Please sign in to comment.