瀏覽代碼

Set hostname of plex app as the app name

sonicaj 3 年之前
父節點
當前提交
570d46673d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      test/plex/1.6.23/templates/deployment.yaml

+ 1 - 0
test/plex/1.6.23/templates/deployment.yaml

@@ -6,6 +6,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
       hostNetwork: {{ .Values.hostNetwork }}
       dnsPolicy: ClusterFirstWithHostNet
     {{- end }}
+      hostname: {{ template "common.names.fullname" . }}
       containers:
         - name: {{ .Chart.Name }}
           {{ if .Values.enablePlexPass }}