From cf8f37347c7bbab8f020ff545851e96325d09ac2 Mon Sep 17 00:00:00 2001 From: Toon Albers Date: Tue, 12 Sep 2023 13:52:19 +0200 Subject: [PATCH] [cilium] fix: invalid hubble yaml if cilium_hubble_tls_generate is enabled --- roles/network_plugin/cilium/templates/hubble/deploy.yml.j2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/network_plugin/cilium/templates/hubble/deploy.yml.j2 b/roles/network_plugin/cilium/templates/hubble/deploy.yml.j2 index 6d2b9cb2277..86533e6e785 100644 --- a/roles/network_plugin/cilium/templates/hubble/deploy.yml.j2 +++ b/roles/network_plugin/cilium/templates/hubble/deploy.yml.j2 @@ -60,7 +60,8 @@ spec: - mountPath: /var/lib/hubble-relay/tls name: tls readOnly: true - {% endif %} + {%- endif %} + restartPolicy: Always serviceAccount: hubble-relay serviceAccountName: hubble-relay @@ -96,7 +97,8 @@ spec: - key: tls.key path: server.key name: tls - {% endif %} + {%- endif %} + --- # Source: cilium/templates/hubble-ui/deployment.yaml kind: Deployment