-
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
Design proposal for configurable kubecontext #2384
Design proposal for configurable kubecontext #2384
Conversation
Signed-off-by: Cornelius Weig <[email protected]>
Signed-off-by: Cornelius Weig <[email protected]>
Signed-off-by: Cornelius Weig <[email protected]>
<td>3.</td> | ||
<td><code>skaffold.yaml</code></td> | ||
<td> | ||
Json-path <code>deploy.kubeContext</code>. |
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.
Json-path <code>deploy.kubeContext</code>. | |
Json-path <code>[profile.]deploy.kubeContext</code>. |
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.
My current feeling is that we should have the option also in the main pipeline. Although this may not be the recommended way to use this feature, I have a hunch that this will be requested nevertheless.
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.
agreed, [profile.]
meant to signify main pipeline or optionally in a profile...maybe there is a better way to express that :)
Signed-off-by: Cornelius Weig <[email protected]>
Signed-off-by: Cornelius Weig <[email protected]>
Signed-off-by: Cornelius Weig <[email protected]>
Signed-off-by: Cornelius Weig <[email protected]>
Include error detection for profile activation with kubecontext override. Declare namespace-related configs as out-of-scope. Split global config cases. Signed-off-by: Cornelius Weig <[email protected]>
Signed-off-by: Cornelius Weig <[email protected]>
75e2023
to
c6096fe
Compare
@balopat I have included the latest design decisions into this document. From my side, it's ready to be merged now. |
@balopat This looks good to me 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.
huge thanks @corneliusweig for all your hard work on this!
This is a design proposal for making the kubecontext configurable. The goal here is to lay out different options with their tradeoffs and come to an agreement what is the best way to proceed. I may have missed better alternatives, so if you find better ones, please leave a comment.
I deliberately only present different options, so that the discussion starts unbiased.