Skip to content

Commit

Permalink
feat(charts): add custom labels to service (#626)
Browse files Browse the repository at this point in the history
closes #624
  • Loading branch information
flyinggecko authored Mar 9, 2021
1 parent 94e51af commit 646ca67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm/akhq/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
helm.sh/chart: {{ include "akhq.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- range $key, $value := .Values.service.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
annotations:
{{- range $key, $value := .Values.service.annotations }}
{{ $key }}: {{ $value | quote }}
Expand Down
1 change: 1 addition & 0 deletions helm/akhq/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ service:
enabled: true
type: ClusterIP
port: 80
labels: {}
annotations:
# cloud.google.com/load-balancer-type: "Internal"

Expand Down

0 comments on commit 646ca67

Please sign in to comment.