Skip to content

Commit

Permalink
fix correct usage extraVolumeMounts
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c committed Oct 26, 2023
1 parent 87c6d14 commit 6a46dec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mviewer/templates/mviewer-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ spec:
volumeMounts:
- name: mviewer-configuration
mountPath: /usr/share/nginx/html/apps
{{- else if .Values.mviewer.extraVolumesMounts }}
{{- else if .Values.mviewer.extraVolumeMounts }}
volumeMounts:
{{- .Values.mviewer.extraVolumesMounts | toYaml | nindent 6 }}
{{- .Values.mviewer.extraVolumeMounts | toYaml | nindent 6 }}
{{- end }}
{{- if .Values.mviewer.configuration.git.url }}
volumes:
Expand Down
4 changes: 2 additions & 2 deletions mviewer/templates/mviewerstudio-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ spec:
env:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.mviewerstudio.extraVolumesMounts }}
{{- if .Values.mviewerstudio.extraVolumeMounts }}
volumeMounts:
{{- .Values.mviewerstudio.extraVolumesMounts | toYaml | nindent 6 }}
{{- .Values.mviewerstudio.extraVolumeMounts | toYaml | nindent 6 }}
{{- end }}
{{- if .Values.mviewerstudio.extraVolumes }}
volumes:
Expand Down

0 comments on commit 6a46dec

Please sign in to comment.