Skip to content

Commit

Permalink
runtime-payload: Update to reflect new base
Browse files Browse the repository at this point in the history
- The upstream runtime-payload is based on ubuntu now,
so we need to update systemd and dbus paths to be
compatible
- See confidential-containers/operator#180

Fixes: confidential-containers#869
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
  • Loading branch information
stevenhorsman committed May 5, 2023
1 parent 07db632 commit f0a6016
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions install/yamls/ccruntime-peer-pods.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ spec:
name: containerd-conf
- mountPath: /opt/confidential-containers/
name: kata-artifacts
- mountPath: /var/run/dbus
- mountPath: /var/run/dbus/system_bus_socket
name: dbus
- mountPath: /run/systemd
- mountPath: /run/systemd/system
name: systemd
- mountPath: /usr/local/bin/
name: local-bin
Expand All @@ -43,11 +43,11 @@ spec:
type: DirectoryOrCreate
name: kata-artifacts
- hostPath:
path: /var/run/dbus
path: /var/run/dbus/system_bus_socket
type: ""
name: dbus
- hostPath:
path: /run/systemd
path: /run/systemd/system
type: ""
name: systemd
- hostPath:
Expand All @@ -64,9 +64,9 @@ spec:
name: confidential-containers-artifacts
- mountPath: /etc/systemd/system/
name: etc-systemd-system
- mountPath: /var/run/dbus
- mountPath: /var/run/dbus/system_bus_socket
name: dbus
- mountPath: /run/systemd
- mountPath: /run/systemd/system
name: systemd
volumes:
- hostPath:
Expand All @@ -78,11 +78,11 @@ spec:
type: ""
name: etc-systemd-system
- hostPath:
path: /var/run/dbus
path: /var/run/dbus/system_bus_socket
type: ""
name: dbus
- hostPath:
path: /run/systemd
path: /run/systemd/system
type: ""
name: systemd
preInstall:
Expand All @@ -92,9 +92,9 @@ spec:
name: confidential-containers-artifacts
- mountPath: /etc/systemd/system/
name: etc-systemd-system
- mountPath: /var/run/dbus
- mountPath: /var/run/dbus/system_bus_socket
name: dbus
- mountPath: /run/systemd
- mountPath: /run/systemd/system
name: systemd
- mountPath: /run/hyp.env
name: hyp-env
Expand All @@ -108,11 +108,11 @@ spec:
type: ""
name: etc-systemd-system
- hostPath:
path: /var/run/dbus
path: /var/run/dbus/system_bus_socket
type: ""
name: dbus
- hostPath:
path: /run/systemd
path: /run/systemd/system
type: ""
name: systemd
- hostPath:
Expand Down

0 comments on commit f0a6016

Please sign in to comment.