Skip to content

Commit

Permalink
fix: 🐛 always b64 encode exposed_ca_pem because it is decoded
Browse files Browse the repository at this point in the history
  • Loading branch information
this-is-tobi committed Oct 18, 2024
1 parent 2ada7d7 commit 2237f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/vault/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
name: exposed-ca
definition:
data:
tls.crt: "{{ (dsc.exposedCA.type == 'configmap') | ansible.builtin.ternary(exposed_ca_pem | b64encode, exposed_ca_pem) }}"
tls.crt: "{{ exposed_ca_pem | b64encode }}"
when: dsc.exposedCA.type == "configmap" or dsc.exposedCA.type == "secret"

- name: Deploy helm
Expand Down

0 comments on commit 2237f93

Please sign in to comment.