diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2024-04-03 06:30:34 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-04-03 06:30:34 +0000 |
commit | e19c074716bed2ad57ae4beb9cedae132c00efa9 (patch) | |
tree | 84cb4fb35fe53a9cd5dcdde3e0f9574c72ab4fdc /kubernetes | |
parent | f8146d85933c5eab5a8061f21dcfce9b6b6b93d5 (diff) | |
parent | 6c7011c1277716bfb839ac7dbd9278f84d607794 (diff) |
Merge "[PORTAL-NG] Ui is exposed on wrong port"
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/portal-ng/components/portal-ng-ui/templates/deployment.yaml | 4 | ||||
-rw-r--r-- | kubernetes/portal-ng/components/portal-ng-ui/values.yaml | 9 |
2 files changed, 6 insertions, 7 deletions
diff --git a/kubernetes/portal-ng/components/portal-ng-ui/templates/deployment.yaml b/kubernetes/portal-ng/components/portal-ng-ui/templates/deployment.yaml index 96f21f80e9..6a16384346 100644 --- a/kubernetes/portal-ng/components/portal-ng-ui/templates/deployment.yaml +++ b/kubernetes/portal-ng/components/portal-ng-ui/templates/deployment.yaml @@ -36,13 +36,13 @@ spec: livenessProbe: httpGet: path: / - port: http + port: {{ .Values.service.internalPort}} initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }} failureThreshold: {{ .Values.probes.liveness.failureThreshold }} readinessProbe: httpGet: path: / - port: http + port: {{ .Values.service.internalPort}} initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }} failureThreshold: {{ .Values.probes.readiness.failureThreshold }} volumeMounts: diff --git a/kubernetes/portal-ng/components/portal-ng-ui/values.yaml b/kubernetes/portal-ng/components/portal-ng-ui/values.yaml index c213bcf0b1..88e88f1a79 100644 --- a/kubernetes/portal-ng/components/portal-ng-ui/values.yaml +++ b/kubernetes/portal-ng/components/portal-ng-ui/values.yaml @@ -46,10 +46,11 @@ partOf: portal service: type: ClusterIP - port: 80 + internalPort: 8080 ports: - name: http port: 80 + port_protocol: http ingress: enabled: true @@ -84,12 +85,10 @@ affinity: {} env: BFF_URL: http://portal-ng-bff.onap.svc.cluster.local:9080 - NGINX_PORT: 80 + NGINX_PORT: 8080 KEYCLOAK_REALM: ONAP KEYCLOAK_INTERNAL_URL: http://keycloak-http.keycloak.svc.cluster.local -# CLUSTER_NAMESERVER_IP address is needed in the openresty lua part of the nginx, because Lua don't find the nameserver without this setting. -# The IP will be used in the nginx / Lua setting for the resolver. You can get this value from /etc/resolver - CLUSTER_NAMESERVER_IP: 169.254.25.10 + KEYCLOAK_HOSTNAME: https://keycloak-ui.simpledemo.onap.org #Pods Service Account serviceAccount: |