Skip to content

Commit 690018f

Browse files
committed
chore: add annotations for pod and service
1 parent bbaf705 commit 690018f

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

chart/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ spec:
1313
{{- include "devolutions-server.selectorLabels" . | nindent 6 }}
1414
template:
1515
metadata:
16+
{{- with .Values.podAnnotations }}
17+
annotations:
18+
{{- toYaml . | nindent 8 }}
19+
{{- end }}
1620
labels:
1721
{{- include "devolutions-server.selectorLabels" . | nindent 8 }}
1822
spec:

chart/templates/service.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ metadata:
44
name: {{ include "devolutions-server.fullname" . }}
55
labels:
66
{{- include "devolutions-server.labels" . | nindent 4 }}
7+
{{- with .Values.service.annotations }}
8+
annotations:
9+
{{- toYaml . | nindent 4 }}
10+
{{- end }}
711
spec:
812
type: {{ .Values.service.type }}
913
ports:

chart/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ service:
8585
type: ClusterIP
8686
port: 5000
8787
targetPort: 5000
88+
annotations: {}
89+
90+
# Pod annotations
91+
podAnnotations: {}
8892

8993
# HTTPRoute (Gateway API) configuration
9094
httproute:

0 commit comments

Comments
 (0)