Make some work on OVH weghook deployment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2021-02-21 16:52:04 +01:00
parent 1a4012e42d
commit 895fbff2fe
Signed by: adrien
GPG key ID: DA7B27055C66D6DE

View file

@ -48,18 +48,20 @@
# - false # - false
- cert_manager_issuer is defined - cert_manager_issuer is defined
# https://github.com/baarde/cert-manager-webhook-ovh/tree/master/deploy/cert-manager-webhook-ovh
- name: Install OVH webhook - name: Install OVH webhook
block: block:
- name: Git clone stable repo on HEAD - name: Git clone stable repo on HEAD
ansible.builtin.git: ansible.builtin.git:
repo: "https://github.com/baarde/cert-manager-webhook-ovh.git" repo: "https://github.com/baarde/cert-manager-webhook-ovh.git"
dest: /tmp/cert-manager-webhook-ovh dest: tmp/cert-manager-webhook-ovh
- name: Deploy Grafana chart from local path - name: Deploy OVH webhook chart from local path
community.kubernetes.helm: community.kubernetes.helm:
state: present state: present
context: "{{ my_context }}"
name: cert-manager-webhook-ovh name: cert-manager-webhook-ovh
chart_ref: /tmp/cert-manager-webhook-ovh/deploy/cert-manager-webhook-ovh chart_ref: tmp/cert-manager-webhook-ovh/deploy/cert-manager-webhook-ovh
release_namespace: "{{ cert_manager_namespace }}" release_namespace: "{{ cert_manager_namespace }}"
when: when: