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

This commit is contained in:
Toon Albers
2023-09-13 13:16:15 +02:00
committed by GitHub
parent c31bb9aca7
commit 31f6d38cd2

View File

@@ -60,7 +60,8 @@ spec:
- mountPath: /var/lib/hubble-relay/tls - mountPath: /var/lib/hubble-relay/tls
name: tls name: tls
readOnly: true readOnly: true
{% endif %} {%- endif %}
restartPolicy: Always restartPolicy: Always
serviceAccount: hubble-relay serviceAccount: hubble-relay
serviceAccountName: hubble-relay serviceAccountName: hubble-relay
@@ -96,7 +97,8 @@ spec:
- key: tls.key - key: tls.key
path: server.key path: server.key
name: tls name: tls
{% endif %} {%- endif %}
--- ---
# Source: cilium/templates/hubble-ui/deployment.yaml # Source: cilium/templates/hubble-ui/deployment.yaml
kind: Deployment kind: Deployment