pull/7963/merge
liviu-vasut 1 week ago committed by GitHub
commit 6ff7c7caf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -18,3 +18,4 @@ ssl:
logLevel: $(LOG_LEVEL:info) logLevel: $(LOG_LEVEL:info)
logFormat: $(LOG_FORMAT:default) logFormat: $(LOG_FORMAT:default)
ha: $(HA_ACTIVE) ha: $(HA_ACTIVE)
offline: $(OFFLINE_ACTIVE)

@ -34,9 +34,13 @@ spec:
env: env:
{{- toYaml .Values.sideload.env | nindent 12 }} {{- toYaml .Values.sideload.env | nindent 12 }}
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 && rm -fr /wiki/data/sideload/* && git clone --depth=1 {{ .Values.sideload.repoURL }} /wiki/data/sideload/" ]
resources: resources:
{{- toYaml .Values.sideload.resources | nindent 12 }} {{- toYaml .Values.sideload.resources | nindent 12 }}
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }} {{- end }}
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
@ -103,6 +107,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 | quote }}
{{- with .Values.extraEnvVars }} {{- with .Values.extraEnvVars }}
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}

Loading…
Cancel
Save