Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

Commit

Permalink
fix: correct config map
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Sep 18, 2021
1 parent 06a9d83 commit ad345db
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions charts/sjr/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,22 @@ spec:
httpGet:
path: /metrics
port: monitor
volumeMounts:
- name: configuration
mountPath: "/app/config.yml"
subPath: "config.yaml"
readOnly: true
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: configuration
configMap:
defaultMode: 0440
name: {{ include "sjr.fullname" . }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit ad345db

Please sign in to comment.