aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/mock
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/mock')
-rw-r--r--kubernetes/mock/templates/all-services.yaml2
-rw-r--r--kubernetes/mock/templates/sniroemulator-deployment.yaml2
2 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/mock/templates/all-services.yaml b/kubernetes/mock/templates/all-services.yaml
index 8920191ac3..a1b0f170de 100644
--- a/kubernetes/mock/templates/all-services.yaml
+++ b/kubernetes/mock/templates/all-services.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableMockSniroEmulator }}
apiVersion: v1
kind: Service
metadata:
@@ -15,3 +16,4 @@ spec:
name: http
selector:
app: sniro-emulator
+#{{ end }} \ No newline at end of file
diff --git a/kubernetes/mock/templates/sniroemulator-deployment.yaml b/kubernetes/mock/templates/sniroemulator-deployment.yaml
index a0473c95f4..5a1d483ae1 100644
--- a/kubernetes/mock/templates/sniroemulator-deployment.yaml
+++ b/kubernetes/mock/templates/sniroemulator-deployment.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableMockSniroEmulator }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
@@ -23,3 +24,4 @@ spec:
args: ["--verbose"]
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }} \ No newline at end of file