From 7734c6ffd607dae3698183d37ca8548857be5ce5 Mon Sep 17 00:00:00 2001 From: Kyle Morton Date: Mon, 12 Dec 2022 11:15:26 -0600 Subject: [PATCH] feat: Expose services on a per-service basis Signed-off-by: Kyle Morton --- ...gex-app-external-mqtt-trigger-service.yaml | 2 +- .../edgex-app-http-export-service.yaml | 2 +- .../edgex-app-metrics-influxdb-service.yaml | 2 +- .../edgex-app-mqtt-export-service.yaml | 2 +- ...edgex-app-rfid-llrp-inventory-service.yaml | 2 +- .../edgex-app-sample-service.yaml | 2 +- .../edgex-app-rules-engine-service.yaml | 2 +- .../edgex-consul/edgex-consul-service.yaml | 2 +- .../edgex-core-command-service.yaml | 2 +- .../edgex-core-data-service.yaml | 2 +- .../edgex-device-bacnet-service.yaml | 2 +- .../edgex-device-gpio-service.yaml | 2 +- .../edgex-device-modbus-service.yaml | 2 +- .../edgex-device-mqtt-service.yaml | 2 +- .../edgex-device-onvif-camera-service.yaml | 2 +- .../edgex-device-rest-service.yaml | 2 +- .../edgex-device-rfid-llrp-service.yaml | 2 +- .../edgex-device-snmp-service.yaml | 2 +- .../edgex-device-usb-camera-service.yaml | 2 +- .../edgex-device-virtual-service.yaml | 2 +- .../edgex-ekuiper/edgex-ekuiper-service.yaml | 2 +- .../edgex-core-metadata-service.yaml | 2 +- .../edgex-modbus-simulator-service.yaml | 2 +- .../edgex-mqtt-broker-service.yaml | 2 +- .../edgex-nats-server-service.yaml | 2 +- .../edgex-redis/edgex-redis-service.yaml | 4 +- .../edgex-security-bootstrapper-service.yaml | 2 +- .../edgex-support-notifications-service.yaml | 2 +- .../edgex-support-scheduler-service.yaml | 2 +- .../edgex-sys-mgmt-agent-service.yaml | 2 +- .../templates/edgex-ui/edgex-ui-service.yaml | 2 +- .../edgex-vault/edgex-vault-service.yaml | 2 +- deployment/helm/values.yaml | 40 ++++++++++++++++++- 33 files changed, 70 insertions(+), 36 deletions(-) diff --git a/deployment/helm/templates/edgex-app-external-mqtt-trigger/edgex-app-external-mqtt-trigger-service.yaml b/deployment/helm/templates/edgex-app-external-mqtt-trigger/edgex-app-external-mqtt-trigger-service.yaml index fc3e2acd..3a36540c 100644 --- a/deployment/helm/templates/edgex-app-external-mqtt-trigger/edgex-app-external-mqtt-trigger-service.yaml +++ b/deployment/helm/templates/edgex-app-external-mqtt-trigger/edgex-app-external-mqtt-trigger-service.yaml @@ -14,4 +14,4 @@ spec: port: {{.Values.edgex.port.appservice.externalmqtttrigger}} selector: org.edgexfoundry.service: {{.Values.edgex.app.appservice.externalmqtttrigger}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.appservice.externalmqtttrigger}} diff --git a/deployment/helm/templates/edgex-app-http-export/edgex-app-http-export-service.yaml b/deployment/helm/templates/edgex-app-http-export/edgex-app-http-export-service.yaml index 7b6dbba7..56f90e68 100644 --- a/deployment/helm/templates/edgex-app-http-export/edgex-app-http-export-service.yaml +++ b/deployment/helm/templates/edgex-app-http-export/edgex-app-http-export-service.yaml @@ -14,5 +14,5 @@ spec: port: {{.Values.edgex.port.appservice.httpexport}} selector: org.edgexfoundry.service: {{.Values.edgex.app.appservice.httpexport}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.appservice.httpexport}} diff --git a/deployment/helm/templates/edgex-app-metrics-influxdb/edgex-app-metrics-influxdb-service.yaml b/deployment/helm/templates/edgex-app-metrics-influxdb/edgex-app-metrics-influxdb-service.yaml index 246bc5fd..108e94d7 100644 --- a/deployment/helm/templates/edgex-app-metrics-influxdb/edgex-app-metrics-influxdb-service.yaml +++ b/deployment/helm/templates/edgex-app-metrics-influxdb/edgex-app-metrics-influxdb-service.yaml @@ -14,4 +14,4 @@ spec: port: {{.Values.edgex.port.appservice.metricsinfluxdb}} selector: org.edgexfoundry.service: {{.Values.edgex.app.appservice.metricsinfluxdb}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.appservice.metricsinfluxdb}} diff --git a/deployment/helm/templates/edgex-app-mqtt-export/edgex-app-mqtt-export-service.yaml b/deployment/helm/templates/edgex-app-mqtt-export/edgex-app-mqtt-export-service.yaml index c5e158ff..9fb48196 100644 --- a/deployment/helm/templates/edgex-app-mqtt-export/edgex-app-mqtt-export-service.yaml +++ b/deployment/helm/templates/edgex-app-mqtt-export/edgex-app-mqtt-export-service.yaml @@ -14,4 +14,4 @@ spec: port: {{.Values.edgex.port.appservice.mqttexport}} selector: org.edgexfoundry.service: {{.Values.edgex.app.appservice.mqttexport}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.appservice.mqttexport}} diff --git a/deployment/helm/templates/edgex-app-rfid-llrp-inventory/edgex-app-rfid-llrp-inventory-service.yaml b/deployment/helm/templates/edgex-app-rfid-llrp-inventory/edgex-app-rfid-llrp-inventory-service.yaml index e0450e67..e0a67058 100644 --- a/deployment/helm/templates/edgex-app-rfid-llrp-inventory/edgex-app-rfid-llrp-inventory-service.yaml +++ b/deployment/helm/templates/edgex-app-rfid-llrp-inventory/edgex-app-rfid-llrp-inventory-service.yaml @@ -14,4 +14,4 @@ spec: port: {{.Values.edgex.port.appservice.rfidllrpinventory}} selector: org.edgexfoundry.service: {{.Values.edgex.app.appservice.rfidllrpinventory}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.appservice.rfidllrpinventory}} diff --git a/deployment/helm/templates/edgex-app-sample/edgex-app-sample-service.yaml b/deployment/helm/templates/edgex-app-sample/edgex-app-sample-service.yaml index e89d9bf8..5edde2da 100644 --- a/deployment/helm/templates/edgex-app-sample/edgex-app-sample-service.yaml +++ b/deployment/helm/templates/edgex-app-sample/edgex-app-sample-service.yaml @@ -14,4 +14,4 @@ spec: port: {{.Values.edgex.port.appservice.appsample}} selector: org.edgexfoundry.service: {{.Values.edgex.app.appservice.appsample}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.appservice.appsample}} diff --git a/deployment/helm/templates/edgex-appservice-rules/edgex-app-rules-engine-service.yaml b/deployment/helm/templates/edgex-appservice-rules/edgex-app-rules-engine-service.yaml index ce08c132..6af9b54b 100644 --- a/deployment/helm/templates/edgex-appservice-rules/edgex-app-rules-engine-service.yaml +++ b/deployment/helm/templates/edgex-appservice-rules/edgex-app-rules-engine-service.yaml @@ -14,4 +14,4 @@ spec: port: {{.Values.edgex.port.appservice.rules}} selector: org.edgexfoundry.service: {{.Values.edgex.app.appservice.rules}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.appservice.rules}} diff --git a/deployment/helm/templates/edgex-consul/edgex-consul-service.yaml b/deployment/helm/templates/edgex-consul/edgex-consul-service.yaml index b463c037..ead42402 100644 --- a/deployment/helm/templates/edgex-consul/edgex-consul-service.yaml +++ b/deployment/helm/templates/edgex-consul/edgex-consul-service.yaml @@ -18,4 +18,4 @@ spec: {{- end }} selector: org.edgexfoundry.service: {{.Values.edgex.app.consul}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.consul}} diff --git a/deployment/helm/templates/edgex-core-command/edgex-core-command-service.yaml b/deployment/helm/templates/edgex-core-command/edgex-core-command-service.yaml index 8a302472..211e0705 100644 --- a/deployment/helm/templates/edgex-core-command/edgex-core-command-service.yaml +++ b/deployment/helm/templates/edgex-core-command/edgex-core-command-service.yaml @@ -14,4 +14,4 @@ spec: port: {{.Values.edgex.port.core.command}} selector: org.edgexfoundry.service: {{.Values.edgex.app.core.command}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.core.command}} diff --git a/deployment/helm/templates/edgex-core-data/edgex-core-data-service.yaml b/deployment/helm/templates/edgex-core-data/edgex-core-data-service.yaml index c4293012..5ce5504a 100644 --- a/deployment/helm/templates/edgex-core-data/edgex-core-data-service.yaml +++ b/deployment/helm/templates/edgex-core-data/edgex-core-data-service.yaml @@ -14,4 +14,4 @@ spec: port: {{.Values.edgex.port.core.data}} selector: org.edgexfoundry.service: {{.Values.edgex.app.core.data}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.core.data}} diff --git a/deployment/helm/templates/edgex-device-bacnet/edgex-device-bacnet-service.yaml b/deployment/helm/templates/edgex-device-bacnet/edgex-device-bacnet-service.yaml index 0abcc02a..0e32694d 100644 --- a/deployment/helm/templates/edgex-device-bacnet/edgex-device-bacnet-service.yaml +++ b/deployment/helm/templates/edgex-device-bacnet/edgex-device-bacnet-service.yaml @@ -14,5 +14,5 @@ spec: port: {{.Values.edgex.port.device.bacnet}} selector: org.edgexfoundry.service: {{.Values.edgex.app.device.bacnet}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.device.bacnet}} diff --git a/deployment/helm/templates/edgex-device-gpio/edgex-device-gpio-service.yaml b/deployment/helm/templates/edgex-device-gpio/edgex-device-gpio-service.yaml index f1c151b8..fc1814b3 100644 --- a/deployment/helm/templates/edgex-device-gpio/edgex-device-gpio-service.yaml +++ b/deployment/helm/templates/edgex-device-gpio/edgex-device-gpio-service.yaml @@ -14,5 +14,5 @@ spec: port: {{.Values.edgex.port.device.gpio}} selector: org.edgexfoundry.service: {{.Values.edgex.app.device.gpio}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.device.gpio}} diff --git a/deployment/helm/templates/edgex-device-modbus/edgex-device-modbus-service.yaml b/deployment/helm/templates/edgex-device-modbus/edgex-device-modbus-service.yaml index 6fd8e7f5..d7703681 100644 --- a/deployment/helm/templates/edgex-device-modbus/edgex-device-modbus-service.yaml +++ b/deployment/helm/templates/edgex-device-modbus/edgex-device-modbus-service.yaml @@ -14,5 +14,5 @@ spec: port: {{.Values.edgex.port.device.modbus}} selector: org.edgexfoundry.service: {{.Values.edgex.app.device.modbus}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.device.modbus}} diff --git a/deployment/helm/templates/edgex-device-mqtt/edgex-device-mqtt-service.yaml b/deployment/helm/templates/edgex-device-mqtt/edgex-device-mqtt-service.yaml index 580b54b7..4fb73f11 100644 --- a/deployment/helm/templates/edgex-device-mqtt/edgex-device-mqtt-service.yaml +++ b/deployment/helm/templates/edgex-device-mqtt/edgex-device-mqtt-service.yaml @@ -14,5 +14,5 @@ spec: port: {{.Values.edgex.port.device.mqtt}} selector: org.edgexfoundry.service: {{.Values.edgex.app.device.mqtt}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.device.mqtt}} diff --git a/deployment/helm/templates/edgex-device-onvif-camera/edgex-device-onvif-camera-service.yaml b/deployment/helm/templates/edgex-device-onvif-camera/edgex-device-onvif-camera-service.yaml index 3e9cba58..bc95af5a 100644 --- a/deployment/helm/templates/edgex-device-onvif-camera/edgex-device-onvif-camera-service.yaml +++ b/deployment/helm/templates/edgex-device-onvif-camera/edgex-device-onvif-camera-service.yaml @@ -14,5 +14,5 @@ spec: port: {{.Values.edgex.port.device.onvifcamera}} selector: org.edgexfoundry.service: {{.Values.edgex.app.device.onvifcamera}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.device.onvifcamera}} diff --git a/deployment/helm/templates/edgex-device-rest/edgex-device-rest-service.yaml b/deployment/helm/templates/edgex-device-rest/edgex-device-rest-service.yaml index 7442d818..3d3b5771 100644 --- a/deployment/helm/templates/edgex-device-rest/edgex-device-rest-service.yaml +++ b/deployment/helm/templates/edgex-device-rest/edgex-device-rest-service.yaml @@ -14,4 +14,4 @@ spec: port: {{.Values.edgex.port.device.rest}} selector: org.edgexfoundry.service: {{.Values.edgex.app.device.rest}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.device.rest}} diff --git a/deployment/helm/templates/edgex-device-rfid-llrp/edgex-device-rfid-llrp-service.yaml b/deployment/helm/templates/edgex-device-rfid-llrp/edgex-device-rfid-llrp-service.yaml index 96e40bbe..a7ff4c95 100644 --- a/deployment/helm/templates/edgex-device-rfid-llrp/edgex-device-rfid-llrp-service.yaml +++ b/deployment/helm/templates/edgex-device-rfid-llrp/edgex-device-rfid-llrp-service.yaml @@ -14,5 +14,5 @@ spec: port: {{.Values.edgex.port.device.rfidllrp}} selector: org.edgexfoundry.service: {{.Values.edgex.app.device.rfidllrp}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.device.rfidllrp}} diff --git a/deployment/helm/templates/edgex-device-snmp/edgex-device-snmp-service.yaml b/deployment/helm/templates/edgex-device-snmp/edgex-device-snmp-service.yaml index 5fa4e9fe..7267b51c 100644 --- a/deployment/helm/templates/edgex-device-snmp/edgex-device-snmp-service.yaml +++ b/deployment/helm/templates/edgex-device-snmp/edgex-device-snmp-service.yaml @@ -14,5 +14,5 @@ spec: port: {{.Values.edgex.port.device.snmp}} selector: org.edgexfoundry.service: {{.Values.edgex.app.device.snmp}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.device.snmp}} diff --git a/deployment/helm/templates/edgex-device-usb-camera/edgex-device-usb-camera-service.yaml b/deployment/helm/templates/edgex-device-usb-camera/edgex-device-usb-camera-service.yaml index 42c8bfb4..419fb4e9 100644 --- a/deployment/helm/templates/edgex-device-usb-camera/edgex-device-usb-camera-service.yaml +++ b/deployment/helm/templates/edgex-device-usb-camera/edgex-device-usb-camera-service.yaml @@ -14,5 +14,5 @@ spec: port: {{.Values.edgex.port.device.onvifcamera}} selector: org.edgexfoundry.service: {{.Values.edgex.app.device.usbcamera}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.device.usbcamera}} diff --git a/deployment/helm/templates/edgex-device-virtual/edgex-device-virtual-service.yaml b/deployment/helm/templates/edgex-device-virtual/edgex-device-virtual-service.yaml index 42e794e6..6c3a751c 100644 --- a/deployment/helm/templates/edgex-device-virtual/edgex-device-virtual-service.yaml +++ b/deployment/helm/templates/edgex-device-virtual/edgex-device-virtual-service.yaml @@ -14,5 +14,5 @@ spec: port: {{.Values.edgex.port.device.virtual}} selector: org.edgexfoundry.service: {{.Values.edgex.app.device.virtual}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.device.virtual}} diff --git a/deployment/helm/templates/edgex-ekuiper/edgex-ekuiper-service.yaml b/deployment/helm/templates/edgex-ekuiper/edgex-ekuiper-service.yaml index 10611be4..d278e9a6 100644 --- a/deployment/helm/templates/edgex-ekuiper/edgex-ekuiper-service.yaml +++ b/deployment/helm/templates/edgex-ekuiper/edgex-ekuiper-service.yaml @@ -14,4 +14,4 @@ spec: port: {{.Values.edgex.port.ekuiper}} selector: org.edgexfoundry.service: {{.Values.edgex.app.ekuiper}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.ekuiper}} diff --git a/deployment/helm/templates/edgex-metadata/edgex-core-metadata-service.yaml b/deployment/helm/templates/edgex-metadata/edgex-core-metadata-service.yaml index ff84b72b..2cc91076 100644 --- a/deployment/helm/templates/edgex-metadata/edgex-core-metadata-service.yaml +++ b/deployment/helm/templates/edgex-metadata/edgex-core-metadata-service.yaml @@ -14,5 +14,5 @@ spec: port: {{.Values.edgex.port.core.metadata}} selector: org.edgexfoundry.service: {{.Values.edgex.app.core.metadata}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.core.metadata}} diff --git a/deployment/helm/templates/edgex-modbus-simulator/edgex-modbus-simulator-service.yaml b/deployment/helm/templates/edgex-modbus-simulator/edgex-modbus-simulator-service.yaml index b37f6507..12b6c853 100644 --- a/deployment/helm/templates/edgex-modbus-simulator/edgex-modbus-simulator-service.yaml +++ b/deployment/helm/templates/edgex-modbus-simulator/edgex-modbus-simulator-service.yaml @@ -14,5 +14,5 @@ spec: port: {{.Values.edgex.port.modbussimulator}} selector: org.edgexfoundry.service: {{.Values.edgex.app.modbussimulator}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.modbussimulator}} diff --git a/deployment/helm/templates/edgex-mqtt-broker/edgex-mqtt-broker-service.yaml b/deployment/helm/templates/edgex-mqtt-broker/edgex-mqtt-broker-service.yaml index f1f95ec0..2c2105e7 100644 --- a/deployment/helm/templates/edgex-mqtt-broker/edgex-mqtt-broker-service.yaml +++ b/deployment/helm/templates/edgex-mqtt-broker/edgex-mqtt-broker-service.yaml @@ -14,5 +14,5 @@ spec: port: {{.Values.edgex.port.mqttbroker}} selector: org.edgexfoundry.service: {{.Values.edgex.app.mqttbroker}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.mqttbroker}} diff --git a/deployment/helm/templates/edgex-nats-server/edgex-nats-server-service.yaml b/deployment/helm/templates/edgex-nats-server/edgex-nats-server-service.yaml index 8c80fe94..aa19f019 100644 --- a/deployment/helm/templates/edgex-nats-server/edgex-nats-server-service.yaml +++ b/deployment/helm/templates/edgex-nats-server/edgex-nats-server-service.yaml @@ -14,5 +14,5 @@ spec: port: {{.Values.edgex.port.natsserver}} selector: org.edgexfoundry.service: {{.Values.edgex.app.natsserver}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.natsserver}} diff --git a/deployment/helm/templates/edgex-redis/edgex-redis-service.yaml b/deployment/helm/templates/edgex-redis/edgex-redis-service.yaml index 9e97d621..42fe8075 100644 --- a/deployment/helm/templates/edgex-redis/edgex-redis-service.yaml +++ b/deployment/helm/templates/edgex-redis/edgex-redis-service.yaml @@ -14,6 +14,4 @@ spec: port: {{.Values.edgex.port.redis}} selector: org.edgexfoundry.service: {{.Values.edgex.app.redis}} - type: {{.Values.expose.type}} -status: - loadBalancer: {} \ No newline at end of file + type: {{.Values.expose.type.redis}} diff --git a/deployment/helm/templates/edgex-security-bootstrapper/edgex-security-bootstrapper-service.yaml b/deployment/helm/templates/edgex-security-bootstrapper/edgex-security-bootstrapper-service.yaml index 027c48bd..cf198a37 100644 --- a/deployment/helm/templates/edgex-security-bootstrapper/edgex-security-bootstrapper-service.yaml +++ b/deployment/helm/templates/edgex-security-bootstrapper/edgex-security-bootstrapper-service.yaml @@ -15,7 +15,7 @@ spec: port: {{ .Values.edgex.bootstrap.port.start }} selector: org.edgexfoundry.service: {{.Values.edgex.app.bootstrapper}} - type: ClusterIP + type: {{.Values.expose.type.bootstrapper}} # Do not allocate cluster IP - point DNS directly at the Pod IP - ignore targetPort's clusterIP: None {{- end}} diff --git a/deployment/helm/templates/edgex-support-notifications/edgex-support-notifications-service.yaml b/deployment/helm/templates/edgex-support-notifications/edgex-support-notifications-service.yaml index ee1ddd11..396de9c9 100644 --- a/deployment/helm/templates/edgex-support-notifications/edgex-support-notifications-service.yaml +++ b/deployment/helm/templates/edgex-support-notifications/edgex-support-notifications-service.yaml @@ -14,4 +14,4 @@ spec: port: {{.Values.edgex.port.support.notifications}} selector: org.edgexfoundry.service: {{.Values.edgex.app.support.notifications}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.support.notifications}} diff --git a/deployment/helm/templates/edgex-support-scheduler/edgex-support-scheduler-service.yaml b/deployment/helm/templates/edgex-support-scheduler/edgex-support-scheduler-service.yaml index 554d0652..293a14f4 100644 --- a/deployment/helm/templates/edgex-support-scheduler/edgex-support-scheduler-service.yaml +++ b/deployment/helm/templates/edgex-support-scheduler/edgex-support-scheduler-service.yaml @@ -14,4 +14,4 @@ spec: port: {{.Values.edgex.port.support.scheduler}} selector: org.edgexfoundry.service: {{.Values.edgex.app.support.scheduler}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.support.scheduler}} diff --git a/deployment/helm/templates/edgex-system/edgex-sys-mgmt-agent-service.yaml b/deployment/helm/templates/edgex-system/edgex-sys-mgmt-agent-service.yaml index 13890cdd..cfc7c603 100644 --- a/deployment/helm/templates/edgex-system/edgex-sys-mgmt-agent-service.yaml +++ b/deployment/helm/templates/edgex-system/edgex-sys-mgmt-agent-service.yaml @@ -14,4 +14,4 @@ spec: port: {{.Values.edgex.port.system}} selector: org.edgexfoundry.service: {{.Values.edgex.app.system}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.system}} diff --git a/deployment/helm/templates/edgex-ui/edgex-ui-service.yaml b/deployment/helm/templates/edgex-ui/edgex-ui-service.yaml index c12adf28..39515822 100644 --- a/deployment/helm/templates/edgex-ui/edgex-ui-service.yaml +++ b/deployment/helm/templates/edgex-ui/edgex-ui-service.yaml @@ -14,4 +14,4 @@ spec: port: {{.Values.edgex.port.ui}} selector: org.edgexfoundry.service: {{.Values.edgex.app.ui}} - type: {{.Values.expose.type}} + type: {{.Values.expose.type.ui}} diff --git a/deployment/helm/templates/edgex-vault/edgex-vault-service.yaml b/deployment/helm/templates/edgex-vault/edgex-vault-service.yaml index 65400530..d29f7bb5 100644 --- a/deployment/helm/templates/edgex-vault/edgex-vault-service.yaml +++ b/deployment/helm/templates/edgex-vault/edgex-vault-service.yaml @@ -15,5 +15,5 @@ spec: port: 8200 selector: org.edgexfoundry.service: {{.Values.edgex.app.vault}} - type: ClusterIP + type: {{.Values.expose.type.vault}} {{- end}} diff --git a/deployment/helm/values.yaml b/deployment/helm/values.yaml index 26dad572..991c384d 100644 --- a/deployment/helm/values.yaml +++ b/deployment/helm/values.yaml @@ -7,8 +7,44 @@ # Declare variables to be passed into your templates. expose: - # Option value: ClusterIP/NodePort/LoadBalancer - type: ClusterIP + type: + # Option value: ClusterIP/NodePort/LoadBalancer + core: + command: ClusterIP + data: ClusterIP + metadata: ClusterIP + support: + notifications: ClusterIP + scheduler: ClusterIP + appservice: + rules: ClusterIP + mqttexport: ClusterIP + httpexport: ClusterIP + appsample: ClusterIP + metricsinfluxdb: ClusterIP + rfidllrpinventory: ClusterIP + externalmqtttrigger: ClusterIP + device: + virtual: ClusterIP + rest: ClusterIP + usbcamera: ClusterIP + onvifcamera: ClusterIP + mqtt: ClusterIP + modbus: ClusterIP + bacnet: ClusterIP + snmp: ClusterIP + rfidllrp: ClusterIP + gpio: ClusterIP + ui: NodePort + system: ClusterIP + consul: NodePort + redis: ClusterIP + ekuiper: ClusterIP + modbussimulator: ClusterIP + mqttbroker: ClusterIP + natsserver: ClusterIP + bootstrapper: ClusterIP + vault: ClusterIP # edgex defines a set of configuration properties for application-level concerns edgex: