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

Commit 626145c

Browse files
authored
Allow custom annotation to deployment (#7481)
1 parent b59a4f7 commit 626145c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

‎ci/helm-chart/templates/deployment.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ metadata:
77
helm.sh/chart: {{ include "code-server.chart" . }}
88
app.kubernetes.io/instance: {{ .Release.Name }}
99
app.kubernetes.io/managed-by: {{ .Release.Service }}
10+
{{- if .Values.annotations }}
11+
annotations: {{- toYaml .Values.annotations | nindent 4 }}
12+
{{- end }}
1013
spec:
1114
replicas: {{ .Values.replicaCount | default 1 }}
1215
strategy:

‎ci/helm-chart/values.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ serviceAccount:
3131
# If not set and create is true, a name is generated using the fullname template
3232
name: ""
3333

34+
# Specifies annotations for deployment
35+
annotations: {}
36+
3437
podAnnotations: {}
3538

3639
podSecurityContext: {}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /