Skip to content

Commit

Permalink
[stf-run-ci] Fix check to include bool filter
Browse files Browse the repository at this point in the history
Update the check to use bool filter instead of a bar var.
By default, ansible parses vars as strings, and without the | bool
filter, this check is invalid, as it will always resolve to true, since
it is a non-empty string. Other instances of the same check did this,
but this one was missed.
  • Loading branch information
elfiesmelfie committed Oct 26, 2023
1 parent db1195a commit e10ab14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/stf-run-ci/tasks/setup_stf_from_bundles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
data:
cert.pem: "{{ lookup('file', 'CA.pem') | b64encode }}"

- when: setup_bundle_registry_tls_ca
- when: setup_bundle_registry_tls_ca | bool
name: Patch the default service account to use our pull secret
kubernetes.core.k8s_json_patch:
kind: ServiceAccount
Expand Down

0 comments on commit e10ab14

Please sign in to comment.