Skip to content

Commit 7d56882

Browse files
Fix incorrect nesting of liveness and readiness probes (#118)
* 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]>
1 parent 784d8e4 commit 7d56882

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

charts/plex-media-server/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type: application
2222
# This is the chart version. This version number should be incremented each time you make changes
2323
# to the chart and its templates, including the app version.
2424
# Versions are expected to follow Semantic Versioning (https://semver.org/)
25-
version: 0.7.0
25+
version: 0.7.1
2626

2727
# This is the version number of the application being deployed. This version number should be
2828
# incremented each time you make changes to the application. Versions are not expected to

charts/plex-media-server/templates/statefulset.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,15 @@ spec:
118118
- name: NVIDIA_DRIVER_CAPABILITIES
119119
value: compute,video,utility
120120
{{- end }}
121-
{{- with .Values.pms.resources }}
121+
{{- with .Values.pms.livenessProbe }}
122122
livenessProbe:
123-
{{- toYaml .Values.pms.livenessProbe | nindent 10 }}
123+
{{- toYaml . | nindent 10 }}
124+
{{- end }}
125+
{{- with .Values.pms.readinessProbe }}
124126
readinessProbe:
125-
{{- toYaml .Values.pms.readinessProbe | nindent 10 }}
127+
{{- toYaml . | nindent 10 }}
128+
{{- end }}
129+
{{- with .Values.pms.resources }}
126130
resources:
127131
limits:
128132
{{- with .limits }}

0 commit comments

Comments
 (0)