Skip to content

The Unified and Autonomous Development Platform

midwork

Robin Shena3e74abb4627
diff --git a/server-product/helm/values.yaml b/server-product/helm/values.yaml
index ce81e3a18c..349e7887ca 100644
--- a/server-product/helm/values.yaml
+++ b/server-product/helm/values.yaml
@@ -1,5 +1,5 @@
-# Set this as true to stop OneDev server to perform various maintenance tasks such as backup, restore.
-# Check https://code.onedev.io/projects/162/blob/main/pages/backup-restore.md for details
+## Set this as true to stop OneDev server to perform various maintenance tasks such as backup, restore.
+## Check https://code.onedev.io/projects/162/blob/main/pages/backup-restore.md for details
maintenance: false
nodeSelector:
@@ -8,15 +8,22 @@ nodeSelector:
mysql:
kubernetes.io/os: linux
-# Ingress support, check below for more info.
-# Check https://code.onedev.io/projects/162/blob/main/pages/deploy-into-k8s-with-helm.md#ingress-setup for details
+## Ingress support, check below for more info.
+## Check https://code.onedev.io/projects/162/blob/main/pages/deploy-into-k8s-with-helm.md#ingress-setup for details
ingress:
- host: "" # Optionally specify dns name to access OneDev via ingress controller
- tls: false # Whether or not to enable TLS for above host
- class: nginx # Will be used as ingressClassName of ingress spec to match controller
+ ## Optionally specify dns name to access OneDev via ingress controller
+ host: ""
+
+ ## Whether or not to enable TLS for above host
+ tls: false
+
+ ## Will be used as ingressClassName of ingress spec to match controller
+ class: nginx
letsencrypt:
- email: "" # Specify an email here to enable LetsEncrypt. Check https://code.onedev.io/projects/162/blob/main/pages/deploy-into-k8s-with-helm.md#letsencrypt-setup for details
+ ## Specify an email here to enable LetsEncrypt.
+ ## Check https://code.onedev.io/projects/162/blob/main/pages/deploy-into-k8s-with-helm.md#letsencrypt-setup for details
+ email: ""
resources:
onedev:
@@ -26,12 +33,17 @@ resources:
volumes:
onedev:
- storageClassName: "" # Optionally specify storage class of persistent volume to store OneDev data including git repositories and indexes. Leave empty to use default storage class
+ ## Optionally specify storage class of persistent volume to store OneDev data including git repositories and indexes.
+ ## Leave empty to use default storage class
+ storageClassName: ""
size: 100Gi
mysql:
- storageClassName: "" # Optionally specify storage class of persistent volume to store mysql data. Leave empty to use default storage class
+ ## Optionally specify storage class of persistent volume to store mysql data.
+ ## Leave empty to use default storage class
+ storageClassName: ""
size: 20Gi
secrets:
mysql:
- password: changeit # change mysql root password if desired
+ ## change mysql root password if desired
+ password: changeit