Skip to content

Commit

Permalink
fixed configmap attaching.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri Pastushenko committed Dec 28, 2018
1 parent d57ea61 commit 50e59ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .helm/slack-duty-bot/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ spec:
- name: SDB_SLACK_TOKEN
valueFrom:
secretKeyRef:
name: "{{ include "slack-duty-bot.name" . }}-secret"
name: "{{ include "slack-duty-bot.fullname" . }}"
key: token
volumeMounts:
- name: "{{ include "slack-duty-bot.name" . }}-config-volume"
- name: "config-volume"
mountPath: /etc/slack-duty-bot
resources:
{{ toYaml .Values.resources | indent 12 }}
volumes:
- name: "{{ include "slack-duty-bot.name" . }}-config-volume"
- name: "config-volume"
configMap:
name: "{{ include "slack-duty-bot.name" . }}"
name: "{{ include "slack-duty-bot.fullname" . }}"
restartPolicy: Always
terminationGracePeriodSeconds: 30

0 comments on commit 50e59ed

Please sign in to comment.