Skip to content

Commit

Permalink
build(lms): version: 0.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
JacekZubielik committed Jul 28, 2024
1 parent 14dd1a8 commit 7905ea2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion charts/lms/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/lms/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
26 changes: 16 additions & 10 deletions charts/lms/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -109,18 +109,18 @@ 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
name: lms-config
#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
Expand Down Expand Up @@ -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: {}
Expand All @@ -161,19 +164,22 @@ 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: {}
{{ end }}
{{- range .Values.hostMounts }}
- name: {{ .name }}
hostPath:
path: {{.hostPath}}
path: {{.hostPath }}
{{- if .type }}
type: {{ .type }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 7905ea2

Please sign in to comment.