ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
31
vendor/infrastructure/cert-manager/config/vso.yaml
vendored
Normal file
31
vendor/infrastructure/cert-manager/config/vso.yaml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
# VSO syncs the Cloudflare API token from Vault KV -> cert-manager namespace
|
||||
# so the letsencrypt ClusterIssuer can use it for DNS-01 challenges.
|
||||
apiVersion: secrets.hashicorp.com/v1beta1
|
||||
kind: VaultAuth
|
||||
metadata:
|
||||
name: kv
|
||||
namespace: cert-manager
|
||||
spec:
|
||||
method: kubernetes
|
||||
mount: kubernetes
|
||||
kubernetes:
|
||||
role: cert-manager-kv
|
||||
serviceAccount: cert-manager
|
||||
vaultConnectionRef: vault/vault
|
||||
---
|
||||
apiVersion: secrets.hashicorp.com/v1beta1
|
||||
kind: VaultStaticSecret
|
||||
metadata:
|
||||
name: cloudflare-api-token
|
||||
namespace: cert-manager
|
||||
spec:
|
||||
type: kv-v2
|
||||
mount: secret
|
||||
path: cloudflare/cert-manager-dns01
|
||||
destination:
|
||||
name: cloudflare-api-token
|
||||
create: true
|
||||
overwrite: true
|
||||
refreshAfter: 1h
|
||||
vaultAuthRef: kv
|
||||
Loading…
Reference in a new issue