-
Notifications
You must be signed in to change notification settings - Fork 22
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
Support changing paths on the ingress #52
Conversation
Whoops, I saw this after I had already merged the other fix. But I think I actually prefer this solution over the current option. |
This introduces a breaking change, if that is not preferred I have another branch with the same change in a non-breaking fashion.
7df445e
to
3c667dc
Compare
You're good! I hadn't actually opened a PR for the alternative, it was just a branch in my fork. I've rebased to fix the merge conflict in the README! |
I kind of want to merge this as is. But I keep thinking about backwards compatibility. A quick way to fix that would be to do a check in the template whether it's a string or array. Honestly, I don't know if it's worth the effort though. |
I learned about You're right, it probably wasn't worth the effort but I think it turned out pretty ok 😄 |
Looks good. Thanks! |
I noticed this results in the deployment template setting ADVERTISE_IP to a map[] value rather than the actual FQDNs:
Is that okay or should the deployment.yaml template be fixed? |
That's probably not right, but I'm not 100% sure. I'll take a look. Sorry if I introduced a bug! |
Yep, I broke it. Working on a fix! |
Oh right, the advertise ip gets adjusted based on the ingress address too. To be fair, the whole block could be simplified quite a bit as it's doing the same thing in 2 blocks. kube-plex/charts/kube-plex/templates/deployment.yaml Lines 141 to 155 in 561cbec
|
Moves ADVERTISE_IP logic to a helper function Fixes the regression from ressu#52
This introduces a breaking change, if that is not preferred I have another branch with the same change in a non-breaking fashion.
Sorry for the PR spam 😅 I was happy to find a maintained chart for this