21 lines
306 B
YAML
21 lines
306 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: name
|
|
namespace: default
|
|
|
|
data:
|
|
key: dGhpc19pc190aGVfc2VjcmV0
|
|
|
|
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: test-secret
|
|
namespace: default
|
|
|
|
spec:
|
|
plugin:
|
|
test-secret:
|
|
user: admin
|
|
secret: urn:k8s:secret:name:key
|