@ -32,6 +32,10 @@ spec:
command : [ "sh" , "-c" ]
command : [ "sh" , "-c" ]
args : [ "mkdir -p /wiki/data/sideload && git clone --depth=1 {{ .Values.sideload.repoURL }} /wiki/data/sideload/" ]
args : [ "mkdir -p /wiki/data/sideload && git clone --depth=1 {{ .Values.sideload.repoURL }} /wiki/data/sideload/" ]
{{- end }}
{{- end }}
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
containers:
containers:
- name : {{ .Chart.Name }}
- name : {{ .Chart.Name }}
securityContext:
securityContext:
@ -71,6 +75,8 @@ spec:
{{- end }}
{{- end }}
- name : HA_ACTIVE
- name : HA_ACTIVE
value : {{ .Values.replicaCount | int | le 2 | quote }}
value : {{ .Values.replicaCount | int | le 2 | quote }}
- name : OFFLINE_ACTIVE
value : "{{ default " false " .Values.offline }}"
{{- with .Values.volumeMounts }}
{{- with .Values.volumeMounts }}
volumeMounts:
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- toYaml . | nindent 12 }}