Change ranger-agent test to use internal endpoint
This changes the ranger-agent helm test to use the internal ranger-agent endpoint rather than the public endpoint. This is so that the test can run successfully in a virtualized CI environment in which the public endpoint may not be a valid, resolvable value. Change-Id: I88e1a875a49b8fda13576043ea85fe7125d496ff
This commit is contained in:
parent
29bb0ada2d
commit
22b82e7712
|
@ -43,7 +43,7 @@ spec:
|
||||||
image: {{ .Values.images.tags.scripted_test }}
|
image: {{ .Values.images.tags.scripted_test }}
|
||||||
env:
|
env:
|
||||||
- name: RANGER_SERVICE_URL
|
- name: RANGER_SERVICE_URL
|
||||||
value: {{ tuple "ranger_agent" "public" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup" }}
|
value: {{ tuple "ranger_agent" "internal" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup" }}
|
||||||
command:
|
command:
|
||||||
- /tmp/ranger-agent-test.sh
|
- /tmp/ranger-agent-test.sh
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|
Loading…
Reference in New Issue