fix(trow): workaround deprecated ingress resource

https://github.com/ContainerSolutions/trow/issues/282
This commit is contained in:
Khue Doan 2021-12-25 11:54:38 +07:00
parent d1727230eb
commit e7bd2e35f8
2 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,22 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: trow
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
ingressClassName: nginx
rules:
- host: &host registry.khuedoan.com
http:
paths:
- pathType: ImplementationSpecific
backend:
service:
name: trow-svc
port:
name: http-tcp
tls:
- hosts:
- *host
secretName: trow-tls-certificate

View File

@ -14,7 +14,7 @@ trow:
proxyDockerHub: false
ingress:
enabled: true
enabled: false # TODO https://github.com/ContainerSolutions/trow/issues/282
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
hosts: