Skip to content

Commit 9a2602d

Browse files
committed
Add logically bound images for EDPM services
This change adds logically bound images for use with bootc. This is implementing based on: https://containers.github.io/bootc/logically-bound-images.html Signed-off-by: Brendan Shephard <[email protected]>
1 parent 1f6b557 commit 9a2602d

File tree

17 files changed

+1370
-28
lines changed

17 files changed

+1370
-28
lines changed

bootc/Containerfile.centos9

Lines changed: 49 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,55 @@ RUN rm -rf /etc/yum.repos.d/*.repo
44
COPY output/yum.repos.d /etc/yum.repos.d
55

66
ARG PACKAGES="\
7-
bind-utils \
8-
buildah \
9-
cephadm \
10-
chrony \
11-
cloud-init \
12-
crudini \
13-
crypto-policies-scripts \
14-
device-mapper-multipath \
15-
driverctl \
16-
grubby \
17-
iproute-tc \
18-
iptables-services \
19-
iscsi-initiator-utils \
20-
jq \
21-
lvm2 \
22-
nftables \
23-
numactl \
24-
openssh-server \
25-
openstack-selinux \
26-
openvswitch \
27-
os-net-config \
28-
podman \
29-
python3-libselinux \
30-
python3-pyyaml \
31-
rsync \
32-
tmpwatch \
33-
tuned-profiles-cpu-partitioning \
34-
sysstat"
7+
bind-utils \
8+
buildah \
9+
cephadm \
10+
chrony \
11+
cloud-init \
12+
crudini \
13+
crypto-policies-scripts \
14+
device-mapper-multipath \
15+
driverctl \
16+
grubby \
17+
iproute-tc \
18+
iptables-services \
19+
iscsi-initiator-utils \
20+
jq \
21+
lvm2 \
22+
NetworkManager-ovs \
23+
nftables \
24+
numactl \
25+
openssh-server \
26+
openstack-selinux \
27+
openvswitch \
28+
os-net-config \
29+
podman \
30+
python3-libselinux \
31+
python3-pyyaml \
32+
rsync \
33+
sysstat \
34+
tmpwatch \
35+
tuned-profiles-cpu-partitioning"
36+
3537
ARG ENABLE_UNITS="openvswitch"
3638

3739
RUN dnf -y update && dnf -y install $PACKAGES && dnf clean all && systemctl enable $ENABLE_UNITS
40+
41+
# Template systemd service for services
42+
COPY embedded-services/quadlets/systemd/service-template.kube /usr/share/containers/systemd/[email protected]
43+
44+
## Service specific quadlets
45+
COPY embedded-services/quadlets/ovn-controller/ovn_controller.yaml /usr/share/containers/systemd/ovn_controller.yaml
46+
COPY embedded-services/quadlets/ovn-controller/ovn_controller.image /usr/share/containers/systemd/ovn_controller.image
47+
COPY embedded-services/quadlets/iscsid/iscsid.yaml /usr/share/containers/systemd/iscsid.yaml
48+
COPY embedded-services/quadlets/iscsid/iscsid.image /usr/share/containers/systemd/iscsid.image
49+
COPY embedded-services/quadlets/nova_compute/nova_compute.yaml /usr/share/containers/systemd/nova_compute.yaml
50+
COPY embedded-services/quadlets/nova_compute/nova_compute.image /usr/share/containers/systemd/nova_compute.image
51+
COPY embedded-services/quadlets/ovn_metadata_agent/ovn_metadata_agent.yaml /usr/share/containers/systemd/ovn_metadata_agent.yaml
52+
COPY embedded-services/quadlets/ovn_metadata_agent/ovn_metadata_agent.image /usr/share/containers/systemd/ovn_metadata_agent.image
53+
COPY embedded-services/quadlets/logrotate_crond/logrotate_crond.yaml /usr/share/containers/systemd/logrotate_crond.yaml
54+
COPY embedded-services/quadlets/logrotate_crond/logrotate_crond.image /usr/share/containers/systemd/logrotate_crond.image
55+
COPY embedded-services/quadlets/multipathd/multipathd.yaml /usr/share/containers/systemd/multipathd.yaml
56+
COPY embedded-services/quadlets/multipathd/multipathd.image /usr/share/containers/systemd/multipathd.image
57+
COPY embedded-services/quadlets/ceilometer_agent_compute/ceilometer_agent_compute.yaml /usr/share/containers/systemd/ceilometer_agent_compute.yaml
58+
COPY embedded-services/quadlets/ceilometer_agent_compute/ceilometer_agent_compute.image /usr/share/containers/systemd/ceilometer_agent_compute.image

0 commit comments

Comments
 (0)