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 multiple port for expose services #173

Closed
titigmr opened this issue Nov 12, 2024 · 3 comments
Closed

Add multiple port for expose services #173

titigmr opened this issue Nov 12, 2024 · 3 comments

Comments

@titigmr
Copy link
Contributor

titigmr commented Nov 12, 2024

Hello, it's possible to expose multiple port when we launch a service?

It could be great instead of choosing one port:
image

Add multiple ports with a list, like extraEnvVars section:
image

And for exemple each ingresses are accessibles with:
https://<user-release>-<port-number>.user.lab.sspcloud.fr/

@Gaspi
Copy link
Contributor

Gaspi commented Nov 12, 2024

Hello @titigmr, thanks a lot for the excellent suggestion.
As you can see, I have started working on implementing this and it should be available shortly.

The legacy value networking.user.port will continue to be usable but it is now overridden by the array networking.user.ports when provided.

@titigmr
Copy link
Contributor Author

titigmr commented Nov 13, 2024

Nice! Do you want help for this feature?

@Gaspi
Copy link
Contributor

Gaspi commented Nov 13, 2024

I should be fine but I will make sure to properly tag all commits related to this issue. Any feedback or recommandation are most welcome.

Gaspi added a commit that referenced this issue Nov 13, 2024
Gaspi added a commit that referenced this issue Nov 26, 2024
* #173 Using library-chart multiple ports exposition mechanism in all interactive services

* default value and uniqueness of networking.user.ports value and more precise condition in NOTES

* Fixing spacing in NOTES
@Gaspi Gaspi closed this as completed Nov 26, 2024
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

No branches or pull requests

2 participants