Skip to content

Commit

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

Co-authored-by: okozachenko1203 <[email protected]>
  • Loading branch information
yaguangtang and okozachenko1203 authored Oct 9, 2024
1 parent 06b1ff5 commit 6cab7ba
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 6cab7ba

Please sign in to comment.