From e7bd2e35f8d0de5561bf3cf55d65ecb065085f5f Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sat, 25 Dec 2021 11:54:38 +0700 Subject: [PATCH] fix(trow): workaround deprecated ingress resource https://github.com/ContainerSolutions/trow/issues/282 --- platform/trow/templates/ingress.yaml | 22 ++++++++++++++++++++++ platform/trow/values.yaml | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 platform/trow/templates/ingress.yaml diff --git a/platform/trow/templates/ingress.yaml b/platform/trow/templates/ingress.yaml new file mode 100644 index 00000000..a384e63d --- /dev/null +++ b/platform/trow/templates/ingress.yaml @@ -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 diff --git a/platform/trow/values.yaml b/platform/trow/values.yaml index 4a226b13..29980da4 100644 --- a/platform/trow/values.yaml +++ b/platform/trow/values.yaml @@ -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: