Skip to content

Commit

Permalink
[.ATMOSPHERE-470] fix: use host path for libvirt vnc tls server cert …
Browse files Browse the repository at this point in the history
…d… (#1974)

Co-authored-by: okozachenko1203 <[email protected]>
  • Loading branch information
yaguangtang and okozachenko1203 authored Oct 22, 2024
1 parent 4e7a22b commit f190972
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/libvirt/templates/daemonset-libvirt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@ spec:
- name: etc-pki-libvirt
emptyDir: {}
- name: etc-pki-libvirt-vnc
emptyDir: {}
hostPath:
path: /etc/pki/libvirt-vnc
- name: pod-tmp
emptyDir: {}
- name: libvirt-bin
Expand Down
14 changes: 14 additions & 0 deletions charts/patches/libvirt/0003-vnc-tls-renewal.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/libvirt/templates/daemonset-libvirt.yaml b/charts/libvirt/templates/daemonset-libvirt.yaml
index 325f0617..e7f7bc18 100644
--- a/libvirt/templates/daemonset-libvirt.yaml
+++ b/libvirt/templates/daemonset-libvirt.yaml
@@ -311,7 +311,8 @@ spec:
- name: etc-pki-libvirt
emptyDir: {}
- name: etc-pki-libvirt-vnc
- emptyDir: {}
+ hostPath:
+ path: /etc/pki/libvirt-vnc
- name: pod-tmp
emptyDir: {}
- name: libvirt-bin

0 comments on commit f190972

Please sign in to comment.