diff --git a/charts/fission-all/templates/deployment.yaml b/charts/fission-all/templates/deployment.yaml index 94e2de98..b8038011 100644 --- a/charts/fission-all/templates/deployment.yaml +++ b/charts/fission-all/templates/deployment.yaml @@ -1,4 +1,5 @@ --- +{{- if .Values.createNamespace }} apiVersion: v1 kind: Namespace metadata: @@ -21,7 +22,7 @@ metadata: {{- if .Values.enableIstio }} istio-injection: enabled {{- end }} - +{{- end }} --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/charts/fission-all/values.yaml b/charts/fission-all/values.yaml index 08e22d51..df896aba 100644 --- a/charts/fission-all/values.yaml +++ b/charts/fission-all/values.yaml @@ -33,6 +33,9 @@ routerPort: 31314 ## Port at which NATS streaming service should be exposed natsStreamingPort: 31316 +## Set to false if you create the namespaces manually +createNamespace: true + ## Namespace in which to run fission functions (this is different from ## the release namespace) functionNamespace: fission-function