Skip to content

Commit

Permalink
specify args correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
svenwiltink committed Jun 26, 2023
1 parent 74f7353 commit 39f4722
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/noncer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.1
version: 0.0.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
23 changes: 15 additions & 8 deletions charts/noncer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,21 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
args:
- "-user {{ .Values.email.user }}"
- "-host {{ .Values.email.host }}"
- "-port {{ .Values.email.port }}"
- "-pass {{ .Values.email.password }}"
- "-period {{ .Values.bot.period }}"
- "-webhook {{ .Values.bot.webhook }}"
{{- range .Values.bot.allowList }}
- "-allowlist {{ . }}"
- -user
- {{ .Values.email.user | quote }}
- -host
- {{ .Values.email.host | quote }}
- -port
- {{ .Values.email.port }}
- -pass
- {{ .Values.email.password | quote }}
- -period
- {{ .Values.bot.period | quote }}
- -webhook
- {{ .Values.bot.webhook | quote }}
{{- range .Values.bot.allowList}}
- -allowlist
- {{ . | quote }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
Expand Down

0 comments on commit 39f4722

Please sign in to comment.