mirror of
https://github.com/truenas/charts.git
synced 2026-05-16 14:12:59 +08:00
NAS-120551 / 23.10 / Plex: Set hostNetwork value in both true/false cases (#1009)
* Plex: Set hostNetwork value in both true/false cases * bump version
This commit is contained in:
@@ -14,4 +14,4 @@ sources:
|
||||
- https://hub.docker.com/r/plexinc/pms-docker/
|
||||
- https://github.com/k8s-at-home/charts/tree/master/charts/plex
|
||||
upstream_version: 2.1.0
|
||||
version: 1.7.29
|
||||
version: 1.7.30
|
||||
@@ -3,8 +3,8 @@
|
||||
spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
|
||||
template: {{ include "common.deployment.pod.metadata" . | nindent 4 }}
|
||||
spec:
|
||||
{{- if .Values.hostNetwork }}
|
||||
hostNetwork: {{ .Values.hostNetwork }}
|
||||
{{- if .Values.hostNetwork }}
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
{{- end }}
|
||||
hostname: {{ template "common.names.fullname" . }}
|
||||
@@ -101,4 +101,3 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
|
||||
hostPath:
|
||||
path: {{ $hostPathConfiguration.hostPath }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user