Skip to content

Commit

Permalink
Fix incorrect nesting of liveness and readiness probes (#118)
Browse files Browse the repository at this point in the history
* Fix incorrect nesting of liveness and readiness probes

* chore: bump chart version

* Fix incorrect generation of empty liveness and readiness probes

---------

Co-authored-by: Marshall Asch <[email protected]>
  • Loading branch information
jpflouret and MarshallAsch authored Dec 31, 2024
1 parent 784d8e4 commit 7d56882
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/plex-media-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.7.0
version: 0.7.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
10 changes: 7 additions & 3 deletions charts/plex-media-server/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,15 @@ spec:
- name: NVIDIA_DRIVER_CAPABILITIES
value: compute,video,utility
{{- end }}
{{- with .Values.pms.resources }}
{{- with .Values.pms.livenessProbe }}
livenessProbe:
{{- toYaml .Values.pms.livenessProbe | nindent 10 }}
{{- toYaml . | nindent 10 }}
{{- end }}
{{- with .Values.pms.readinessProbe }}
readinessProbe:
{{- toYaml .Values.pms.readinessProbe | nindent 10 }}
{{- toYaml . | nindent 10 }}
{{- end }}
{{- with .Values.pms.resources }}
resources:
limits:
{{- with .limits }}
Expand Down

0 comments on commit 7d56882

Please sign in to comment.