-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmtls.yml
32 lines (32 loc) · 7 KB
/
mtls.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
apiVersion: v1
data:
tls.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVVRENDQWppZ0F3SUJBZ0lRY2p2UjU2UUhwdUM1RCthTlppNHFqREFOQmdrcWhraUc5dzBCQVFzRkFEQWQKTVJzd0dRWURWUVFEREJKMGJITXVaWGhoYlhCc1pTNWpiMjFmWTJFd0hoY05NakF4TURBeU1qRXlNVEl6V2hjTgpNakl3TkRBeU1qRXlNVEl5V2pBYU1SZ3dGZ1lEVlFRREV3OTBiSE11WlhoaGJYQnNaUzVqYjIwd2dnRWlNQTBHCkNTcUdTSWIzRFFFQkFRVUFBNElCRHdBd2dnRUtBb0lCQVFDeXdRT09BUGY0TEtBTm8reGswazJDRlBad21OV0wKR1VzT09yS3l2Z3ZmdFRKdFpJdVFkdkZpY3UxNkZ6UTkvRk1USnNkcHpHalVCWGJ2WVFsSGIxTWpLdS93Q1hlZwo3S2NrUGI4NGJxSzRPUFF3dWgzekkwNkxIUDRtTFlJRFJzOVBIUys0S21OQnJyUVUyWFRhck1vcFF4SVlWZmtLClREN2NFRDVBQ2Jib2E1eThtSDFFbkFOQ1BSY28wWEFmMXBtVkJhSEhxNEZpNERScVNkVkkyQVg4bmJHVVVqeFMKNnd1SnQ0dTVJNUhPYndjWlFWN1V3Vm1nSjFJdzdDWmNQaGwwZkdrNGxpTURMVWFJSE52bGpLM3p2cmIxVFpWbApHd2N2QXZaRUZEMjJuOFBGN3VqbXhUZFVZWWxMby9XNzA0M2ZqdDRucnVrVmFRbDUrV1NiK2pmaEFnTUJBQUdqCmdZNHdnWXN3RGdZRFZSMFBBUUgvQkFRREFnTzRNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01CQmdnckJnRUYKQl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RUnpCMjNFZStnTkdjMUlYZkpyYUZ5M3dVeWRTMENOdFJhTGplCmVkTXI3WDlVVWcyblZTSHBvZXh6bXlwSTBmVit5d2t0TWY2SWQweVhEMTFaZVhSbFRBVXFQL1U4Um5tRS9lbEwKckN1WVh5K1ArRnBXMU5SVG1vSElkN1dCSEgxZ2syVm9YNEZzZnJiQnBxaUZ1NFF4bjVuMTZ2QlFYTlVYTTNEbQpvTnlENFZkNE10UFE0VC9sdU5HcnliV1VsVFVzdWY5Tm44ZFV6OURDdHloV1N0aGZKMlhkbVBCVUdORjdBV25XCjBTMkZpU1hYczdHdlRtbTR5WGYyanBIbnRreEllaGg3QTd4R2ZnRmwvZkJMajM0M3ZzZnBGSk9waGl4TUV4TlIKbVR6TkZmVCtISk1LcXNDNVMxaE9kK3Y4RG1ZcTl4YnBCRlVNUUw1ckROTFkzcXd6U2VKT1NqRCtXQVhHaEhaUQpOMHYrUGQxV21pYldZSkVICi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
kind: Secret
metadata:
name: client-root-ca
type: Opaque
---
apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: with-client-auth
spec:
virtualhost:
fqdn: tls.example.com
tls:
secretName: httpbin-cert
clientValidation:
caSecret: client-root-ca
routes:
- services:
- name: httpbin
port: 80