-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
📖clusterctl: more docs #2266
📖clusterctl: more docs #2266
Conversation
In former versions of clusterctl the pivot process was bounded with the creation of a temporary bootstrap cluster | ||
used to provision a target Management cluster. | ||
|
||
This can now achieved with the following procedure: |
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.
Maybe remove the section on the old clusterctl behaviour as far as this doc goes.
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.
@randomvariable I have changed the sentence so there is no more reference to old versions
@randomvariable thanks for the feedback! everything should be addressed now |
/lgtm |
ah, let me see if i have perms /approve |
4eec824
to
dcb625e
Compare
I'll take a look at this one. |
|
||
``` | ||
clusterctl config cluster my-cluster --kubernetes-version v1.16.3 \ | ||
--from ~/my-template.yaml > my-cluster.yaml |
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.
--from
is currently not a flag. Is there another PR adding this functionality in?
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.
😄 #2265
|
||
#### ConfigMaps | ||
|
||
Use the `--from-config-map` flag to read cluster templates stored in a Kubernetes ConfigMap; e.g. |
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.
--from-config-map
is currently not a supported flag. Is there another PR adding this functionality in?
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.
😄 #2265
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.
We should document the other flags --from-config-map-key
and --from-config-map-namespace
. I was testing this out and was about to open issues for those scenarios but then I saw the other flags in the help output. 😄
Other than documenting the availability of the flags |
@wfernandes done! |
/lgtm |
Reviewing |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini, randomvariable, vincepri The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
More clusterctl docs (also for things still in flight)
Which issue(s) this PR fixes
Rif #1729
/area clusterctl
/assign @ncdc
/assign @vincepri