-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 configuring default namespace for kubectl/kustomize deployers #4374
Support configuring default namespace for kubectl/kustomize deployers #4374
Conversation
3f337c9
to
66c1fa8
Compare
Codecov Report
@@ Coverage Diff @@
## master #4374 +/- ##
==========================================
- Coverage 73.85% 73.83% -0.02%
==========================================
Files 347 347
Lines 13796 13867 +71
==========================================
+ Hits 10189 10239 +50
- Misses 2972 2984 +12
- Partials 635 644 +9
Continue to review full report at Codecov.
|
unfortunately the script to generate new config is currently broken. Once that gets fixed and applied you should be able rebase to fix the tests. We'll just have to wait until then, sorry. |
A new config version was created. Can you try to rebase on master. |
66c1fa8
to
ef09cfa
Compare
Hi @AndiDog , it looks like this hasn't been touched for a bit, so I think this PR will need to be rebased. If you fix the conflicts and @ me, I'll try to review this asap |
ef09cfa
to
4eaf8df
Compare
@MarlonGamez Rebased, and tests + new feature are working for me locally. Didn't run integration tests, so let's see what CI says. |
4eaf8df
to
f0be4d1
Compare
Hey again, we actually released v2beta7 last week, so I think you'll have to rebase again make the changes to v2beta8. Really sorry that this is turning out to be such a hassle :( |
f0be4d1
to
f7e7b94
Compare
@MarlonGamez Rebased again and recreated the JSON file. Hope it's building now. |
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.
Just did a final review to double check everything, and it looks good to me :) thanks again for being patient with the rebases and what not
Fixes: #3172
Related: n/a
Merge before/after: n/a
Description
Support configuring default namespace for kubectl/kustomize deployers. The Helm deployer luckily already had this (release namespace). In addition, all three deployers now allow templating for those fields, which makes sense e.g. for per-user environments with a namespace of
dev-{{.USER}}
.With this change, users don't explicitly have to specify
-n targetnamespace
all the time, and instead declaratively configure – maybe even per profile – which namespace the application should be deployed to. Command line argument / environment variable still take precedence, as expected in most Unix-like tools.