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

Modify che url #16670

Closed
svkr2k opened this issue Apr 20, 2020 · 3 comments
Closed

Modify che url #16670

svkr2k opened this issue Apr 20, 2020 · 3 comments
Labels
area/chectl Issues related to chectl, the CLI of Che kind/question Questions that haven't been identified as being feature requests or bugs.
Milestone

Comments

@svkr2k
Copy link

svkr2k commented Apr 20, 2020

Hi all, currently the url to open che needs to be like https://che-che.mydomain.com.
Instead of the above url, if I would like the url to be like https://myapp.mydomain.com, what is the best way to accomplish this?

Please note that serverStrategy = "multi-host".

Pls refer to the file deploy/kubernetes/helm/che/templates/_hostHelper.tpl.

Can the following line in the template be customized to achieve that ? :
{{- printf "che-%s.%s" .Release.Namespace .Values.global.ingressDomain }}

Changing the above line to:
{{- printf "helloWorld.%s" .Values.global.ingressDomain }} ? will it work ?

Do we have any (security or networking or cluster or any other) issues if we change it like shown above?

Thanks in advance for your help.

@svkr2k svkr2k added the kind/question Questions that haven't been identified as being feature requests or bugs. label Apr 20, 2020
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Apr 20, 2020
@ericwill ericwill added area/chectl Issues related to chectl, the CLI of Che and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Apr 20, 2020
@svkr2k
Copy link
Author

svkr2k commented Apr 24, 2020

In file deploy/kubernetes/helm/che/templates/_hostHelper.tpl changing host template to {{- printf "helloWorld.%s" .Values.global.ingressDomain }} seems to work fine.
Are there any known issues (either technical or license)? Has anyone tried this ?

@sleshchenko
Copy link
Member

In file deploy/kubernetes/helm/che/templates/_hostHelper.tpl changing host template to {{- printf "helloWorld.%s" .Values.global.ingressDomain }} seems to work fine.
Are there any known issues (either technical or license)? Has anyone tried this ?

the only technical issue I have in mind - you're not able to deploy multiple Che instances on that cluster, but I believe it's not critical for you at all. So, feel free to use it if it works for you fine.

@tolusha
Copy link
Contributor

tolusha commented Aug 4, 2020

@tolusha tolusha closed this as completed Aug 4, 2020
@tolusha tolusha added this to the 7.17 milestone Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chectl Issues related to chectl, the CLI of Che kind/question Questions that haven't been identified as being feature requests or bugs.
Projects
None yet
Development

No branches or pull requests

5 participants