Skip to content

Commit

Permalink
Merge pull request #33 from zapier/clean-up-service
Browse files Browse the repository at this point in the history
services need a selector, add a name to the port
  • Loading branch information
djeebus authored Dec 8, 2022
2 parents 58f7889 + 7a2310f commit 347b846
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/prom-aggregation-gateway/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: prom-aggregation-gateway
version: 0.4.1
version: 0.4.2
home: https://github.com/zapier/prom-aggregation-gateway
maintainers:
- name: djeebus
Expand Down
5 changes: 4 additions & 1 deletion charts/prom-aggregation-gateway/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ metadata:
{{- end }}
spec:
type: {{ .Values.service.type }}
selector:
{{- include "prom-aggregation-gateway.selectorLabels" . | nindent 4 }}
ports:
- port: {{ .Values.service.port }}
- name: http
port: {{ .Values.service.port }}
targetPort: http
{{- if eq .Values.service.type "NodePort" }}
nodePort: {{ .Values.service.nodePort }}
Expand Down

0 comments on commit 347b846

Please sign in to comment.