You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/manager/manager.yaml
+30-6Lines changed: 30 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -53,9 +53,18 @@ spec:
53
53
# values:
54
54
# - linux
55
55
securityContext:
56
-
runAsNonRoot: true
56
+
# runAsNonRoot: true
57
57
supplementalGroups:
58
58
- 108# libvirt group
59
+
initContainers:
60
+
- name: create-pki-dirs
61
+
securityContext:
62
+
runAsUser: 0
63
+
image: busybox:1.28
64
+
command: ['sh', '-c', 'cd /host/etc/pki && for i in CA libvirt qemu; do if [ -L ${i} ]; then rm ${i}; fi; done && mkdir -p CA libvirt qemu && chown 42438:42438 CA libvirt qemu && chmod 0755 CA libvirt qemu']
0 commit comments