This commit is contained in:
Anthony B. 2025-02-13 15:02:13 -06:00 committed by GitHub
commit 3c5c63767a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions

View File

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

View File

@ -38,6 +38,10 @@ spec:
resources:
{{- toYaml .Values.sideload.resources | nindent 12 }}
{{- end }}
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext:
@ -81,6 +85,8 @@ spec:
{{- end }}
- name: HA_ACTIVE
value: {{ .Values.replicaCount | int | le 2 | quote }}
- name: OFFLINE_ACTIVE
value: "{{ default "false" .Values.offline }}"
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}

View File

@ -4,6 +4,8 @@
replicaCount: 1
revisionHistoryLimit: 10
# If sideload is enable, set the offline parameter to true
offline: false
image:
repository: requarks/wiki