-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Use k8s_info module instead of deprecated k8s_facts in molecule scaffold (#2168) #2203
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
Use k8s_info module instead of deprecated k8s_facts in molecule scaffold (#2168) #2203
Conversation
Do you mind making sure that the various Dockerfiles (in |
@fabianvf - ah, completely forgot about that. Bumped minimum to 2.9 instead of 2.8, and I think I covered the only three places that's required. |
/lgtm |
@geerlingguy: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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/test-infra repository. I understand the commands that are listed here. |
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 /approved
Thank you for your contribution 🥇
CHANGELOG.md
Outdated
@@ -5,6 +5,7 @@ | |||
|
|||
### Changed | |||
- Upgrade minimal Ansible version in the init projects from `2.4` to `2.6`. ([#2107](https://github.com/operator-framework/operator-sdk/pull/2107)) | |||
- Use `k8s_info` module instead of deprecated `k8s_facts` module in molecule test scaffold. ([#2168](https://github.com/operator-framework/operator-sdk/issues/2168)) |
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.
Just a nit after the is OK to be merged 👍
- Use `k8s_info` module instead of deprecated `k8s_facts` module in molecule test scaffold. ([#2168](https://github.com/operator-framework/operator-sdk/issues/2168)) | |
- Replace in the ansible based operators module tests the `k8s_facts` for `k8s_info` which is deprecated. ([#2168](https://github.com/operator-framework/operator-sdk/issues/2168)) | |
- Upgrade the ansible version from `2.8` to `2.9` on the ansible based operators image. ([#2168](https://github.com/operator-framework/operator-sdk/issues/2168)) |
@camilamacedo86 - Made those changes, thanks for pointing out the missing Changelog entry too! |
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
New changes are detected. LGTM label has been removed. |
Rebased due to CHANGELOG conflicts, as well as some conflicts due to adding |
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 fix issue caused by rebasing with master.
@camilamacedo86 - Yikes, don't know how that made it through! I have fixed it, sorry about that. |
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 /approved
Description of the change:
Replaces uses of the deprecated
k8s_facts
module withk8s_info
, which is the standard module for k8s information lookups in Ansible 2.9+.Motivation for the change:
Closes #2168