-
Notifications
You must be signed in to change notification settings - Fork 300
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
cdk8s synth pulls namespace from current context #2303
Comments
I believe this is how |
Maybe. But the very reason to use cdk8s is to forget the nightmare that Helm is. |
Not maybe, it is. You're not escaping anything. You're literally calling |
Whatever, doesn't really matter, the ask stands. |
I don't see this as an issue to be honest. We aren't trying to go against helm behavior by using the Specifying the |
Whether an issue is breaking or not should only influence when it's handled, not whether it's handled at all. I don't know in which situation would the same code generating different result be expected and desirable. |
True. I'm going to keep this open as a p2 to see what folks have to say. For contributors though: Please do not submit a PR for this before checking in with the team, since this is technically a breaking change |
Description of the bug:
When using a Helm chart, namespace for resources would be taken from current context in
~/.kube/config
.That is unexpected.
Reproduction Steps:
Easily worked around by explicitly setting
namespace = this.namespace
.But this is surprising behaviour, which will lead to generating different manifest from the same code on different machines.
Error Log:
Environment:
Other:
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: