You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@
19
19
20
20
### Changed
21
21
- Ansible scaffolding has been rewritten to be simpler and make use of newer features of Ansible and Molecule.
22
+
- The Kubernetes modules have migrated to the [Kubernetes Ansible collection](https://github.com/ansible-collections/kubernetes). All scaffolded code now references modules from this collection instead of Ansible Core. No immediate action is required for existing users of the modules from core, though it is recommended they switch to using the collection to continue to get non-critical bugfixes and features. The collection is now installed by default in the base image. ([#2646](https://github.com/operator-framework/operator-sdk/pull/2646))
22
23
- No longer generates the build/test-framework directory or molecule/test-cluster scenario
23
24
- Adds new `cluster` scenario that can be used to test against an existing cluster
24
25
- There is no longer any Ansible templating done in the `deploy/` directory, any templates used for testing will be located in `molecule/templates/` instead.
Copy file name to clipboardExpand all lines: doc/ansible/dev/apb_migration_guide.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,7 +155,7 @@ would become:
155
155
156
156
```yaml
157
157
- name: Create bind credential secret
158
-
k8s:
158
+
community.kubernetes.k8s:
159
159
definition:
160
160
apiVersion: v1
161
161
kind: Secret
@@ -171,7 +171,7 @@ would become:
171
171
DB_NAME: "{{ postgresql_database | b64encode }}"
172
172
173
173
- name: Attach secret to CR status
174
-
k8s_status:
174
+
operator_sdk.util.k8s_status:
175
175
api_version: apps.example.com/v1alpha1
176
176
kind: PostgreSQL
177
177
name: '{{ meta.name }}'
@@ -182,8 +182,8 @@ would become:
182
182
183
183
### ansible_kubernetes_modules
184
184
The `ansible_kubernetes_modules` role and the generated modules are now deprecated.
185
-
The `k8s` module was added in Ansible 2.6 and is the supported way to interact with Kubernetes from Ansible.
186
-
The `k8s` module takes normal kubernetes manifests, so if you currently rely on the old generated modules some refactoring will be required.
185
+
The `community.kubernetes` Ansible collection supports Ansible 2.9+ and is the supported way to interact with Kubernetes from Ansible.
186
+
The `community.kubernetes.k8s` module takes normal kubernetes manifests, so if you currently rely on the old generated modules some refactoring will be required.
0 commit comments