[cilium] fix: invalid hubble yaml if cilium_hubble_tls_generate is enabled (#10430) (#10476)

Co-authored-by: Toon Albers <45094749+toonalbers@users.noreply.github.com>
This commit is contained in:
Hans Kristian Moen 2023-09-26 13:01:28 +01:00 committed by GitHub
parent a4b0656d9b
commit c7cfd32c40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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