File tree Expand file tree Collapse file tree 7 files changed +15
-7
lines changed Expand file tree Collapse file tree 7 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ COPY --from=builder /tmp/build/openshift-sdn /usr/bin/
18
18
COPY --from=builder /tmp/build/sdn-cni-plugin /opt/cni/bin/openshift-sdn
19
19
COPY --from=builder /tmp/build/loopback /opt/cni/bin/
20
20
COPY --from=builder /tmp/build/host-local /opt/cni/bin/
21
- COPY images/sdn/scripts/* /usr/sbin/
22
21
23
22
RUN INSTALL_PKGS=" \
24
23
openvswitch2.11 container-selinux socat ethtool nmap-ncat \
@@ -29,6 +28,15 @@ RUN INSTALL_PKGS=" \
29
28
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
30
29
mkdir -p /etc/sysconfig/cni/net.d && \
31
30
yum clean all && rm -rf /var/cache/*
31
+
32
+ COPY ./images/sdn/scripts/iptables /usr/sbin/
33
+ COPY ./images/sdn/scripts/iptables-save /usr/sbin/
34
+ COPY ./images/sdn/scripts/iptables-restore /usr/sbin/
35
+ COPY ./images/sdn/scripts/ip6tables /usr/sbin/
36
+ COPY ./images/sdn/scripts/ip6tables-save /usr/sbin/
37
+ COPY ./images/sdn/scripts/ip6tables-restore /usr/sbin/
38
+ COPY ./images/sdn/scripts/iptables /usr/sbin/
39
+
32
40
LABEL io.k8s.display-name="OpenShift SDN" \
33
41
io.k8s.description="This is a component of OpenShift and contains the networking tool stack for the default SDN implementation." \
34
42
io.openshift.tags="openshift,sdn"
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- exec chroot /host /usr/sbin/ip6tables $@
3
+ exec chroot /host /usr/sbin/ip6tables " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- exec chroot /host /usr/sbin/ip6tables-restore $@
3
+ exec chroot /host /usr/sbin/ip6tables-restore " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- exec chroot /host /usr/sbin/ip6tables-save $@
3
+ exec chroot /host /usr/sbin/ip6tables-save " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- exec chroot /host /usr/sbin/iptables $@
3
+ exec chroot /host /usr/sbin/iptables " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- exec chroot /host /usr/sbin/iptables-restore $@
3
+ exec chroot /host /usr/sbin/iptables-restore " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- exec chroot /host /usr/sbin/iptables-save $@
3
+ exec chroot /host /usr/sbin/iptables-save " $@ "
You can’t perform that action at this time.
0 commit comments