Skip to content

Commit

Permalink
Merge pull request #128 from dasmeta/DMVP-5592-variable-api-version
Browse files Browse the repository at this point in the history
DMVP-5592: allow to set external-secret store operator apiVersion
  • Loading branch information
mrdntgrn authored Nov 29, 2024
2 parents 81abb5f + c456ce5 commit f4d3c5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/base/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.9
version: 0.2.10

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.2.9"
appVersion: "0.2.10"
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 f4d3c5e

Please sign in to comment.