mirror of
https://github.com/openshift/community.okd.git
synced 2026-03-27 03:13:08 +00:00
Fix sanity failure (#77)
* 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
This commit is contained in:
3
changelogs/fragments/77-fix-ci-failure.yaml
Normal file
3
changelogs/fragments/77-fix-ci-failure.yaml
Normal file
@@ -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).
|
||||
@@ -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
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user