Skip to content

Commit 1e50bd7

Browse files
authored
Merge pull request #223 from SgtCoDFish/defaultcontainer
Add default container annotation to daemonset
2 parents cf0d483 + 8f2ee9d commit 1e50bd7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

deploy/charts/csi-driver/templates/daemonset.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ spec:
2121
{{- with .Values.podLabels }}
2222
{{- toYaml . | nindent 8 }}
2323
{{- end }}
24-
{{- with .Values.podAnnotations }}
2524
annotations:
26-
{{- toYaml . | nindent 8 }}
27-
{{- end }}
25+
kubectl.kubernetes.io/default-container: cert-manager-csi-driver
26+
{{- if .Values.podAnnotations }}
27+
{{- toYaml .Values.podAnnotations | nindent 8 }}
28+
{{- end }}
2829
spec:
2930
{{- with .Values.imagePullSecrets }}
3031
imagePullSecrets:

0 commit comments

Comments
 (0)