Skip to content

Commit

Permalink
Merge pull request #223 from SgtCoDFish/defaultcontainer
Browse files Browse the repository at this point in the history
Add default container annotation to daemonset
  • Loading branch information
jetstack-bot authored Mar 27, 2024
2 parents cf0d483 + 8f2ee9d commit 1e50bd7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deploy/charts/csi-driver/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ spec:
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
kubectl.kubernetes.io/default-container: cert-manager-csi-driver
{{- if .Values.podAnnotations }}
{{- toYaml .Values.podAnnotations | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down

0 comments on commit 1e50bd7

Please sign in to comment.