Migrate istio-ingress to chart

This commit is contained in:
Amarpreet Minhas 2023-01-08 00:18:36 +00:00
parent 5057843e01
commit 8d7faa3ced

View file

@ -1,57 +0,0 @@
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: sudoscientist-cert
namespace: istio-system
spec:
secretName: sudoscientist-cert
commonName: api.sudoscientist.com
dnsNames:
- api.sudoscientist.com
issuerRef:
name: route53-issuer
kind: ClusterIssuer
group: cert-manager.io
...
---
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: sudoscientist-gateway
namespace: sudoscientist
spec:
selector:
istio: ingressgateway
servers:
- port:
number: 443
name: https
protocol: HTTPS
tls:
mode: SIMPLE
credentialName: sudoscientist-cert
hosts:
- api.sudoscientist.com
...
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: sudoscientist-gateway
namespace: sudoscientist
spec:
hosts:
- api.sudoscientist.com
gateways:
- sudoscientist-gateway
http:
- match:
- uri:
prefix: /
route:
- destination:
port:
number: 80
host: sudoscientist-sudoscientist-go-backend
...