We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb54965 commit 7a5c886Copy full SHA for 7a5c886
1 file changed
templates/externalsecret.yaml
@@ -1,5 +1,5 @@
1
{{- if and .Values.externalSecrets.enabled .Values.externalSecrets.create }}
2
-apiVersion: external-secrets.io/v1beta1
+apiVersion: {{ if .Capabilities.APIVersions.Has "external-secrets.io/v1" }}external-secrets.io/v1{{ else }}external-secrets.io/v1beta1{{ end }}
3
kind: ExternalSecret
4
metadata:
5
name: {{ default (include "pgdog.fullname" .) .Values.externalSecrets.name }}
@@ -29,4 +29,3 @@ spec:
29
data: []
30
{{- end }}
31
32
-
0 commit comments