diff --git a/deploy/helm/Chart.yaml b/deploy/helm/Chart.yaml index 7e8078a986..a04bfefc68 100644 --- a/deploy/helm/Chart.yaml +++ b/deploy/helm/Chart.yaml @@ -17,4 +17,4 @@ maintainer: sources: - https://github.com/appsmithorg/appsmith - https://www.appsmith.com/ -version: 1.3.0 +version: 1.4.0 diff --git a/deploy/helm/README.md b/deploy/helm/README.md index 2bc192adca..bf8c7c3c1b 100644 --- a/deploy/helm/README.md +++ b/deploy/helm/README.md @@ -27,7 +27,7 @@ This chart bootstrap an [Appsmith](https://github.com/appsmithorg/appsmith) depl * Minikube: [Setup Kubectl](https://minikube.sigs.k8s.io/docs/handbook/kubectl/) * Google Cloud Kubernetes: [Configuring cluster access for kubectl](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl) * Aws EKS: [Create a kubeconfig for Amazon EKS](https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html) - + * Microk8s: [Working with kubectl](https://microk8s.io/docs/working-with-kubectl) * Ensure you have a default storage class running on your cluster. Please follow one of below guideline to enable your default storage class in case of no existing one * Minikube: [Enable addon default-storageclass](https://kubernetes.io/docs/tutorials/hello-minikube/#enable-addons) @@ -52,7 +52,7 @@ To uninstall the `appsmith` release: ``` helm list NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION -appsmith-1631069261 default 1 2021-09-09 11:24:40.152766 +0700 +07 deployed appsmith-1.3.0 1.16.0 +appsmith-1631069261 default 1 2021-09-09 11:24:40.152766 +0700 +07 deployed appsmith-1.3.0 1.16.0 helm uninstall appsmith-1631069261 ``` @@ -63,13 +63,13 @@ The command uninstalls the release and removes all Kubernetes resources associat | Name | Description | Value | | -------------------------- | ---------------------------------------------------------- | ------- | -| `global.namespaceOverride` | Override the namespace for resource deployed by the chart | `""` | +| `global.namespaceOverride` | Override the namespace for resource deployed by the chart | `""` | | `global.storageClass` | Global StorageClass for Persistent Volume(s) | `""` | ### Common parameters | Name | Description | Value | | ------------------- | ------------------------------------------------- | ------------- | -| `fullnameOverride` | String to fully override `appsmith.name` template | `""` | +| `fullnameOverride` | String to fully override `appsmith.name` template | `""` | | `containerName` | Specify container's name running in the pods | `"appsmith"` | | `commonLabels` | Labels to add to all deployed objects | `{}` | | `commonAnnotations` | Annotations to add to all deployed objects | `{}` | @@ -96,6 +96,12 @@ The command uninstalls the release and removes all Kubernetes resources associat | `tolerations` | Tolerations for pod assignment | `[]` | | `affinity` | Affinity fod pod assignment | `{}` | + +### Appsmith namespace parameters +| Name | Description | Value | +| ----------------------------- | ----------------------------------------------------------------------------------------------------------- | ------- | +| `namespace.create` | Enable creation of `Namespace` | `true` | + ### Appsmith service account parameters | Name | Description | Value | | ----------------------------- | ----------------------------------------------------------------------------------------------------------- | ------- | @@ -164,4 +170,4 @@ helm install -f values.yaml appsmith/appsmith --generate-name ## Troubleshooting If at any time you encounter an error during the installation process, reach out to support@appsmith.com or join our Discord Server -If you know the error and would like to reinstall Appsmith, simply delete the installation folder and the templates folder and execute the script again \ No newline at end of file +If you know the error and would like to reinstall Appsmith, simply delete the installation folder and the templates folder and execute the script again diff --git a/deploy/helm/templates/namespace.yaml b/deploy/helm/templates/namespace.yaml index 154a6de035..9563a5a4d2 100644 --- a/deploy/helm/templates/namespace.yaml +++ b/deploy/helm/templates/namespace.yaml @@ -1,4 +1,6 @@ +{{- if .Values.namespace.create }} apiVersion: v1 kind: Namespace metadata: - name: {{ include "appsmith.namespace" . }} \ No newline at end of file + name: {{ include "appsmith.namespace" . }} +{{- end }} diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yaml index 338cd2a4f6..ca6eba9dd1 100644 --- a/deploy/helm/values.yaml +++ b/deploy/helm/values.yaml @@ -34,8 +34,8 @@ schedulerName: "" ## @param strategyType StrategyType for Appsmith® statefulset ## It can be set to RollingUpdate or Recreate by default. ## -strategyType: RollingUpdate -## Image +strategyType: RollingUpdate +## Image ## image: registry: index.docker.io @@ -43,6 +43,10 @@ image: pullPolicy: Always # Overrides the image tag whose default is the chart appVersion. tag: "latest" +## Namespace +## +namespace: + create: true ## ServiceAccount ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ ## @@ -84,7 +88,7 @@ service: ## @param service.clusterIP Appsmith; service cluster IP ## e.g: ## clusterIP: None - ## + ## clusterIP: "" ## @param service.loadBalancerIP loadBalancerIP for Appsmith® Service ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer @@ -184,7 +188,7 @@ persistence: ## @param persistence.enabled - Enable data persistence using PVC ## enabled: true - ## @param persistence.storageClass PVC Storage Class + ## @param persistence.storageClass PVC Storage Class ## storageClass: "" ## @param persistence.localStorage - Use local storage for PVC @@ -195,13 +199,13 @@ persistence: storagePath: /tmp/hostpath_pv ## @param persistence.localCluster ## - localCluster: + localCluster: - minikube ## @param persistence.accessModes PV Access Mode ## accessModes: - ReadWriteOnce - ## @param persistence.size PVC Storage Request + ## @param persistence.size PVC Storage Request ## size: 10Gi ## Fine tuning for volumeClaimTemplates @@ -223,11 +227,11 @@ persistence: # tags: # install-ingress-nginx: true storageClass: - ## @param storageClass.enabled - Enable config storage class + ## @param storageClass.enabled - Enable config storage class ## enabled: false ## @param storageClass.bindingMode - the binding mode for PVCs using this storage class - ## + ## bindingMode: Immediate ## @param storageClass.defaultClass - boolean to set annotation designating this object as the default storage class ## @@ -252,7 +256,7 @@ storageClass: parameters: {} autoupdate: - ## @param autoupdate.enabled - Enable config autoupdate + ## @param autoupdate.enabled - Enable config autoupdate ## enabled: true ## @param autoupdate.scheduler - Schedule cron job to check & update Helm image