Merge pull request #245 from spiffe/tags

This commit is contained in:
Marco Franssen
2023-05-18 09:18:22 +02:00
committed by GitHub
13 changed files with 107 additions and 51 deletions
@@ -107,8 +107,9 @@ Create the name of the service account to use
{{- define "spire-server.kubectl-image" }}
{{- $root := deepCopy . }}
{{- if eq (len $root.image.version) 0 }}
{{- $_ := set $root.image "version" $root.KubeVersion }}
{{- $tag := (default $root.image.tag $root.image.version) | toString }}
{{- if eq (len $tag) 0 }}
{{- $_ := set $root.image "tag" $root.KubeVersion }}
{{- end }}
{{- include "spire-lib.image" $root }}
{{- end }}