Skip to content

Commit

Permalink
Merge pull request #17 from yuripastushenko/fix-helm-configmap
Browse files Browse the repository at this point in the history
fixed configmap attaching.
  • Loading branch information
arslanbekov authored Dec 28, 2018
2 parents 8567ba6 + 50e59ed commit 64b3b06
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 64b3b06

Please sign in to comment.