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

pull/10435/head
Toon Albers 2023-09-13 13:16:15 +02:00 committed by GitHub
parent c31bb9aca7
commit 31f6d38cd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

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