20 lines
426 B
YAML
20 lines
426 B
YAML
|
|
apiVersion: secrets.hashicorp.com/v1beta1
|
||
|
|
kind: VaultDynamicSecret
|
||
|
|
metadata:
|
||
|
|
name: vault-root-ca
|
||
|
|
namespace: cert-manager
|
||
|
|
spec:
|
||
|
|
vaultAuthRef: kv
|
||
|
|
mount: pki
|
||
|
|
path: cert/ca
|
||
|
|
requestHTTPMethod: GET
|
||
|
|
refreshAfter: 1h
|
||
|
|
destination:
|
||
|
|
create: true
|
||
|
|
overwrite: true
|
||
|
|
name: vault-root-ca
|
||
|
|
transformation:
|
||
|
|
excludeRaw: true
|
||
|
|
templates:
|
||
|
|
ca.crt:
|
||
|
|
text: '{{ get .Secrets "certificate" }}'
|