Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for non empty MAGE_BASE_PATH #25

Merged

Conversation

adelcast
Copy link
Contributor

Summary

Helm test is currently failing when MAGE_BASE_PATH is used. Fix helm charts to include it in the route, if defined

Tests

Manually tested with/without MAGE_BASE_PATH defined

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
@@ -11,5 +11,5 @@ spec:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "mageai.fullname" . }}:{{ .Values.service.port }}']
args: ['{{ include "mageai.fullname" . }}:{{ .Values.service.port }}{{ include "mageai.basePath" . }}']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to add a / between port and basePath

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @wangxiaoyou1993 I am adding it as part of the mageai.basePath definition on _helpers.tpl

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it.

@wangxiaoyou1993
Copy link
Member

cc: @dy46

@wangxiaoyou1993 wangxiaoyou1993 merged commit e9a18ec into mage-ai:master Oct 25, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants