Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions charts/plex-media-server/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,16 @@ spec:
annotations:
{{- toYaml .Values.statefulSet.podAnnotations | nindent 8 }}
spec:
{{- if .Values.hostNetwork }}
hostNetwork: {{ .Values.hostNetwork }}
{{- end }}
{{- if .Values.dnsConfig }}
dnsConfig:
{{- toYaml .Values.dnsConfig | nindent 8 }}
{{- end }}
{{- if .Values.dnsPolicy }}
dnsPolicy: {{ .Values.dnsPolicy | quote }}
{{- end }}
{{- if .Values.runtimeClassName }}
runtimeClassName: {{ .Values.runtimeClassName | quote }}
{{- end }}
Expand Down
9 changes: 9 additions & 0 deletions charts/plex-media-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ global:
# -- Optional DNS configuration for the Pod
dnsConfig: {}

# -- Specifies the Pod's DNS policy. Default is typically 'ClusterFirst'.
# If 'hostNetwork: true' is used, you may need to set this to 'ClusterFirstWithHostNet'.
# Allowed values are ClusterFirst, Default, None, or ClusterFirstWithHostNet.
dnsPolicy: ""

# -- Set to true to run the Pod in the host's network namespace.
# This may be required for specific networking setups or accessing local resources.
hostNetwork: false

ingress:
# -- Specify if an ingress resource for the pms server should be created or not
enabled: false
Expand Down
Loading