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