mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-09 23:12:10 -03:30
fix: do not mount hubble-ui tls volume when cilium_hubble_tls_generate is false (#12143)
This commit is contained in:
parent
23d8c9a820
commit
e1be469995
@ -168,10 +168,12 @@ spec:
|
||||
value: "hubble-relay:80"
|
||||
{% endif %}
|
||||
|
||||
{% if cilium_hubble_tls_generate -%}
|
||||
volumeMounts:
|
||||
- name: tls
|
||||
mountPath: /var/lib/hubble-ui/certs
|
||||
readOnly: true
|
||||
{%- endif %}
|
||||
ports:
|
||||
- containerPort: 8090
|
||||
name: grpc
|
||||
@ -182,6 +184,7 @@ spec:
|
||||
defaultMode: 420
|
||||
name: hubble-ui-nginx
|
||||
name: hubble-ui-nginx-conf
|
||||
{% if cilium_hubble_tls_generate -%}
|
||||
- projected:
|
||||
sources:
|
||||
- secret:
|
||||
@ -194,6 +197,7 @@ spec:
|
||||
- key: tls.key
|
||||
path: client.key
|
||||
name: tls
|
||||
{%- endif %}
|
||||
- emptyDir: {}
|
||||
name: tmp-dir
|
||||
{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user