mirror of
https://github.com/requarks/wiki.git
synced 2025-02-25 18:55:30 -06:00
Merge 484732119f
into 85243e5284
This commit is contained in:
commit
3c5c63767a
@ -18,3 +18,4 @@ ssl:
|
||||
logLevel: $(LOG_LEVEL:info)
|
||||
logFormat: $(LOG_FORMAT:default)
|
||||
ha: $(HA_ACTIVE)
|
||||
offline: $(OFFLINE_ACTIVE:false)
|
||||
|
@ -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 }}
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
replicaCount: 1
|
||||
revisionHistoryLimit: 10
|
||||
# If sideload is enable, set the offline parameter to true
|
||||
offline: false
|
||||
|
||||
image:
|
||||
repository: requarks/wiki
|
||||
|
Loading…
Reference in New Issue
Block a user