Skip to content

Commit

Permalink
Add label that service selector looks for (#52)
Browse files Browse the repository at this point in the history
* Add label that service selector looks for
* also include the server port
* Use release specific matchers
  • Loading branch information
Calebjh authored and razamiDev committed Sep 20, 2019
1 parent b159150 commit e4c5e05
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions deploy/pubsub/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ spec:
containerPort: {{ .Values.service.port }}
protocol: TCP
args: [
{{ .Values.service.logging_level | quote }}
"--logging.level={{ .Values.service.logging_level }}",
"--server.port={{ .Values.service.port }}"
]
resources:
{{- toYaml .Values.resources | nindent 12 }}
Expand All @@ -54,4 +55,5 @@ spec:
port: 80
targetPort: {{ .Values.service.port }}
selector:
app: pubsub
app.kubernetes.io/name: {{ include "pubsub.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}

0 comments on commit e4c5e05

Please sign in to comment.