changed traefik edge to k3s traefik
This commit is contained in:
22
infrastructure/traefik-edge/external-secret.yaml
Normal file
22
infrastructure/traefik-edge/external-secret.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: traefik-edge-cloudflare
|
||||
namespace: traefik-system
|
||||
spec:
|
||||
refreshInterval: "1h"
|
||||
secretStoreRef:
|
||||
name: vault-backend
|
||||
kind: ClusterSecretStore
|
||||
target:
|
||||
name: traefik-edge-cloudflare
|
||||
creationPolicy: Owner
|
||||
data:
|
||||
- secretKey: CF_DNS_API_TOKEN
|
||||
remoteRef:
|
||||
key: secret/infrastructure/cloudflare
|
||||
property: api_token
|
||||
- secretKey: CF_API_EMAIL
|
||||
remoteRef:
|
||||
key: secret/infrastructure/cloudflare
|
||||
property: email
|
||||
Reference in New Issue
Block a user