traefik/pkg/provider/kubernetes/crd/fixtures/with_tls_store.yml

44 lines
727 B
YAML
Raw Normal View History

2023-03-20 14:38:08 +00:00
apiVersion: traefik.io/v1alpha1
2020-02-24 16:14:06 +00:00
kind: TLSStore
metadata:
name: default
namespace: default
spec:
defaultCertificate:
secretName: supersecret
---
apiVersion: v1
kind: Secret
metadata:
name: supersecret
namespace: default
data:
tls.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0=
tls.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0=
---
2023-03-20 14:38:08 +00:00
apiVersion: traefik.io/v1alpha1
2020-02-24 16:14:06 +00:00
kind: IngressRoute
metadata:
name: test.route
namespace: default
spec:
entryPoints:
- web
routes:
- match: Host(`foo.com`) && PathPrefix(`/bar`)
kind: Rule
priority: 12
services:
- name: whoami
port: 80
tls:
store:
name: default