Skip to content

Commit

Permalink
Fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
nikovacevic committed Oct 13, 2020
1 parent 45939e1 commit 7f59e96
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ spec:
persistentVolumeClaim:
claimName: {{ template "cost-analyzer.fullname" . }}
{{- end }}
- name: persistent-db
{{- if .Values.kubecostModel.etlToDisk }}
- name: persistent-db
{{- if .Values.persistentVolume }}
{{- if .Values.persistentVolume.enabled }}
persistentVolumeClaim:
Expand All @@ -174,7 +174,11 @@ spec:
{{- end }}
resources:
{{ toYaml .Values.initChownData.resources | indent 12 }}
{{- if .Values.kubecostModel.etlToDisk }}
command: ["sh", "-c", "/bin/chmod -R 777 /var/configs && /bin/chmod -R 777 var/db"]
{{- else }}
command: ["sh", "-c", "/bin/chmod -R 777 /var/configs"]
{{- end}}
volumeMounts:
- name: persistent-configs
mountPath: /var/configs
Expand Down

0 comments on commit 7f59e96

Please sign in to comment.