* Update ldap image in tests
The bitnami openldap image we had been using is no longer being support
by them. It has been moved over to a bitnamilegacy namespace, but it's
not clear how long that will remain. We should find a better solution at
some point.
* Update versions in Dockerfile
The dockerfile was built around python3.9 which forced the use of
ansible 2.15. This updates the base image to ubi10 which uses python3.12
by default. The version of the oc/kubectl client package was updated to
4.20 as well.
* Try and make it work
* Remove backslash
* debug
* try and force 3.12
* use ubi9
* debug
* try adding packaging
* debug
* Lots of changes
* Add check for none
* Fix python version
* Remove openshift inventory plugin
This removes the openshift inventory plugin which has been deprecated
since version 3.0.0. The tests have been updated to retain coverage of
the connection plugin, which is still supported.
* Update version in Makefile
* CI fixes
* Update version info in build scripts
* Set ansible remote directory
The security policy on the pod is preventing ansible from writing to /.
Set it to /tmp which should be writable.
* Update tests for newer version of openshift
More recent versions of ocp no longer automatically create tokens for
service accounts. This updates the tests to manually create the tokens.
* Update nginx template version
The old image was EOL and the deployment was failing to deploy.
* Fix nginx version for all tasks
* Add missing var
* Initialize OpenshiftGroupsSync attributes early
The fail_json() method calls close_connection(), but this can fail when
the python-ldap library is not installed as close_connection() gets
called before the __ldap_connection attribute has been defined.
* Use already defined virtualenv_command
* Fix tests
* Add changelog fragment
* Fix integration tests for k8s 2.3
Previous to
https://github.com/ansible-collections/kubernetes.core/pull/408 an
attempt to list resources for which the user was not authorized resulted
in an unhandled exception. The task now does not fail, but instead
reports the error message.
* try to fix sanity
* Fix tests
* fix tests
* fix tests
* Revert change to downstream build
* Enable turbo mode
This enables turbo mode (default is off) for the modules in this
collection that use the client from the kubernetes.core collection.
* Add changelog fragment
* Fix broken links for downstream collection
The links to the repo on Automation Hub are broken for the downstream
collection. This skips the replacement step for galaxy.yml.
* Add changelog fragment
* Update to work with k8s 2.0
This makes the necessary changes to get the collection working with
kubernetes.core 2.0. The biggest changes here will be switching from the
openshift client to the kubernetes client, and dropping Python 2
support.
* Install kubernetes not openshift
* Add changelog fragment
* Clean up CI build
There were a few problems with the existing build process, such as, the
python version not being passed during sanity tests and versions being
hard coded elsewhere. This change ensures that each test scenario gets
the correct parameters passed through. It also generally cleans up the
process for building the test environment to let ansible-galaxy do its
thing. This will make sure the correct version of dependencies get
installed.
* Add changelog fragment
* Update CI for ansible 2.11
This copies the ignore-2.11.txt to ignore-2.12.txt and makes sure the CI
build tests against ansible 2.11.
* Add changelog fragment
* Fix sanity failure
This fixes a sanity test failure for newer versions of ansible-test. It
was falsely flagging the key parameter for TLS configuration as
sensitive. This parameter is just the path to a key file.
* Restrict molecule version
This is needed to address a breaking change in molecule 3.3.0.
* Add changelog fragment
* Restrict kubernetes.core dependency version
In order to better coordinate releases between this collection and the
kubernetes.core collection we need to use a more restrictive dependency
version range.
* Add changelog fragment
* Fix doc string
The sanity tests fail due to missing default values on a few options in
the doc string. This change puts the doc string in alignment with the
argument spec.
* Fix case