mirror of
https://github.com/jellyfin/jellyfin-helm.git
synced 2024-11-23 05:59:56 +00:00
Fix indentation and add image commands/args (#27)
Some checks failed
Docs Update / generate-docs (push) Has been cancelled
Some checks failed
Docs Update / generate-docs (push) Has been cancelled
This commit is contained in:
parent
75e449ae9a
commit
158b66576c
@ -35,9 +35,21 @@ spec:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{ if .Values.image.command }}
|
||||
command:
|
||||
{{- toYaml .Values.image.command | nindent 12 }}
|
||||
{{- end }}
|
||||
{{ if .Values.image.args }}
|
||||
args:
|
||||
{{- toYaml .Values.image.args | nindent 12 }}
|
||||
{{- end }}
|
||||
{{ if .Values.extraEnvVars }}
|
||||
env:
|
||||
{{- toYaml .Values.extraEnvVars | nindent 12 }}
|
||||
{{- end }}
|
||||
{{ if .Values.securityContext }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: http
|
||||
@ -109,13 +121,13 @@ spec:
|
||||
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.extraContainers }}
|
||||
{{- toYaml .Values.extraContainers | nindent 10 }}
|
||||
{{- toYaml .Values.extraContainers | nindent 8 }}
|
||||
{{- end }}
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 12 }}
|
||||
{{- if .Values.extraInitContainers }}
|
||||
initContainers:
|
||||
{{- toYaml .Values.extraInitContainers | nindent 10 }}
|
||||
{{- toYaml .Values.extraInitContainers | nindent 10 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: config
|
||||
|
Loading…
Reference in New Issue
Block a user