mirror of
https://github.com/coder/code-server.git
synced 2025-09-17 17:53:47 +08:00
Allow custom annotation to deployment (#7481)
This commit is contained in:
@ -7,6 +7,9 @@ metadata:
|
|||||||
helm.sh/chart: {{ include "code-server.chart" . }}
|
helm.sh/chart: {{ include "code-server.chart" . }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
{{- if .Values.annotations }}
|
||||||
|
annotations: {{- toYaml .Values.annotations | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.replicaCount | default 1 }}
|
replicas: {{ .Values.replicaCount | default 1 }}
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -31,6 +31,9 @@ serviceAccount:
|
|||||||
# If not set and create is true, a name is generated using the fullname template
|
# If not set and create is true, a name is generated using the fullname template
|
||||||
name: ""
|
name: ""
|
||||||
|
|
||||||
|
# Specifies annotations for deployment
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
podSecurityContext: {}
|
podSecurityContext: {}
|
||||||
|
Reference in New Issue
Block a user