58 lines
1 KiB
YAML
58 lines
1 KiB
YAML
|
---
|
||
|
apiVersion: cert-manager.io/v1
|
||
|
kind: Certificate
|
||
|
metadata:
|
||
|
name: goldpinger-cert
|
||
|
namespace: istio-system
|
||
|
spec:
|
||
|
secretName: goldpinger-cert
|
||
|
commonName: goldpinger.teapot.masked.name
|
||
|
dnsNames:
|
||
|
- goldpinger.teapot.masked.name
|
||
|
issuerRef:
|
||
|
name: vault-issuer
|
||
|
kind: ClusterIssuer
|
||
|
group: cert-manager.io
|
||
|
...
|
||
|
---
|
||
|
apiVersion: networking.istio.io/v1beta1
|
||
|
kind: Gateway
|
||
|
metadata:
|
||
|
name: goldpinger-gateway
|
||
|
namespace: goldpinger
|
||
|
spec:
|
||
|
selector:
|
||
|
istio: ingressgateway
|
||
|
servers:
|
||
|
- port:
|
||
|
number: 443
|
||
|
name: https
|
||
|
protocol: HTTPS
|
||
|
tls:
|
||
|
mode: SIMPLE
|
||
|
credentialName: goldpinger-cert
|
||
|
hosts:
|
||
|
- goldpinger.teapot.masked.name
|
||
|
...
|
||
|
---
|
||
|
apiVersion: networking.istio.io/v1beta1
|
||
|
kind: VirtualService
|
||
|
metadata:
|
||
|
name: goldpinger-gateway
|
||
|
namespace: goldpinger
|
||
|
spec:
|
||
|
hosts:
|
||
|
- goldpinger.teapot.masked.name
|
||
|
gateways:
|
||
|
- goldpinger-gateway
|
||
|
http:
|
||
|
- match:
|
||
|
- uri:
|
||
|
prefix: /
|
||
|
route:
|
||
|
- destination:
|
||
|
port:
|
||
|
number: 80
|
||
|
host: goldpinger
|
||
|
...
|