Run all components in one namespace
[oom.git] / kubernetes / robot / templates / all-services.yaml
index 2b80a29..604982b 100644 (file)
@@ -1,14 +1,16 @@
+#{{ if not .Values.disableRobotRobot }}
 apiVersion: v1
 kind: Service
 metadata:
   labels:
     app: robot
   name: robot
-  namespace: {{ .Values.NS }}
+  namespace: "{{ .Values.nsPrefix }}"
 spec:
   ports:
   - port: 88
-    nodePort: 30209
+    nodePort: {{ .Values.nodePortPrefix }}09
   selector:
     app: robot
   type: NodePort
+#{{ end }}
\ No newline at end of file