Serialize ClusterIssuers creation
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
444ed560eb
commit
6d78359203
3 changed files with 17 additions and 23 deletions
|
|
@ -2,13 +2,13 @@
|
|||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: "{{ item.provider }}-api-key"
|
||||
name: "{{ item.dns_provider }}-api-key"
|
||||
type: Opaque
|
||||
data:
|
||||
{% if item.provider == "cloudflare" %}
|
||||
{% if item.dns_provider == "cloudflare" %}
|
||||
api-key: "{{ item.cloudflare_api_key | b64encode }}"
|
||||
{% elif item.provider == "route53" %}
|
||||
{% elif item.dns_provider == "route53" %}
|
||||
secret-access-key: "{{ lookup('hashi_vault', 'secret=clusters/route53:secret-access-key') | b64encode }}"
|
||||
{% elif item.provider == "ovh" %}
|
||||
{% elif item.dns_provider == "ovh" %}
|
||||
applicationSecret: "{{ item.applicationSecret | b64encode }}"
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue