2020-09-11 13:40:03 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
2021-06-14 16:06:10 +00:00
|
|
|
metadata:
|
|
|
|
name: rootCas0
|
|
|
|
namespace: foo
|
|
|
|
|
|
|
|
data:
|
|
|
|
foobar: VEVTVFJPT1RDQVMw
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
2020-09-11 13:40:03 +00:00
|
|
|
metadata:
|
|
|
|
name: rootCas1
|
|
|
|
namespace: foo
|
|
|
|
|
|
|
|
data:
|
2021-06-14 16:06:10 +00:00
|
|
|
tls.ca: VEVTVFJPT1RDQVMx
|
2020-09-11 13:40:03 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: rootCas2
|
|
|
|
namespace: foo
|
|
|
|
|
|
|
|
data:
|
|
|
|
tls.ca: VEVTVFJPT1RDQVMy
|
|
|
|
|
2021-06-14 16:06:10 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: rootCas3
|
|
|
|
namespace: foo
|
|
|
|
|
|
|
|
data:
|
|
|
|
ca.crt: VEVTVFJPT1RDQVMz
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: rootCas4
|
|
|
|
namespace: foo
|
|
|
|
|
|
|
|
data:
|
|
|
|
ca.crt: VEVTVFJPT1RDQVM0
|
|
|
|
tls.ca: VEVTVFJPT1RDQVM1 # <-- This should be the prefered one.
|
|
|
|
|
2020-09-11 13:40:03 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: mtls1
|
|
|
|
namespace: foo
|
|
|
|
|
|
|
|
data:
|
|
|
|
tls.crt: VEVTVENFUlQx
|
|
|
|
tls.key: VEVTVEtFWTE=
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: mtls2
|
|
|
|
namespace: foo
|
|
|
|
|
|
|
|
data:
|
|
|
|
tls.crt: VEVTVENFUlQy
|
|
|
|
tls.key: VEVTVEtFWTI=
|
|
|
|
|
2021-06-14 16:06:10 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: allcerts
|
|
|
|
namespace: foo
|
|
|
|
|
|
|
|
data:
|
|
|
|
ca.crt: VEVTVEFMTENFUlRT
|
|
|
|
tls.crt: VEVTVENFUlQz
|
|
|
|
tls.key: VEVTVEtFWTM=
|
|
|
|
|
2020-09-11 13:40:03 +00:00
|
|
|
---
|
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
kind: ServersTransport
|
|
|
|
metadata:
|
|
|
|
name: test
|
|
|
|
namespace: foo
|
|
|
|
|
|
|
|
spec:
|
|
|
|
serverName: "test"
|
|
|
|
insecureSkipVerify: true
|
|
|
|
maxIdleConnsPerHost: 42
|
|
|
|
rootCAsSecrets:
|
2021-06-14 16:06:10 +00:00
|
|
|
- rootCas0
|
2020-09-11 13:40:03 +00:00
|
|
|
- rootCas1
|
|
|
|
- rootCas2
|
2021-06-14 16:06:10 +00:00
|
|
|
- rootCas3
|
|
|
|
- rootCas4
|
|
|
|
- allcerts
|
2020-09-11 13:40:03 +00:00
|
|
|
certificatesSecrets:
|
|
|
|
- mtls1
|
|
|
|
- mtls2
|
2021-06-14 16:06:10 +00:00
|
|
|
- allcerts
|
2020-09-11 13:40:03 +00:00
|
|
|
forwardingTimeouts:
|
|
|
|
dialTimeout: 42
|
|
|
|
responseHeaderTimeout: 42s
|
|
|
|
idleConnTimeout: 42ms
|