123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- {{- define "tautulli.workload" -}}
- workload:
- tautulli:
- enabled: true
- primary: true
- type: Deployment
- podSpec:
- hostNetwork: {{ .Values.tautulliNetwork.hostNetwork }}
- containers:
- tautulli:
- enabled: true
- primary: true
- imageSelector: image
- securityContext:
- runAsUser: {{ .Values.tautulliRunAs.user }}
- runAsGroup: {{ .Values.tautulliRunAs.group }}
- command:
- - /entrypoint.sh
- args:
- - --port
- - {{ .Values.tautulliNetwork.webPort | quote }}
- {{ with .Values.tautulliConfig.additionalEnvs }}
- envList:
- {{ range $env := . }}
- - name: {{ $env.name }}
- value: {{ $env.value }}
- {{ end }}
- {{ end }}
- probes:
- liveness:
- enabled: true
- type: http
- port: "{{ .Values.tautulliNetwork.webPort }}"
- path: /status
- readiness:
- enabled: true
- type: http
- port: "{{ .Values.tautulliNetwork.webPort }}"
- path: /status
- startup:
- enabled: true
- type: http
- port: "{{ .Values.tautulliNetwork.webPort }}"
- path: /status
- initContainers:
- {{- include "ix.v1.common.app.permissions" (dict "containerName" "01-permissions"
- "UID" .Values.tautulliRunAs.user
- "GID" .Values.tautulliRunAs.group
- "mode" "check"
- "type" "install") | nindent 8 }}
- {{- end -}}
|