diff --git a/charts/lms/Chart.yaml b/charts/lms/Chart.yaml index 6d3a574..aa3ad62 100644 --- a/charts/lms/Chart.yaml +++ b/charts/lms/Chart.yaml @@ -3,7 +3,7 @@ apiVersion: v2 appVersion: 9.0.0 description: Logitech Media Server name: lms -version: 0.0.6 +version: 0.0.7 keywords: - lms - logitechmediaserver diff --git a/charts/lms/templates/servicemonitor.yaml b/charts/lms/templates/servicemonitor.yaml index 92293f3..b946e64 100644 --- a/charts/lms/templates/servicemonitor.yaml +++ b/charts/lms/templates/servicemonitor.yaml @@ -34,7 +34,7 @@ spec: {{- if .Values.monitoring.serviceMonitor.interval }} interval: {{ .Values.monitoring.serviceMonitor.interval }} {{- end }} - {{- if .Values.monitoring.serviceMonitor.scrapeTimeout}} + {{- if .Values.monitoring.serviceMonitor.scrapeTimeout }} scrapeTimeout: {{ .Values.monitoring.serviceMonitor.scrapeTimeout }} {{- end }} {{- with .Values.monitoring.serviceMonitor.scheme }} diff --git a/charts/lms/templates/statefulset.yaml b/charts/lms/templates/statefulset.yaml index 9ff755c..5249662 100644 --- a/charts/lms/templates/statefulset.yaml +++ b/charts/lms/templates/statefulset.yaml @@ -97,7 +97,7 @@ spec: timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }} successThreshold: {{ .Values.livenessProbe.successThreshold }} failureThreshold: {{ .Values.livenessProbe.failureThreshold }} - initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds}} + initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }} {{- end }} {{- if .Values.readinessProbe.enabled }} readinessProbe: @@ -109,7 +109,7 @@ spec: timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} successThreshold: {{ .Values.readinessProbe.successThreshold }} failureThreshold: {{ .Values.readinessProbe.failureThreshold }} - initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds}} + initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }} {{- end }} volumeMounts: - mountPath: /config @@ -117,10 +117,10 @@ spec: #subPath: config - mountPath: /config/playlists name: lms-config - subPath: playlists + # subPath: playlists - mountPath: /config/IR name: lms-config - subPath: IR + # subPath: IR - mountPath: /music name: music-storage readOnly: true @@ -149,10 +149,13 @@ spec: {{- if .Values.persistence.lmsconfig.enabled }} {{- if .Values.persistence.lmsconfig.hostPath }} hostPath: - path: {{.Values.persistence.lmsconfig.hostPath}} + path: {{.Values.persistence.lmsconfig.hostPath }} {{- else }} persistentVolumeClaim: - claimName: {{ if .Values.persistence.lmsconfig.existingClaim }}{{ .Values.persistence.lmsconfig.existingClaim }}{{- else }}{{ template "app.fullname" . }}{{- end }} + claimName: {{ if .Values.persistence.lmsconfig.existingClaim }}{{ .Values.persistence.lmsconfig.existingClaim }} + {{- else }} + {{ template "app.fullname" . }} + {{- end }} {{- end }} {{- else }} emptyDir: {} @@ -161,10 +164,13 @@ spec: {{- if .Values.persistence.musicstorage.enabled }} {{- if .Values.persistence.musicstorage.hostPath }} hostPath: - path: {{.Values.persistence.musicstorage.hostPath}} + path: {{.Values.persistence.musicstorage.hostPath }} {{- else }} persistentVolumeClaim: - claimName: {{ if .Values.persistence.musicstorage.existingClaim }}{{ .Values.persistence.musicstorage.existingClaim }}{{- else }}{{ template "app.fullname" . }}{{- end }} + claimName: {{ if .Values.persistence.musicstorage.existingClaim }}{{ .Values.persistence.musicstorage.existingClaim }} + {{- else }} + {{ template "app.fullname" . }} + {{- end }} {{- end }} {{- else }} emptyDir: {} @@ -172,8 +178,8 @@ spec: {{- range .Values.hostMounts }} - name: {{ .name }} hostPath: - path: {{.hostPath}} + path: {{.hostPath }} {{- if .type }} type: {{ .type }} {{- end }} - {{- end }} \ No newline at end of file + {{- end }}