Add missing annotation to the nbi charm 62/9962/1
authorDavid Garcia <david.garcia@canonical.com>
Wed, 11 Nov 2020 11:51:38 +0000 (12:51 +0100)
committerDavid Garcia <david.garcia@canonical.com>
Wed, 11 Nov 2020 11:51:38 +0000 (12:51 +0100)
Change-Id: I85aa5d066eb7e18995a22c1cc2e9a5fe6f021dd7
Signed-off-by: David Garcia <david.garcia@canonical.com>
installers/charm/nbi/src/pod_spec.py

index 4bbe334..105e877 100644 (file)
@@ -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: