Add helm param to disable namespace creation (#9719)
Will only create namespace if namespace.create == true
This commit is contained in:
parent
2821ac2d75
commit
0edd50f6b2
|
|
@ -17,4 +17,4 @@ maintainer:
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/appsmithorg/appsmith
|
- https://github.com/appsmithorg/appsmith
|
||||||
- https://www.appsmith.com/
|
- https://www.appsmith.com/
|
||||||
version: 1.3.0
|
version: 1.4.0
|
||||||
|
|
|
||||||
|
|
@ -96,6 +96,12 @@ The command uninstalls the release and removes all Kubernetes resources associat
|
||||||
| `tolerations` | Tolerations for pod assignment | `[]` |
|
| `tolerations` | Tolerations for pod assignment | `[]` |
|
||||||
| `affinity` | Affinity fod pod assignment | `{}` |
|
| `affinity` | Affinity fod pod assignment | `{}` |
|
||||||
|
|
||||||
|
|
||||||
|
### Appsmith namespace parameters
|
||||||
|
| Name | Description | Value |
|
||||||
|
| ----------------------------- | ----------------------------------------------------------------------------------------------------------- | ------- |
|
||||||
|
| `namespace.create` | Enable creation of `Namespace` | `true` |
|
||||||
|
|
||||||
### Appsmith service account parameters
|
### Appsmith service account parameters
|
||||||
| Name | Description | Value |
|
| Name | Description | Value |
|
||||||
| ----------------------------- | ----------------------------------------------------------------------------------------------------------- | ------- |
|
| ----------------------------- | ----------------------------------------------------------------------------------------------------------- | ------- |
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
|
{{- if .Values.namespace.create }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "appsmith.namespace" . }}
|
name: {{ include "appsmith.namespace" . }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,10 @@ image:
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "latest"
|
tag: "latest"
|
||||||
|
## Namespace
|
||||||
|
##
|
||||||
|
namespace:
|
||||||
|
create: true
|
||||||
## ServiceAccount
|
## ServiceAccount
|
||||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
|
||||||
##
|
##
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user