-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[buddy] fix(helm-chart): adjust to entrypoint within dockerfile #44607
Conversation
Signed-off-by: Fred Heinecke <fred.heinecke@goteleport.com>
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
Can we also add in the v16 changelog that we did a breaking change by renaming the binary? |
IMO this is not a breaking change as binary names in container images aren't considered an intentional part of our user-facing interface. |
We even broke our own chart. This is a breaking change as this will cause user's deployment to break and make the v15 chart not able to deploy a v16 handler. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many deployments rely on custom entrypoints and init scripts to obtain credentials for the plugin (mostly pre-machineID setups). I would rather revert the change or add a symlink as there was no need to break by renaming binaries in the container. This will generate support load.
Yes - but again, this is not intended as a public, customer-facing interface. This is equivocal to changing a variable name in our Teleport Go code and then claiming that it's a breaking customer change for customers when we miss a reference to it somewhere in our codebase. A customer could be building their own Teleport builds with their own patches that depend on this variable (just as they could be building their own helm charts/deployment manifests), and a change such as this would break their workflow, but that doesn't mean that we support it in the first place.
Will this cause deployments based on our Helm chart to break (outside of the bug that this PR fixes), or just custom deployment manifests that users' may be using?
What is the use case for this? AFAIK the auto updater doesn't support plugins, and we version our Helm charts with Teleport. Given that this is the first time we've heard of the issue in the month+ that it's been released, and that it makes our build process easier and simpler, I am not inclined to revert this change unless there is significant customer impact via a workflow that we support. |
Regardless of the intent; customers, and our own solution engineers are potentially invoking the binary by its name in their setups. This change is disruptive for all those setups and I don't understand what is the motivation to do a change which will generate support load in this case. IMO there is no benefit in breaking, and the fact it's not part of the official interface (an assertion I don't agree with, but this is another topic and not relevant here) is not a justification for creating toil and more work for users and our own support. |
Why? What is the use case? To be honest even with our Helm charts I don't understand why we're invoking it via
Quite literally every change to our repos which customers can see or use could affect customers in some way. The questions we should ask are:
To answer these questions for this change:
In summary, this change to an internal interface has a small impact on a very small number of customers, and it brings us a net positive gain. As such, I believe the benefits to the company as a whole outweigh the cost. |
@fheinecke See the table below for backport results.
|
Signed-off-by: Fred Heinecke fred.heinecke@goteleport.com
changelog: Fixed event-handler Helm charts using the wrong command when starting the event-handler container