Skip to content

Commit

Permalink
Add streamService service annotations value (#36)
Browse files Browse the repository at this point in the history
Allow a deployer to add annotations to the stream service.
  • Loading branch information
defunctzombie authored Feb 28, 2023
1 parent 721d095 commit 2ddf2dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/primary-site/templates/services/stream.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -15,3 +20,4 @@ spec:
targetPort: 6001
selector:
app: stream-service
{{- end }}
2 changes: 2 additions & 0 deletions charts/primary-site/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ inboxListener:


streamService:
service:
annotations: {}
deployment:
replicas: 1
resources:
Expand Down

0 comments on commit 2ddf2dc

Please sign in to comment.