File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
scripts/devtron-reference-helm-charts/cronjob-chart_1-6-0/templates Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 44 {{if (or (eq .externalType "ESO_GoogleSecretsManager") (eq .externalType "ESO_AWSSecretsManager") (eq .externalType "ESO_HashiCorpVault") (eq .externalType "ESO_AzureSecretsManager"))}}
55{{- if .esoSecretData.secretStore }}
66---
7+ {{- if $.Capabilities.APIVersions.Has "external-secrets.io/v1" }}
8+ apiVersion : external-secrets.io/v1
9+ {{- else }}
710apiVersion : external-secrets.io/v1beta1
11+ {{- end }}
812kind : SecretStore
913metadata :
1014 name : {{ .name}}
2226 {{- toYaml .esoSecretData.secretStore | nindent 4 }}
2327{{- end }}
2428---
25- apiVersion : external-secrets.io/v1beta1
29+ {{- if $.Capabilities.APIVersions.Has "external-secrets.io/v1" }}
30+ apiVersion : external-secrets.io/v1
31+ {{- else }}
32+ apiVersion : external-secrets.io/v1beta1
33+ {{- end }}
2634kind : ExternalSecret
2735metadata :
2836 name : {{ .name }}
You can’t perform that action at this time.
0 commit comments