Skip to content
Snippets Groups Projects
Unverified Commit 3b68d636 authored by charlychiu's avatar charlychiu Committed by GitHub
Browse files

fix: not mount tls when disable (#10357)

parent d21bfb84
Branches
Tags
No related merge requests found
......@@ -56,9 +56,11 @@ spec:
- mountPath: /etc/hubble-relay
name: config
readOnly: true
{% if cilium_hubble_tls_generate -%}
- mountPath: /var/lib/hubble-relay/tls
name: tls
readOnly: true
{% endif %}
restartPolicy: Always
serviceAccount: hubble-relay
serviceAccountName: hubble-relay
......@@ -74,6 +76,7 @@ spec:
path: /var/run/cilium
type: Directory
name: hubble-sock-dir
{% if cilium_hubble_tls_generate -%}
- projected:
sources:
- secret:
......@@ -93,6 +96,7 @@ spec:
- key: tls.key
path: server.key
name: tls
{% endif %}
---
# Source: cilium/templates/hubble-ui/deployment.yaml
kind: Deployment
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment