- Notifications
You must be signed in to change notification settings - Fork928
Closed
Description
Add Feature
Description
For some reason I'm not able to make pull requests, so I am suggesting to add this small feature to the Helm Chart.
I needed to add annotations to the the coder pod, but it is not possible with the current Helm Chart. So the idea is to addpodAnnotations: {}
into thehelm/values.yaml
file, and add the pod annotations to the coder pod, into thehelm/templates/coder.yaml
file, as the following:
---apiVersion:apps/v1kind:Deploymentmetadata:name:coderlabels:{{- include "coder.labels" . | nindent 4 }}annotations:{{ toYaml .Values.coder.annotations | nindent 4}}spec:replicas:{{ .Values.coder.replicaCount }}selector:matchLabels:{{- include "coder.selectorLabels" . | nindent 6 }}template:metadata:labels:{{- include "coder.labels" . | nindent 8 }}######################################################annotations:{{- with .Values.coder.podAnnotations}}{{- toYaml . | nindent 8 }}{{- end}}######################################################spec:serviceAccountName:{{ .Values.coder.serviceAccount.name | quote }}restartPolicy:Always```
Metadata
Metadata
Assignees
Labels
No labels