v1.31.0
Updating an Ansible Operator to use the updated Ansible 2.15.0 image
- Update the
FROM
directive in theDockerfile
to have a version tag >v1.30.0
- Evaluate your dependency requirements. The change to Ansible 2.15.0 also included removal of some pre-installed Python modules. You may need to update your
Dockerfile
topip install
modules required by your operator.
See #6483 for more details.
Upgrading an Ansible Operator project to match the latest ansible/v1
plugin changes
- In the
requirements.yml
file:- Remove the
community.kubernetes
collection entry - Update the version of the
operator_sdk.util
collection entry tov0.5.0
- Remove the
- In the
molecule/kind/molecule.yml
andmolecule/default/molecule.yml
files:- Remove all instances of the
lint
field. For an example of the diff, see: https://github.com/operator-framework/operator-sdk/pull/6483/files#diff-f159b0d7ec17de90f5b5c297ce997254e6ea4001269167be25615c45c489539e
- Remove all instances of the
See #6483 for more details.
Migrating away from the quay.io/operator-framework/ansible-operator-2.11-preview
base image
- Update the
FROM
directive in theDockerfile
to use the base imagequay.io/operator-framework/ansible-operator:vX.Y.Z
wherevX.Y.Z
is >v1.30.0
See #6483 for more details.
Require watch
on secrets
The operator now requires the watch operation on secrets. When using a custom ServiceAccount for deployment, the following additional role is now required:
rules:
- apiGroups:
- ""
resources:
- secrets
verbs:
- watch
See #6354 for more details.
Last modified July 27, 2023: Release v1.31.0 (#6522) (e67da35e)