Add SSL support for prylabs.net, support opengraph on alpha.prylabs.net (#2419)

This commit is contained in:
Preston Van Loon
2019-04-29 00:09:31 -04:00
committed by terence tsao
parent 63633a3bee
commit a9d2003623
3 changed files with 24 additions and 1 deletions

View File

@@ -91,4 +91,24 @@ spec:
port:
number: 80
host: testnet-site-alpha.beacon-chain.svc.cluster.local
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: prylabs-net
namespace: istio-system
spec:
hosts:
- prylabs.net
gateways:
- prylabs-wildcard-gateway
http:
- match:
- uri:
prefix: /assets
route:
- destination:
port:
number: 80
host: testnet-site-alpha.beacon-chain.svc.cluster.local

View File

@@ -29,10 +29,11 @@ spec:
issuerRef:
name: letsencrypt-prod
commonName: "*.prylabs.net"
dnsNames:
- "prylabs.net"
acme:
config:
- dns01:
provider: cloud-dns
domains:
- "*.prylabs.net"
- "prylabs.net"

View File

@@ -16,6 +16,7 @@ spec:
protocol: HTTP
hosts:
- "*.prylabs.net"
- "prylabs.net"
tls:
httpsRedirect: false
- port:
@@ -24,6 +25,7 @@ spec:
protocol: HTTPS
hosts:
- "*.prylabs.net"
- "prylabs.net"
tls:
mode: SIMPLE
privateKey: /etc/istio/ingressgateway-certs/tls.key