diff --git a/charts/primary-site/templates/services/stream.yaml b/charts/primary-site/templates/services/stream.yaml index d4c6cd9..b16d83e 100644 --- a/charts/primary-site/templates/services/stream.yaml +++ b/charts/primary-site/templates/services/stream.yaml @@ -1,7 +1,12 @@ +{{- with .Values.streamService }} apiVersion: v1 kind: Service metadata: name: stream + annotations: + {{- range $key, $value := .service.annotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} spec: type: ClusterIP ports: @@ -15,3 +20,4 @@ spec: targetPort: 6001 selector: app: stream-service +{{- end }} \ No newline at end of file diff --git a/charts/primary-site/values.yaml b/charts/primary-site/values.yaml index 25c7fdf..2beb89f 100644 --- a/charts/primary-site/values.yaml +++ b/charts/primary-site/values.yaml @@ -53,6 +53,8 @@ inboxListener: streamService: + service: + annotations: {} deployment: replicas: 1 resources: