quorate/vendor/infrastructure/cert-manager/config/vault-root-ca.yaml

20 lines
426 B
YAML
Raw Permalink Normal View History

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" }}'