summaryrefslogtreecommitdiffstats
path: root/templates/deployment.yaml
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 /templates/deployment.yaml
parent6e38b492acd3ec44a869055092399b6f18c659b8 (diff)
Add /etc/hosts
Issue-ID: PORTAL-782 Change-Id: I8f7abd28c357cf6525c3368f38035a45126bf2ae Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'templates/deployment.yaml')
-rw-r--r--templates/deployment.yaml12
1 files changed, 12 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 }}"