Fix api keys secret generation
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
7bd2605c1f
commit
514cd5a1da
2 changed files with 16 additions and 8 deletions
|
|
@ -111,12 +111,15 @@
|
|||
context: "{{ my_context }}"
|
||||
apply: true
|
||||
namespace: "{{ cert_manager_namespace }}"
|
||||
resource_definition: "{{ lookup('template', 'api-key-secret.yml.j2') | from_yaml }}"
|
||||
resource_definition: "{{ lookup('template', 'api-key-secret.yml.j2') | from_yaml_all }}"
|
||||
with_items:
|
||||
- "{{ cert_manager_issuer }}"
|
||||
#- "{{ cert_manager_issuer | json_query(\"solvers.[?solver=="dns01"]\") }}"
|
||||
when:
|
||||
- item.acme_provider is defined
|
||||
- item.dns_provider is defined
|
||||
- item.solvers is defined
|
||||
#- item.solvers.[].solver == "dns01"
|
||||
#- item.solvers.[].dns_provider is defined
|
||||
|
||||
# Tempo ici
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue