File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ kind: ServiceAccount
4
4
metadata :
5
5
name : {{ template "flagger.serviceAccountName" . }}
6
6
namespace : {{ .Release.Namespace }}
7
- annotations :
8
7
{{- if .Values.serviceAccount.annotations }}
8
+ annotations :
9
9
{{ toYaml .Values.serviceAccount.annotations | indent 4 }}
10
10
{{- end }}
11
11
labels :
Original file line number Diff line number Diff line change @@ -48,12 +48,12 @@ spec:
48
48
imagePullSecrets :
49
49
- name : {{ .Values.image.pullSecret }}
50
50
{{- end }}
51
+ {{- if .Values.controlplane.kubeconfig.secretName }}
51
52
volumes :
52
- {{- if .Values.controlplane.kubeconfig.secretName }}
53
53
- name : kubeconfig
54
54
secret :
55
55
secretName : " {{ .Values.controlplane.kubeconfig.secretName }}"
56
- {{- end }}
56
+ {{- end }}
57
57
{{- if .Values.additionalVolumes }}
58
58
{{- toYaml .Values.additionalVolumes | nindent 8 -}}
59
59
{{- end }}
@@ -66,11 +66,11 @@ spec:
66
66
securityContext :
67
67
{{ toYaml .Values.securityContext.context | indent 12 }}
68
68
{{- end }}
69
+ {{- if .Values.controlplane.kubeconfig.secretName }}
69
70
volumeMounts :
70
- {{- if .Values.controlplane.kubeconfig.secretName }}
71
71
- name : kubeconfig
72
72
mountPath : " /tmp/controlplane"
73
- {{- end }}
73
+ {{- end }}
74
74
image : " {{ .Values.image.repository }}:{{ .Values.image.tag }}"
75
75
imagePullPolicy : {{ .Values.image.pullPolicy }}
76
76
ports :
You can’t perform that action at this time.
0 commit comments