From 2cbd59783b23eab2fc8b8dcc2008b6c2fe2a7aaa Mon Sep 17 00:00:00 2001 From: Nicolas Bigler Date: Fri, 16 Jun 2023 14:56:31 +0200 Subject: [PATCH] Fix wrong provider parameter for ingress when using vault When using `vault` with `reencrypt` the wrong provider parameter is checked in the code. This commit fixes that Signed-off-by: Nicolas Bigler --- component/main.jsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/main.jsonnet b/component/main.jsonnet index 19e892e2..ec7daf1b 100644 --- a/component/main.jsonnet +++ b/component/main.jsonnet @@ -150,7 +150,7 @@ local ingress_tls_secret = kube.Secret(params.ingress.tls.secretName) { local create_keycloak_cert_secret = params.tls.provider != 'openshift' && params.ingress.enabled && !(params.ingress.tls.termination == 'passthrough' && params.tls.provider == 'certmanager'); local create_ingress_cert_secret = - params.ingress.enabled && params.ingress.tls.termination == 'reencrypt' && params.tls.provider == 'vault'; + params.ingress.enabled && params.ingress.tls.termination == 'reencrypt' && params.ingress.tls.provider == 'vault'; local create_ingress_cert = params.ingress.enabled && params.ingress.tls.termination == 'passthrough' && params.tls.provider == 'certmanager';