From 64b4b43bffa16736865caea740168b9cf5093245 Mon Sep 17 00:00:00 2001 From: David Garcia Date: Wed, 11 Nov 2020 12:51:38 +0100 Subject: [PATCH] Add missing annotation to the nbi charm Change-Id: I85aa5d066eb7e18995a22c1cc2e9a5fe6f021dd7 Signed-off-by: David Garcia --- installers/charm/nbi/src/pod_spec.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installers/charm/nbi/src/pod_spec.py b/installers/charm/nbi/src/pod_spec.py index 4bbe334e..105e8779 100644 --- a/installers/charm/nbi/src/pod_spec.py +++ b/installers/charm/nbi/src/pod_spec.py @@ -298,7 +298,8 @@ def _make_pod_ingress_resources( annotations = { "nginx.ingress.kubernetes.io/proxy-body-size": "{}".format( max_file_size + "m" if max_file_size > 0 else max_file_size - ) + ), + "nginx.ingress.kubernetes.io/backend-protocol": "HTTPS", } if ingress_whitelist_source_range: -- 2.17.1