diff --git a/changelogs/fragments/77-fix-ci-failure.yaml b/changelogs/fragments/77-fix-ci-failure.yaml new file mode 100644 index 0000000..27c7fea --- /dev/null +++ b/changelogs/fragments/77-fix-ci-failure.yaml @@ -0,0 +1,3 @@ +bugfixes: + - restrict molecule version to <3.3.0 to address breaking change (https://github.com/ansible-collections/community.okd/pull/77). + - openshift_route - default to ``no_log=False`` for the ``key`` parameter in TLS configuration to fix sanity failures (https://github.com/ansible-collections/community.okd/pull/77). diff --git a/ci/Dockerfile b/ci/Dockerfile index 3722796..b63be8c 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -18,7 +18,7 @@ RUN yum install -y \ && pip3 install --no-cache-dir \ openshift \ ansible==2.9.* \ - molecule \ + "molecule<3.3.0" \ && yum clean all \ && rm -rf $HOME/.cache \ && curl -L https://github.com/openshift/okd/releases/download/4.5.0-0.okd-2020-08-12-020541/openshift-client-linux-4.5.0-0.okd-2020-08-12-020541.tar.gz | tar -xz -C /usr/local/bin diff --git a/plugins/modules/openshift_route.py b/plugins/modules/openshift_route.py index 5228971..ba672bc 100644 --- a/plugins/modules/openshift_route.py +++ b/plugins/modules/openshift_route.py @@ -367,7 +367,7 @@ class OpenShiftRoute(K8sAnsibleMixin): ca_certificate=dict(type='str'), certificate=dict(type='str'), destination_ca_certificate=dict(type='str'), - key=dict(type='str'), + key=dict(type='str', no_log=False), insecure_policy=dict(type='str', choices=['allow', 'redirect', 'disallow'], default='disallow'), )) spec['termination'] = dict(choices=['edge', 'passthrough', 'reencrypt', 'insecure'], default='insecure')