Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

AddpodAnnotations to the Helm chart #6695

Closed
Assignees
ericpaulsen
@faresherhar

Description

@faresherhar

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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp