Skip to content
Snippets Groups Projects
Unverified Commit 338238d0 authored by Chia-liang Kao's avatar Chia-liang Kao Committed by GitHub
Browse files

Fix version comparison

`FAILED! => {"changed": false, "msg": "AnsibleFilterError: Version comparison: unorderable types: str() < int()"}`
parent c6c74616
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ spec:
{% if kube_feature_gates %}
- --feature-gates={{ kube_feature_gates|join(',') }}
{% endif %}
{% if kube_version | version_compare('1.9', '>=') %}
{% if kube_version | version_compare('v1.9', '>=') %}
- --requestheader-client-ca-file={{ kube_cert_dir }}/ca.pem
- --requestheader-allowed-names=front-proxy-client
- --requestheader-extra-headers-prefix=X-Remote-Extra-
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment