summaryrefslogtreecommitdiffstats
path: root/deployments/helm/servicemesh/istio-operator/templates/namespace.yaml
diff options
context:
space:
mode:
authorPramod <pramod.raghavendra.jayathirth@intel.com>2019-10-23 16:14:19 -0700
committerPramod <pramod.raghavendra.jayathirth@intel.com>2019-10-25 13:57:45 -0700
commitccbd9d767ad08455382e2cec91e0bfc4ed7ea942 (patch)
treece30f65b5cbf585f25cca57b9888e2378a8eb542 /deployments/helm/servicemesh/istio-operator/templates/namespace.yaml
parenteaa37b56ecb872c85e1ac1f7c5ca8398ae340f23 (diff)
Upgrade istio-operator
Issue-ID: AAF-1023 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: I863a06ee8f504febb822d02c054860065ad888b9
Diffstat (limited to 'deployments/helm/servicemesh/istio-operator/templates/namespace.yaml')
-rw-r--r--deployments/helm/servicemesh/istio-operator/templates/namespace.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/deployments/helm/servicemesh/istio-operator/templates/namespace.yaml b/deployments/helm/servicemesh/istio-operator/templates/namespace.yaml
new file mode 100644
index 00000000..daaf21d3
--- /dev/null
+++ b/deployments/helm/servicemesh/istio-operator/templates/namespace.yaml
@@ -0,0 +1,14 @@
+{{- if .Values.useNamespaceResource }}
+apiVersion: v1
+kind: Namespace
+metadata:
+ labels:
+ app: {{ include "istio-operator.name" . }}
+ app.kubernetes.io/name: {{ include "istio-operator.name" . }}
+ helm.sh/chart: {{ include "istio-operator.chart" . }}
+ app.kubernetes.io/managed-by: {{ .Release.Service }}
+ app.kubernetes.io/instance: {{ .Release.Name }}
+ app.kubernetes.io/version: "{{ .Chart.AppVersion | replace "+" "_" }}"
+ app.kubernetes.io/part-of: {{ include "istio-operator.name" . }}
+ name: {{ .Release.Namespace }}
+{{- end }}