Skip to content

Commit 861f524

Browse files
authored
Update docs to remove deprecated references (#6478)
Signed-off-by: Catherine Chan-Tse <[email protected]>
1 parent b794fe9 commit 861f524

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

website/content/en/docs/building-operators/ansible/development-tips.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ sudo dnf install ansible
3131
```
3232

3333
In addition to Ansible, a user must install the
34-
[OpenShift Restclient Python][openshift-restclient-python] package:
34+
[Python Kubernetes Client][python-kubernetes-client] package:
3535

3636
```sh
37-
pip3 install openshift
37+
pip3 install kubernetes
3838
```
3939

4040
Finally, install the Kubernetes Collection from ansible-galaxy:
@@ -509,13 +509,12 @@ operator. The `ansible_operator_meta` fields can be accessed via dot notation in
509509
[ansible-runner-http-plugin]:https://github.com/ansible/ansible-runner-http
510510
[ansible-runner-tool]: https://ansible-runner.readthedocs.io/en/latest/install.html
511511
[k8s_ansible_module]:https://docs.ansible.com/ansible/2.6/modules/k8s_module.html
512-
[openshift_restclient_python]:https://github.com/openshift/openshift-restclient-python
513512
[tutorial]:../tutorial
514513
[kubernetes_collection]: https://galaxy.ansible.com/kubernetes/core
515514
[manage_status_proposal]:../../proposals/ansible-operator-status.md
516-
[openshift-restclient-python]: https://github.com/openshift/openshift-restclient-python
517515
[operator_sdk_util]: https://galaxy.ansible.com/operator_sdk/util
518516
[passing_extra_vars]: https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#passing-variables-on-the-command-line
517+
[python-kubernetes-client]: https://github.com/kubernetes-client/python
519518
[time_pkg]:https://golang.org/pkg/time/
520519
[time_parse_duration]:https://golang.org/pkg/time/#ParseDuration
521520
[watches]:/docs/building-operators/ansible/reference/watches

website/content/en/docs/building-operators/ansible/testing-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To begin, you should have:
1313
- Docker installed and running
1414
- [Molecule](https://github.com/ansible/molecule) >= v3.0
1515
- [Ansible](https://github.com/ansible/ansible) >= v2.9
16-
- [The OpenShift Python client](https://github.com/openshift/openshift-restclient-python) >= v0.8
16+
- [The Python Kubernetes client](https://github.com/kubernetes-client/python)
1717
- An initialized Ansible Operator project, with the molecule directory present.
1818

1919
**NOTE** If you initialized a project with a previous version of operator-sdk, you can generate a new dummy project and copy in the `molecule` directory. Just be sure to generate the dummy project with the same `api-version` and `kind`, or some of the generated files will not work without modification. Your top-level project structure should look like this:

0 commit comments

Comments
 (0)