-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Switch Ansible test scaffold from k8s_facts to k8s_info module #2168
Copy link
Copy link
Closed
Labels
area/dependencyIssues or PRs related to dependency changesIssues or PRs related to dependency changeshelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.language/ansibleIssue is related to an Ansible operator projectIssue is related to an Ansible operator project
Metadata
Metadata
Assignees
Labels
area/dependencyIssues or PRs related to dependency changesIssues or PRs related to dependency changeshelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.language/ansibleIssue is related to an Ansible operator projectIssue is related to an Ansible operator project
Feature Request
Is your feature request related to a problem? Please describe.
When using the molecule test scaffold shipped with operator-sdk's Ansible option, playbook runs on Ansible 2.9 show a deprecation warning like the following:
Describe the solution you'd like
This is pretty easy to fix; we just need to change from using
k8s_factstok8s_info. I verified with a default test setup that this works identically and drops the deprecation warnings.