-
Notifications
You must be signed in to change notification settings - Fork 54
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
cli: common backend for init
and upgrade apply
commands
#2449
Conversation
6171376
to
af1c5dd
Compare
d4c0e19
to
fd19bc9
Compare
af1c5dd
to
66fb592
Compare
fd19bc9
to
d1a59c4
Compare
66fb592
to
d1dac11
Compare
917b5d0
to
18f8e9b
Compare
d1dac11
to
40a97cc
Compare
4ab82c4
to
ad661fd
Compare
40a97cc
to
a14a01c
Compare
ad661fd
to
c1925ba
Compare
a14a01c
to
657ee01
Compare
c1925ba
to
2d77f54
Compare
657ee01
to
e5bf0ae
Compare
2d77f54
to
22a4441
Compare
22a4441
to
d4467d3
Compare
✅ Deploy Preview for constellation-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
I'm not that familiar with the CLI logic anymore but from my understanding, this looks very good.
great work! lgtm. We should run |
Already done, see PR description for links |
7f42631
to
c522607
Compare
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.
Sorry, I am not getting around to reviewing this more in depth. I think others already did so. Looks great on first sight.
Signed-off-by: Daniel Weiße <[email protected]>
Signed-off-by: Daniel Weiße <[email protected]>
Signed-off-by: Daniel Weiße <[email protected]>
Signed-off-by: Moritz Sanft <[email protected]>
Signed-off-by: Daniel Weiße <[email protected]>
Signed-off-by: Daniel Weiße <[email protected]>
Signed-off-by: Daniel Weiße <[email protected]>
Signed-off-by: Daniel Weiße <[email protected]>
Signed-off-by: Daniel Weiße <[email protected]>
c522607
to
b082669
Compare
Coverage report
|
Context
Our CLI commands
constellation init
andconstellation upgrade apply
share a lot of code.Additionally, we would like to eventually deprecate both commands in favor of a single
constellation apply
command.To reduce code duplication and allow for a single command, this PR aims to provide a single backend for both commands.
This backend should take care of initializing the cluster and/or applying upgrades.
Proposed change(s)
apply
backend that handles the logic for bothconstellation init
andconstellation upgrade apply
ExtendClusterConfigCertSANs
that would add an empty string to the clusters apiserver SANs fieldAdditional info
TODO
Checklist