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

Allow hostname (e.g., k8s pod name) to be used as the cookie value. #286

Merged
merged 1 commit into from
Jan 23, 2019

Conversation

brianloss
Copy link
Contributor

For my use case, it is useful to have the kubernetes pod name come through in the cookie value (it makes some debugging tasks easier). This pull request adds an annotation that allows the behavior of the dynamic cookie to be turned off if DNS server resolving isn't in use.
I also fixed some problems with log messages that the go 1.11 compiler warned me about.

@brianloss brianloss changed the base branch from release-0.7 to master January 21, 2019 15:24
@brianloss
Copy link
Contributor Author

Rebased to master, but would like this to go in the 0.7 release if that's possible.

Copy link
Owner

@jcmoraisjr jcmoraisjr left a comment

Choose a reason for hiding this comment

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

Hi, thanks again for supporting this controller. Following a few suggestions.

This PR is somewhat big and v0.7 is being stabilized. I cannot merge these changes, sorry. Otoh v0.8 will have a very little impact with new features if using with v0.7 controller - v0.8 has most of the controller rewritten from scratch and v0.7 implementation and updates will be available. About a month from now I hope to start v0.8 snapshots which will have a very stable v0.7 controller with your changes and almost nothing more. Hope this helps.

README.md Outdated Show resolved Hide resolved
rootfs/etc/haproxy/template/haproxy.tmpl Outdated Show resolved Hide resolved
rootfs/etc/haproxy/template/haproxy.tmpl Outdated Show resolved Hide resolved
@brianloss
Copy link
Contributor Author

Hi, thanks again for supporting this controller. Following a few suggestions.

This PR is somewhat big and v0.7 is being stabilized. I cannot merge these changes, sorry. Otoh v0.8 will have a very little impact with new features if using with v0.7 controller - v0.8 has most of the controller rewritten from scratch and v0.7 implementation and updates will be available. About a month from now I hope to start v0.8 snapshots which will have a very stable v0.7 controller with your changes and almost nothing more. Hope this helps.

That's a bummer, but if it's at least included in the next release, I can stop maintaining a fork eventually.

@jcmoraisjr
Copy link
Owner

Merging, thanks!

That's a bummer, but if it's at least included in the next release, I can stop maintaining a fork eventually.

I'm doing my best on behalf of stability. I need to draw the line somewhere otherwise we wouldn't have a stable release. What I'm planning to do from now is to release often, this should also help to see new code on stable images earlier.

@jcmoraisjr jcmoraisjr merged commit 6a53df1 into jcmoraisjr:master Jan 23, 2019
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