Skip to content

Commit 6b62c1a

Browse files
committed
chore(controller): provide any additional service annotations
1 parent 9f7cec3 commit 6b62c1a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

charts/controller/templates/controller-service.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apiVersion: v1
22
kind: Service
33
metadata:
44
name: drycc-controller
5+
annotations:
6+
{{- with .Values.service.annotations }}
7+
{{- toYaml . | nindent 4 }}
8+
{{- end }}
59
labels:
610
heritage: drycc
711
spec:

charts/controller/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ celeryReplicas: 1
2929
concurrencyPolicy: "Replace"
3030
# Configuring this will no longer use the built-in database component
3131
databaseUrl: ""
32-
32+
# Service
33+
service:
34+
# Provide any additional service annotations
35+
annotations: {}
3336
# Any custom controller environment variables
3437
# can be specified as key-value pairs under environment
3538
# this is usually a non required setting.

0 commit comments

Comments
 (0)