Skip to content

Commit

Permalink
Add Values.service.additionalLabels to piped chart
Browse files Browse the repository at this point in the history
  • Loading branch information
gotyoooo committed Jun 24, 2021
1 parent 42fadf7 commit 013e6c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion manifests/piped/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ metadata:
name: {{ include "piped.fullname" . }}
labels:
{{- include "piped.labels" . | nindent 4 }}
{{- if .Values.serviceLabels }}
{{ toYaml .Values.service.additionalLabels | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
Expand All @@ -13,4 +16,4 @@ spec:
targetPort: admin
selector:
{{- include "piped.selectorLabels" . | nindent 4 }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions manifests/piped/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ service:
enabled: true
type: ClusterIP
port: 9085
# Optional additional labels to add to the Service
# additionalLabels: {}

config:
# Specifies whether a ConfigMap for piped configuration should be created.
Expand Down

0 comments on commit 013e6c3

Please sign in to comment.