diff --git a/dev/helm/templates/deployment.yaml b/dev/helm/templates/deployment.yaml index 62f02bc7..c49c6325 100644 --- a/dev/helm/templates/deployment.yaml +++ b/dev/helm/templates/deployment.yaml @@ -32,6 +32,10 @@ spec: command: [ "sh", "-c" ] args: [ "mkdir -p /wiki/data/sideload && git clone --depth=1 {{ .Values.sideload.repoURL }} /wiki/data/sideload/" ] {{- end }} + {{- with .Values.volumeMounts }} + volumeMounts: + {{- toYaml . | nindent 12 }} + {{- end }} containers: - name: {{ .Chart.Name }} securityContext: @@ -71,6 +75,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 }}