Use release namespace in bbsim chart rather than namespace from values
Change-Id: I5934dcdec91b77f6b1398f26dd948d4c08efc57b
diff --git a/bbsim/templates/deployment.yaml b/bbsim/templates/deployment.yaml
index 99c4015..729e50c 100644
--- a/bbsim/templates/deployment.yaml
+++ b/bbsim/templates/deployment.yaml
@@ -17,7 +17,7 @@
kind: Deployment
metadata:
name: {{ template "bbsim.fullname" . }}
- namespace: {{ .Values.namespace }}
+ namespace: {{ .Release.Namespace }}
labels:
app: {{ template "bbsim.name" . }}
chart: {{ template "bbsim.chart" . }}
diff --git a/bbsim/templates/service.yaml b/bbsim/templates/service.yaml
index b27e169..6070ffb 100644
--- a/bbsim/templates/service.yaml
+++ b/bbsim/templates/service.yaml
@@ -17,7 +17,7 @@
kind: Service
metadata:
name: {{ template "bbsim.fullname" . }}
- namespace: {{ .Values.namespace }}
+ namespace: {{ .Release.Namespace }}
labels:
app: {{ template "bbsim.name" . }}
chart: {{ template "bbsim.chart" . }}