Skip to content

Commit

Permalink
chart: add name option
Browse files Browse the repository at this point in the history
  • Loading branch information
4nte committed Oct 28, 2022
1 parent 65d3992 commit 243c25d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/mqtt-mirror/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ spec:
- name: VERBOSE
value: "{{ .Values.verbose }}"
{{end}}
{{ if .Values.name }}
- name: NAME
value: "{{ .Values.name }}"
{{end}}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
1 change: 1 addition & 0 deletions chart/mqtt-mirror/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ image:
pullPolicy: IfNotPresent

verbose: false
name: "" # name of the mqtt-mirror instance (used as clientID)

mqtt:
source: ""
Expand Down

0 comments on commit 243c25d

Please sign in to comment.