-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Bump ansible collections community.kubernetes to kubernetes.core #5249
Bump ansible collections community.kubernetes to kubernetes.core #5249
Conversation
a1689cf
to
8f3dc51
Compare
@@ -50,7 +50,7 @@ _See [#4701](https://github.com/operator-framework/operator-sdk/pull/4701) for m | |||
|
|||
## (ansible/v1) Update Ansible collections | |||
|
|||
In your requirements.yml, change the `version` field for community.kubernetes to `1.2.1`, and the `version` field for `operator_sdk.util` to `0.2.0`. | |||
In your requirements.yml, change the `version` field for kubernetes.core to `1.2.1`, and the `version` field for `operator_sdk.util` to `0.2.0`. |
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.
Actually you can revert the changes to the previous migration/upgrade docs. Since they are historical they are correct.
@@ -1219,11 +1219,11 @@ By default the full Ansible logs will not be output, however, you can setup it v | |||
|
|||
**Migration to Ansible collections** | |||
|
|||
The core Ansible Kubernetes modules have been moved to the [`community.kubernetes` Ansible collection][kubernetes-ansible-collection]. Future development of the modules will occur there, with only critical bugfixes going into the modules in core. Additionally, the `operator_sdk.util` collection is no longer installed by default in the base image. Instead, users should add a `requirements.yml` to their project root, with the following content: | |||
The core Ansible Kubernetes modules have been moved to the [`kubernetes.core` Ansible collection][kubernetes-ansible-collection]. Future development of the modules will occur there, with only critical bugfixes going into the modules in core. Additionally, the `operator_sdk.util` collection is no longer installed by default in the base image. Instead, users should add a `requirements.yml` to their project root, with the following content: |
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 think this should be reverted too
c1bcd05
to
244b407
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.
One more docs change to revert, otherwise LGTM. I dont need to rereview after you make that change
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.
Need change log fragment with migration instructions (just adding new collection to requirement file)
0613bb6
to
9eec035
Compare
9eec035
to
cc108ba
Compare
ad90c54
to
2fe97cb
Compare
# the migration guide. This is required for breaking changes. | ||
migration: | ||
header: Update ansible collection ``community.kubernetes`` and the openshift Python version | ||
body: > |
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.
The body should be instructions for how to incorporate the changes to their operator, ie, what content to they need to add to which files to get the new behavior
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.
@fabianvf made those changes.
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.
@VenkatRamaraju you want to get real specific in the migration instructions, like exactly the content that needs to change in the exact files to bring them in line
2fe97cb
to
767139b
Compare
767139b
to
7e7d3da
Compare
78c5edd
to
6bb2c45
Compare
6bb2c45
to
f054826
Compare
Signed-off-by: Venkat Ramaraju <venky2063@gmail.com>
f054826
to
f99e3e7
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.
/lgtm
Signed-off-by: Venkat Ramaraju <venky2063@gmail.com> Signed-off-by: Ish Shah <ishah@redhat.com>
Description of the change:
Replaced instances of
community.kubernetes
withkubernetes.core
in scaffolding, tests, and docs.Left
community.kubernetes
inrequirements.go
.Motivation for the change:
Close #5227.