[AAI] Update Service definitions to support Ingress case
Fix the service definitions to automatically change NodePorts to
ClusterIPs in case of Ingress enabled
Issue-ID: OOM-3111
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: I27fbcc917190f1df3d39f1bfc789664bb55809a2
diff --git a/kubernetes/aai/values.yaml b/kubernetes/aai/values.yaml
index b023a8b..2c67da0 100644
--- a/kubernetes/aai/values.yaml
+++ b/kubernetes/aai/values.yaml
@@ -32,7 +32,6 @@
restartPolicy: Always
- aafEnabled: false
msbEnabled: false
centralizedLoggingEnabled: false
@@ -359,13 +358,9 @@
service:
type: NodePort
portName: http
- externalPort: 8443
- internalPort: 8443
+ externalPort: 80
+ internalPort: 8080
nodePort: 33
- externalPlainPort: 80
- internalPlainPort: 8080
- nodeport: 33
- aaiServiceClusterIp:
sessionAffinity: None
metricsService:
@@ -397,8 +392,7 @@
service:
- baseaddr: "aai-api"
name: "aai"
- port: 8443
- plain_port: 80
+ port: 80
config:
ssl: "redirect"