Add for future smallstep deployment
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Adrien Reslinger 2021-06-05 10:52:39 +02:00
parent e35eca8e87
commit debd7a9a69
Signed by: adrien
GPG key ID: DA7B27055C66D6DE

View file

@ -91,6 +91,40 @@
- cert_manager_issuer is defined
- cert_manager_issuer.[].provider == "ovh"
# https://smallstep.com/
# https://github.com/smallstep/step-issuer
- name: Install Step webhook
block:
- name: Defined smallstep repository
community.kubernetes.helm_repository:
name: smallstep
repo_url: "https://smallstep.github.io/helm-charts/"
# https://github.com/smallstep/step-issuer
- name: Deploy step-certificates chart
community.kubernetes.helm:
state: present
name: step-certificates
context: "{{ my_context }}"
chart_ref: smallstep/step-certificates
release_namespace: "{{ cert_manager_namespace }}"
# values:
# ca:
# provisioner:
# name: "admin"
# https://github.com/smallstep/helm-charts/tree/master/step-issuer
- name: Deploy step-certificates chart
community.kubernetes.helm:
state: present
name: step-issuer
context: "{{ my_context }}"
chart_ref: smallstep/step-issuer
release_namespace: "{{ cert_manager_namespace }}"
when:
- false
- cert_manager_issuer is defined
- cert_manager_issuer.[].provider == "step"
tags: cert-manager