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" . }} ...@@ -58,7 +58,7 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }}
{{- end -}} {{- end -}}
{{- define "app.spring_cloud_config_administration_address" -}} {{- 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 -}} {{- end -}}
{{- define "app.baseUrl" -}} {{- define "app.baseUrl" -}}
......
...@@ -20,7 +20,7 @@ tests: ...@@ -20,7 +20,7 @@ tests:
path: spec.template.spec.containers[0].env path: spec.template.spec.containers[0].env
content: content:
name: ozgcloud_administration_address name: ozgcloud_administration_address
value: administration.sh-helm-test:8080 value: administration.sh-helm-test:8080/configserver
- it: should have set administration server address - it: should have set administration server address
set: set:
administrationName: custom_admin_name administrationName: custom_admin_name
...@@ -29,4 +29,4 @@ tests: ...@@ -29,4 +29,4 @@ tests:
path: spec.template.spec.containers[0].env path: spec.template.spec.containers[0].env
content: content:
name: ozgcloud_administration_address 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