Configurable namespace creation (#855)

Configurable namespace creation defaulting to true (backward compatible)
This commit is contained in:
Michael Gaida
2018-09-25 13:49:08 +05:30
committed by Vishal
parent 188138ccd8
commit 437d4dc04d
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
--- ---
{{- if .Values.createNamespace }}
apiVersion: v1 apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
@@ -21,7 +22,7 @@ metadata:
{{- if .Values.enableIstio }} {{- if .Values.enableIstio }}
istio-injection: enabled istio-injection: enabled
{{- end }} {{- end }}
{{- end }}
--- ---
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole kind: ClusterRole
+3
View File
@@ -33,6 +33,9 @@ routerPort: 31314
## Port at which NATS streaming service should be exposed ## Port at which NATS streaming service should be exposed
natsStreamingPort: 31316 natsStreamingPort: 31316
## Set to false if you create the namespaces manually
createNamespace: true
## Namespace in which to run fission functions (this is different from ## Namespace in which to run fission functions (this is different from
## the release namespace) ## the release namespace)
functionNamespace: fission-function functionNamespace: fission-function