From d52fd143736a9329c29aba104155dbea8b21c78b Mon Sep 17 00:00:00 2001 From: Steve Wilkerson Date: Wed, 28 Aug 2019 15:06:55 -0500 Subject: [PATCH] Use internal endpoint lookups for selenium helm tests This updates the grafana and nagios helm test pod templates to use the internal endpoints for their selenium tests instead of the public endpoints when defined Change-Id: I1138cb29a808894d3339bc1b07c3a60804b9546f Signed-off-by: Steve Wilkerson --- grafana/templates/pod-helm-tests.yaml | 2 +- nagios/templates/pod-helm-tests.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/grafana/templates/pod-helm-tests.yaml b/grafana/templates/pod-helm-tests.yaml index a1049311b..ff9801f7d 100644 --- a/grafana/templates/pod-helm-tests.yaml +++ b/grafana/templates/pod-helm-tests.yaml @@ -57,7 +57,7 @@ spec: name: grafana-admin-creds key: GRAFANA_ADMIN_PASSWORD - name: GRAFANA_URI - value: {{ tuple "grafana" "public" "grafana" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup" }} + value: {{ tuple "grafana" "internal" "grafana" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup" }} volumeMounts: - name: pod-tmp mountPath: /tmp diff --git a/nagios/templates/pod-helm-tests.yaml b/nagios/templates/pod-helm-tests.yaml index b2959514c..3f05e1494 100644 --- a/nagios/templates/pod-helm-tests.yaml +++ b/nagios/templates/pod-helm-tests.yaml @@ -58,7 +58,7 @@ spec: name: {{ $nagiosUserSecret }} key: NAGIOSADMIN_PASS - name: NAGIOS_URI - value: {{ tuple "nagios" "pubic" "http" . | include "helm-toolkit.endpoints.host_and_port_endpoint_uri_lookup" }} + value: {{ tuple "nagios" "internal" "http" . | include "helm-toolkit.endpoints.host_and_port_endpoint_uri_lookup" }} volumeMounts: - name: pod-tmp mountPath: /tmp