The Unified and Autonomous Development Platform
chore: remove maintenance mode as it is no longer necessary
Robin Shen6a747fa1fe49
diff --git a/server-product/helm/templates/_pod.tpl b/server-product/helm/templates/_pod.tplindex d57026e79a..785de54c1e 100644--- a/server-product/helm/templates/_pod.tpl+++ b/server-product/helm/templates/_pod.tpl@@ -31,9 +31,6 @@ containers:{{- end }}image: "{{ .Values.image.repository }}/{{ .Values.image.name }}:{{ .Values.image.tag | default .Chart.AppVersion }}"imagePullPolicy: {{ .Values.image.pullPolicy }}-{{- if .Values.onedev.maintenance }}- command: ["/root/bin/idle.sh"]-{{- end }}env:- name: k8s_servicevalue: {{ include "ods.fullname" . }}diff --git a/server-product/helm/values.yaml b/server-product/helm/values.yamlindex d9802aec6a..4a13ff0609 100644--- a/server-product/helm/values.yaml+++ b/server-product/helm/values.yaml@@ -21,10 +21,6 @@ onedev:# "-----BEGIN CERTIFICATE-----" and ending with "-----END CERTIFICATE-----"secretName: "onedev-trustcerts"- # onedev.maintenance -- Set this as **true** to stop OneDev server and perform various maintenance tasks such as backup, restore.- # [Check Docs](https://code.onedev.io/onedev/manual/~files/main/pages/backup-restore.md) for more details- maintenance: false-# Specify OneDev Server initial settings to avoid manual setupinitSettings:# onedev.initSettings.enabled -- Enables initial settings for deployment