-
Notifications
You must be signed in to change notification settings - Fork 1.4k
🌱 Update examples & code snippets in Cluster API book to v1beta2 for Cluster #12483
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
base: main
Are you sure you want to change the base?
Conversation
This PR is currently missing an area label, which is used to identify the modified component when generating release notes. Area labels can be added by org members by writing Please see the labels list for possible areas. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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 change the L.231 URL in the future. Should I open the issue to follow up ?
f81123a
to
257c9a2
Compare
@@ -149,7 +149,7 @@ spec: | |||
pods: | |||
cidrBlocks: ["192.168.0.0/16"] | |||
infrastructureRef: | |||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 | |||
apiGroup: infrastructure.cluster.x-k8s.io/v1beta2 |
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.
apiGroup: infrastructure.cluster.x-k8s.io/v1beta2 | |
apiGroup: infrastructure.cluster.x-k8s.io |
Please check if there are other similar cases
257c9a2
to
7631149
Compare
Signed-off-by: sivchari <shibuuuu5@gmail.com>
7631149
to
e4054dc
Compare
@@ -123,7 +123,7 @@ Add the following content to the `namereference.yaml` transformer configuration: | |||
```yaml | |||
- kind: Cluster | |||
group: cluster.x-k8s.io | |||
version: v1alpha3 |
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.
Wow, this was really old! Nice catch!
@@ -92,7 +92,7 @@ a target [management cluster] on the selected [infrastructure provider]. | |||
```bash | |||
cat > kind-cluster-with-extramounts.yaml <<EOF | |||
kind: Cluster | |||
apiVersion: kind.x-k8s.io/v1alpha4 | |||
apiVersion: kind.x-k8s.io/v1beta2 |
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.
kind.x-k8s.io/v1alpha4 should not be bumped (it is still the current API version for kind 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.
Same below
@@ -17,18 +17,18 @@ infrastructure object. | |||
|
|||
```yaml | |||
kind: DockerCluster | |||
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 | |||
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2 |
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.
This is docker cluster; are you planning a follow up PR taking care of all the other occurrences of DockerCluster/DockerClusterTemplate?
FYI, I also found a few examples of Clusters objects that are still using |
Part of #12448
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #