Use the correct kubectl for the cluster (#248)

This commit is contained in:
kfox1111
2023-05-16 20:28:53 +02:00
committed by GitHub
parent ee43c5e36f
commit aed6fdfe4e
7 changed files with 77 additions and 63 deletions
@@ -105,6 +105,14 @@ Create the name of the service account to use
{{- end }}
{{- end }}
{{- define "spire-server.kubectl-image" }}
{{- $root := deepCopy . }}
{{- if eq (len $root.image.version) 0 }}
{{- $_ := set $root.image "version" $root.KubeVersion }}
{{- end }}
{{- include "spire-lib.image" $root }}
{{- end }}
{{- define "spire-server.config-mysql-query" }}
{{- $lst := list }}
{{- range . }}