The Unified and Autonomous Development Platform
fix: helm install complains "error validating data: unknown object type nil" sometimes (#1462)
Robin Shen5f7575ac88b4
diff --git a/server-product/helm/templates/NOTES.txt b/server-product/helm/templates/NOTES.txtindex f77c830488..7ee9e5df49 100644--- a/server-product/helm/templates/NOTES.txt+++ b/server-product/helm/templates/NOTES.txt@@ -7,8 +7,8 @@ APP VERSION: {{ .Chart.AppVersion }}##################################################################### CAUTION: if you are upgrading from version <= 8.4.2, please make-# sure to follow https://docs.onedev.io/upgrade-guide to migrate-# your data+# sure to follow https://docs.onedev.io/upgrade-guide#upgrade-from-chart-v--842+# to migrate your data####################################################################diff --git a/server-product/helm/templates/secrets.yaml b/server-product/helm/templates/secrets.yamlindex 96ed5aa003..7a697af11e 100644--- a/server-product/helm/templates/secrets.yaml+++ b/server-product/helm/templates/secrets.yaml@@ -6,5 +6,7 @@ metadata:labels: {{ include "ods.labels" . | nindent 4 }}type: Opaquedata:+{{- if .Values.onedev.initSettings.password }}password: {{ .Values.onedev.initSettings.password | b64enc }}- dbPassword: {{ .Values.database.dbPassword | b64enc }}\ No newline at end of file+{{- end }}+ dbPassword: {{ .Values.database.dbPassword | b64enc }}diff --git a/server-product/system/incompatibilities/incompatibilities.md b/server-product/system/incompatibilities/incompatibilities.mdindex 605e456731..41c577f858 100644--- a/server-product/system/incompatibilities/incompatibilities.md+++ b/server-product/system/incompatibilities/incompatibilities.md@@ -1,6 +1,6 @@# 8.5.0-**[Helm Chart]** Helm chart has been completely rewritten to be flexible, and it is not compatible with earlier versions. Follow [this guide](https://docs.onedev.io/upgrade-guide#comming-from-chart-v--842) to upgrade your chart from version <= 8.4.2+**[Helm Chart]** Helm chart has been completely rewritten to be flexible, and it is not compatible with earlier versions. Follow [this guide](https://docs.onedev.io/upgrade-guide#upgrade-from-chart-v--842) to upgrade your chart from version <= 8.4.2# 8.4.0