39 lines
688 B
YAML
39 lines
688 B
YAML
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: ovh-credentials
|
|
namespace: cert-manager
|
|
---
|
|
apiVersion: secrets.hashicorp.com/v1beta1
|
|
kind: VaultAuth
|
|
metadata:
|
|
name: cert-manager
|
|
namespace: cert-manager
|
|
spec:
|
|
method: kubernetes
|
|
mount: kubernetes
|
|
kubernetes:
|
|
role: cert-manager
|
|
serviceAccount: ovh-credentials
|
|
---
|
|
apiVersion: secrets.hashicorp.com/v1beta1
|
|
kind: VaultStaticSecret
|
|
metadata:
|
|
name: webhook-ovh-credentials
|
|
namespace: cert-manager
|
|
spec:
|
|
type: kv-v2
|
|
|
|
mount: secret
|
|
path: ovh-cert-manager
|
|
|
|
destination:
|
|
create: true
|
|
name: ovh-credentials
|
|
type: Opaque
|
|
transformation:
|
|
excludeRaw: true
|
|
|
|
vaultAuthRef: cert-manager
|