Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa3812f

Browse files
authored
add: deployment annotations (#4342)
1 parent 15d7b78 commit aa3812f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

helm/templates/coder.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ metadata:
1111
name: coder
1212
labels:
1313
{{- include "coder.labels" . | nindent 4 }}
14+
annotations: {{ toYaml .Values.coder.annotations | nindent 4}}
1415
spec:
1516
# NOTE: this is currently not used as coder v2 does not support high
1617
# availability yet.

helm/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ coder:
1818
# https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
1919
pullPolicy: IfNotPresent
2020

21+
# coder.annotations -- The Deployment annotations. See:
22+
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
23+
annotations: {}
24+
2125
# coder.serviceAccount -- Configuration for the automatically created service
2226
# account. Creation of the service account cannot be disabled.
2327
serviceAccount:

0 commit comments

Comments
 (0)