* Update tests for newer version of openshift (#254)
* 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
* Remove openshift inventory plugin (#252)
* 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.
* Bump the ansible-lint version to 25.1.2 (#255)
* Bump the ansible-lint version to 25.1.2
* Update changelogs/fragments/ansible-lint-update.yml
Co-authored-by: Bikouo Aubin <79859644+abikouo@users.noreply.github.com>
---------
Co-authored-by: Bikouo Aubin <79859644+abikouo@users.noreply.github.com>
* Add ansible-lint to tox linters (#258)
* Add ansible-lint to tox linters
* Bump black
* Black formatting
* fix linting
* prepare release 4.0.2 (#262) (#263)
(cherry picked from commit 55ccaf3394)
* Update k8s dependency upper bounds (#257)
---------
Co-authored-by: Mike Graves <mgraves@redhat.com>
Co-authored-by: GomathiselviS <gomathiselvi@gmail.com>
Co-authored-by: Bikouo Aubin <79859644+abikouo@users.noreply.github.com>
Co-authored-by: Bianca Henderson <beeankha@gmail.com>
* fix ocp auth adding / to oauth discovery url
* fix space after comma
* add changelog fragment
* Convert line endings
Co-authored-by: Mike Graves <mgraves@redhat.com>
* 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
* doc fragments workaround for downstream
Signed-off-by: Adam Miller <admiller@redhat.com>
* make shellcheck happy
Signed-off-by: Adam Miller <admiller@redhat.com>
* fix collection location for downstream doc fragment resolution
Signed-off-by: Adam Miller <admiller@redhat.com>
* do things in the correct order
Signed-off-by: Adam Miller <admiller@redhat.com>
* add ANSIBLE_COLLECTIONS_PATH to ansible-doc for downstream
Signed-off-by: Adam Miller <admiller@redhat.com>
* remove elements of the json dump that aren't valid for DOCUMENTATION
Signed-off-by: Adam Miller <admiller@redhat.com>
* Add fix for Ansible 2.9
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Update ci/downstream.sh
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Jeff Geerling <geerlingguy@mac.com>
* Add openshift_auth module
* add task to print out config
* Attempt to configure auth
* Update molecule/default/tasks/openshift_auth.yml
* fix sanity test and use incluster address for now
* Get integration tests passing locally
* Give test user cluster-level admin permissions
* Use a less verbose resource for testing
* Add alias to k8s_auth for backwards compatibility