diff --git a/iofog/templates/control_plane.yml b/iofog/templates/control_plane.yml index 4277493..d910722 100644 --- a/iofog/templates/control_plane.yml +++ b/iofog/templates/control_plane.yml @@ -24,12 +24,12 @@ spec: portManager: {{ .Values.controlPlane.portManagerImage }} services: controller: - type: {{ .Values.controlPlane.serviceType }} + type: {{ .Values.controlPlane.controller.serviceType | default .Values.controlPlane.serviceType }} address: {{ .Values.controlPlane.loadBalancerIp | quote }} router: - type: {{ .Values.controlPlane.serviceType }} + type: {{ .Values.controlPlane.router.serviceType | default .Values.controlPlane.serviceType }} proxy: - type: {{ .Values.controlPlane.serviceType }} + type: {{ .Values.controlPlane.proxy.serviceType | default .Values.controlPlane.serviceType }} controller: pidBaseDir: {{ .Values.controlPlane.controller.pidBaseDir }} ecnViewerPort: {{ .Values.controlPlane.controller.ecnViewerPort }} diff --git a/iofog/values.yaml b/iofog/values.yaml index a9660e1..d8788be 100644 --- a/iofog/values.yaml +++ b/iofog/values.yaml @@ -27,6 +27,9 @@ controlPlane: loadBalancerIp: "" serviceType: "LoadBalancer" + router: {} + proxy: {} + operator: replicas: 1 image: "gcr.io/focal-freedom-236620/operator:develop"