cleaning-up claimName settings

Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
Jeff Billimek
2018-11-05 08:34:06 -05:00
committed by Jeff Billimek
parent 823e436d87
commit 943a4c934b
2 changed files with 4 additions and 16 deletions
+3 -15
View File
@@ -75,23 +75,11 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: TRANSCODE_PVC
{{- if .Values.persistence.transcode.claimName }}
value: "{{ .Values.persistence.transcode.claimName }}"
{{- else }}
value: "{{ template "fullname" . }}-transcode"
{{- end }}
value: {{ if .Values.persistence.config.claimName }}{{ .Values.persistence.config.claimName }}{{- else }}{{ template "fullname" . }}-transcode{{- end }}
- name: DATA_PVC
{{- if .Values.persistence.data.claimName }}
value: "{{ .Values.persistence.data.claimName }}"
{{- else }}
value: "{{ template "fullname" . }}-data"
{{- end }}
value: {{ if .Values.persistence.config.claimName }}{{ .Values.persistence.config.claimName }}{{- else }}{{ template "fullname" . }}-data{{- end }}
- name: CONFIG_PVC
{{- if .Values.persistence.config.claimName }}
value: "{{ .Values.persistence.config.claimName }}"
{{- else }}
value: "{{ template "fullname" . }}-config"
{{- end }}
value: {{ if .Values.persistence.config.claimName }}{{ .Values.persistence.config.claimName }}{{- else }}{{ template "fullname" . }}-config{{- end }}
volumeMounts:
- name: data
mountPath: /data
+1 -1
View File
@@ -22,7 +22,7 @@ spec:
- path: /
backend:
serviceName: {{ $serviceName }}
servicePort: {{ .Values.service.port }}
servicePort: pms
{{- end -}}
{{- if .Values.ingress.tls }}
tls: