traefik/pkg/provider/kubernetes/crd/fixtures/with_plugin_read_secret.yml
Romain f8f685193d
Load plugin configuration field value from Kubernetes Secret
Co-authored-by: nnlquan <longquan0104@gmail.com>
2022-06-20 15:44:08 +02:00

21 lines
315 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: name
namespace: default
data:
key: dGhpc19pc190aGVfc2VjcmV0
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: test-secret
namespace: default
spec:
plugin:
test-secret:
user: admin
secret: urn:k8s:secret:name:key