Skip to content
Snippets Groups Projects
Commit ff3608da authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6499 fix admininstration address in deployment

parent a2d4e8b3
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }}
{{- end -}}
{{- define "app.spring_cloud_config_administration_address" -}}
{{ printf "%s.%s:8080" ( coalesce .Values.administrationName "administration" ) .Release.Namespace }}
{{ printf "%s.%s:8080/configserver" ( coalesce .Values.administrationName "administration" ) .Release.Namespace }}
{{- end -}}
{{- define "app.baseUrl" -}}
......
......@@ -20,7 +20,7 @@ tests:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_administration_address
value: administration.sh-helm-test:8080
value: administration.sh-helm-test:8080/configserver
- it: should have set administration server address
set:
administrationName: custom_admin_name
......@@ -29,4 +29,4 @@ tests:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_administration_address
value: custom_admin_name.sh-helm-test:8080
value: custom_admin_name.sh-helm-test:8080/configserver
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment