Skip to content

Commit a72a4cc

Browse files
authored
Merge pull request #23472 from sheriff-rh/osdocs-2055v2
osdocs-1055 additional changes
2 parents 6cf3c5d + 70f073d commit a72a4cc

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

modules/osdk-ansible-k8s-module-installing.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ link:https://github.com/openshift/openshift-restclient-python[OpenShift python c
2020
package using `pip`:
2121
+
2222
----
23-
$ pip install openshift
23+
$ sudo pip install openshift
24+
$ sudo pip install kubernetes
2425
----

modules/osdk-ansible-k8s-module-testing-locally.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@ local machine as opposed to running and rebuilding the Operator each time.
1010

1111
.Procedure
1212

13+
. Install the `community.kubernetes` collection:
14+
15+
----
16+
$ ansible-galaxy collection install community.kubernetes
17+
----
18+
1319
. Initialize a new Ansible-based Operator project:
1420
+
1521
----
16-
$ operator-sdk new --type ansible --kind foo --api-version foo.example.com/v1alpha1 foo-operator
22+
$ operator-sdk new --type ansible --kind Foo --api-version foo.example.com/v1alpha1 foo-operator
1723
Create foo-operator/tmp/init/galaxy-init.sh
1824
Create foo-operator/tmp/build/Dockerfile
1925
Create foo-operator/tmp/build/test-framework/Dockerfile

0 commit comments

Comments
 (0)