summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-12-11 14:16:20 -0500
committerBrian Freeman <bf1936@att.com>2019-12-11 14:16:28 -0500
commita7e566c2c15914ad409ab4135891c0c092c300f0 (patch)
tree90f3ab70720c12c368d4e4eec06ecdc2798401a6
parent6e38b492acd3ec44a869055092399b6f18c659b8 (diff)
Add /etc/hosts
Issue-ID: PORTAL-782 Change-Id: I8f7abd28c357cf6525c3368f38035a45126bf2ae Signed-off-by: Brian Freeman <bf1936@att.com>
-rw-r--r--templates/deployment.yaml12
-rw-r--r--values.yaml3
2 files changed, 15 insertions, 0 deletions
diff --git a/templates/deployment.yaml b/templates/deployment.yaml
index 7b0c140..e582119 100644
--- a/templates/deployment.yaml
+++ b/templates/deployment.yaml
@@ -30,6 +30,18 @@ spec:
app: {{ include "common.name" . }}
release: {{ .Release.Name }}
spec:
+ hostAliases:
+ - ip: {{ .Values.kubernetesExternalIp }}
+ hostnames:
+ - "portal.api.simpledemo.onap.org"
+ - "vid.api.simpledemo.onap.org"
+ - "sdc.api.fe.simpledemo.onap.org"
+ - "portal-sdk.simpledemo.onap.org"
+ - "policy.api.simpledemo.onap.org"
+ - "aai.api.sparky.simpledemo.onap.org"
+ - "aai.ui.simpledemo.onap.org"
+ - "cli.api.simpledemo.onap.org"
+ - "so-monitoring"
containers:
- name: {{ include "common.name" . }}
image: "{{ include "common.repository" . }}/{{ .Values.image }}"
diff --git a/values.yaml b/values.yaml
index 3696057..643ff13 100644
--- a/values.yaml
+++ b/values.yaml
@@ -124,6 +124,9 @@ vnfPubKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgw
vnfPrivateKey: "onap_dev.yaml"
# Override with DCAE VES Collector external IP
dcaeCollectorIp: "FILL_IN_WITH_DCAE_VES_COLLECTOR_IP"
+# kubernetes external IP for Portal GUI tests
+kubernetesExternalIp: "10.0.0.14"
+
# Credentials for ONAP Component
# AAF