Reduce maintenance
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2021-03-25 00:13:33 +01:00
parent 2451ae0d2f
commit 427d3af40f
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
12 changed files with 10 additions and 147 deletions

View file

@ -33,6 +33,8 @@
with_items:
- "{{ cert_manager_issuer }}"
# Tempo ici
- name: Defined ClusterIssuers
k8s:
state: present
@ -65,8 +67,8 @@
chart_ref: tmp/cert-manager-webhook-ovh/deploy/cert-manager-webhook-ovh
release_namespace: "{{ cert_manager_namespace }}"
values:
# groupName: '{{ cert_manager_issuer | selectattr('provider', 'match', 'ovh') | first }}'
groupName: '{{ cert_manager_issuer | json_query(\"[?provider=='ovh']\") | first }}'
# groupName: '{{ cert_manager_issuer | selectattr("provider", "match", "ovh") | first }}'
groupName: '{{ cert_manager_issuer | json_query(\"[?provider=="ovh"]\") | first }}'
# with_items:
# - "{{ cert_manager_issuer | selectattr('ovh', 'in', provider) }}"
# when: