Is this it?

This commit is contained in:
Simen Røstvik 2022-12-15 13:45:51 +01:00
parent 4a2bf89ad0
commit b769e4f5ad
2 changed files with 5 additions and 3 deletions

View File

@ -12,5 +12,5 @@ spec:
- dns01: - dns01:
cloudflare: cloudflare:
apiTokenSecretRef: apiTokenSecretRef:
name: cloudflare-api-token-secret name: cloudflare-api-token
key: CLOUDFLARE_API_KEY key: CLOUDFLARE_API_KEY

View File

@ -2,6 +2,7 @@ apiVersion: external-secrets.io/v1alpha1
kind: SecretStore kind: SecretStore
metadata: metadata:
name: vault-backend name: vault-backend
namespace: cert-manager
spec: spec:
provider: provider:
vault: vault:
@ -17,14 +18,15 @@ apiVersion: external-secrets.io/v1alpha1
kind: ExternalSecret kind: ExternalSecret
metadata: metadata:
name: vault-example name: vault-example
namespace: cert-manager
spec: spec:
secretStoreRef: secretStoreRef:
name: vault-backend name: vault-backend
kind: SecretStore kind: SecretStore
target: target:
name: my-thing name: cloudflare-api-token
data: data:
- secretKey: foobar - secretKey: CLOUDFLARE_API_KEY
remoteRef: remoteRef:
key: cloudflare-api-token-secret key: cloudflare-api-token-secret
property: CLOUDFLARE_API_KEY property: CLOUDFLARE_API_KEY