Skip to content

Commit

Permalink
feat(helm): adding custom labels (#847)
Browse files Browse the repository at this point in the history
  • Loading branch information
cymdym authored and tchiotludo committed Oct 24, 2021
1 parent c731681 commit 78a71a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm/akhq/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ metadata:
helm.sh/chart: {{ include "akhq.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- with .Values.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount | default 1 }}
selector:
Expand Down
4 changes: 4 additions & 0 deletions helm/akhq/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ annotations: {}
#prometheus.io/port: '8080'
#prometheus.io/path: '/prometheus'

# custom labels
labels: {}
# custom.label: 'true

## You can put directly your configuration here... or add java opts or any other env vars
extraEnv: []
# - name: AKHQ_CONFIGURATION
Expand Down

0 comments on commit 78a71a6

Please sign in to comment.