Add for future smallstep deployment
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
e35eca8e87
commit
debd7a9a69
1 changed files with 34 additions and 0 deletions
|
|
@ -91,6 +91,40 @@
|
||||||
- cert_manager_issuer is defined
|
- cert_manager_issuer is defined
|
||||||
- cert_manager_issuer.[].provider == "ovh"
|
- 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
|
tags: cert-manager
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue