mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-03 13:30:57 +07:00
fix(trow): workaround deprecated ingress resource
https://github.com/ContainerSolutions/trow/issues/282
This commit is contained in:
parent
d1727230eb
commit
e7bd2e35f8
22
platform/trow/templates/ingress.yaml
Normal file
22
platform/trow/templates/ingress.yaml
Normal 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
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user