-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- also, vagrantfiles for testing el7, el8, and sle
- Loading branch information
Showing
28 changed files
with
1,187 additions
and
219 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.dapper | ||
/dist | ||
/.vagrant/ | ||
*.rpm | ||
.dapper | ||
.vagrant/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
ARG TUMBLEWEED=opensuse/tumbleweed | ||
FROM ${TUMBLEWEED} | ||
ADD https://github.com/AkihiroSuda/clone3-workaround/releases/download/v1.0.0/clone3-workaround.x86_64 /bin/clone3-workaround | ||
RUN chmod +x /bin/clone3-workaround | ||
SHELL ["clone3-workaround", "/usr/bin/env", "bash","-c"] | ||
RUN zypper install -y container-selinux git rpm-build selinux-policy-devel | ||
|
||
|
||
ENV DAPPER_SOURCE /source | ||
ENV DAPPER_OUTPUT ./dist | ||
ENV DAPPER_ENV COMBARCH DRONE_TAG TAG | ||
ENV HOME ${DAPPER_SOURCE} | ||
WORKDIR ${DAPPER_SOURCE} | ||
|
||
ENTRYPOINT ["clone3-workaround", "./policy/microos/scripts/entry"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
# vim: sw=8:ts=8:et | ||
|
||
/etc/systemd/system/rke2.* -- gen_context(system_u:object_r:container_unit_file_t,s0) | ||
/lib/systemd/system/rke2.* -- gen_context(system_u:object_r:container_unit_file_t,s0) | ||
/usr/local/lib/systemd/system/rke2.* -- gen_context(system_u:object_r:container_unit_file_t,s0) | ||
/usr/bin/rke2 -- gen_context(system_u:object_r:container_runtime_exec_t,s0) | ||
/usr/local/bin/rke2 -- gen_context(system_u:object_r:container_runtime_exec_t,s0) | ||
/var/lib/cni(/.*)? gen_context(system_u:object_r:container_var_lib_t,s0) | ||
/var/lib/kubelet/pods(/.*)? gen_context(system_u:object_r:container_file_t,s0) | ||
/var/lib/rancher/rke2(/.*)? gen_context(system_u:object_r:container_var_lib_t,s0) | ||
/var/lib/rancher/rke2/data(/.*)? gen_context(system_u:object_r:container_runtime_exec_t,s0) | ||
/var/lib/rancher/rke2/data/[^/]*/charts(/.*)? gen_context(system_u:object_r:container_config_t,s0) | ||
/var/lib/rancher/rke2/agent/containerd/[^/]*/snapshots -d gen_context(system_u:object_r:container_share_t,s0) | ||
/var/lib/rancher/rke2/agent/containerd/[^/]*/snapshots/[^/]* -d gen_context(system_u:object_r:container_share_t,s0) | ||
/var/lib/rancher/rke2/agent/containerd/[^/]*/snapshots/[^/]*/.* <<none>> | ||
/var/lib/rancher/rke2/agent/containerd/[^/]*/sandboxes(/.*)? gen_context(system_u:object_r:container_share_t,s0) | ||
/var/lib/rancher/rke2/server/logs(/.*)? gen_context(system_u:object_r:container_log_t,s0) | ||
/var/run/flannel(/.*)? gen_context(system_u:object_r:container_var_run_t,s0) | ||
/var/run/k3s(/.*)? gen_context(system_u:object_r:container_var_run_t,s0) | ||
/var/run/k3s/containerd/[^/]*/sandboxes/[^/]*/shm(/.*)? gen_context(system_u:object_r:container_runtime_tmpfs_t,s0) | ||
/var/lib/kubelet/pods(/.*)? gen_context(system_u:object_r:container_file_t,s0) | ||
/var/log/containers(/.*)? gen_context(system_u:object_r:container_log_t,s0) | ||
/var/log/pods(/.*)? gen_context(system_u:object_r:container_log_t,s0) | ||
/var/lib/rancher/rke2/server/logs(/.*)? gen_context(system_u:object_r:container_log_t,s0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
# vim: sw=8:ts=8:et | ||
|
||
# commented items are lines retained for parity when comparing policy between target distributions. | ||
# these are commented because they will cause conflict and/or crash when attempting to install with upstream | ||
# container-selinux: https://github.com/containers/container-selinux/pull/140/files | ||
|
||
/etc/systemd/system/rke2.* -- gen_context(system_u:object_r:container_unit_file_t,s0) | ||
/lib/systemd/system/rke2.* -- gen_context(system_u:object_r:container_unit_file_t,s0) | ||
/usr/local/lib/systemd/system/rke2.* -- gen_context(system_u:object_r:container_unit_file_t,s0) | ||
/usr/bin/rke2 -- gen_context(system_u:object_r:container_runtime_exec_t,s0) | ||
/usr/local/bin/rke2 -- gen_context(system_u:object_r:container_runtime_exec_t,s0) | ||
#/var/lib/cni(/.*)? gen_context(system_u:object_r:container_var_lib_t,s0) | ||
#/var/lib/kubelet/pods(/.*)? gen_context(system_u:object_r:container_file_t,s0) | ||
/var/lib/rancher/rke2(/.*)? gen_context(system_u:object_r:container_var_lib_t,s0) | ||
/var/lib/rancher/rke2/data(/.*)? gen_context(system_u:object_r:container_runtime_exec_t,s0) | ||
/var/lib/rancher/rke2/data/[^/]*/charts(/.*)? gen_context(system_u:object_r:container_config_t,s0) | ||
/var/lib/rancher/rke2/agent/containerd/[^/]*/snapshots -d gen_context(system_u:object_r:container_share_t,s0) | ||
/var/lib/rancher/rke2/agent/containerd/[^/]*/snapshots/[^/]* -d gen_context(system_u:object_r:container_share_t,s0) | ||
/var/lib/rancher/rke2/agent/containerd/[^/]*/snapshots/[^/]*/.* <<none>> | ||
/var/lib/rancher/rke2/agent/containerd/[^/]*/sandboxes(/.*)? gen_context(system_u:object_r:container_share_t,s0) | ||
/var/lib/rancher/rke2/server/logs(/.*)? gen_context(system_u:object_r:container_log_t,s0) | ||
#/var/run/flannel(/.*)? gen_context(system_u:object_r:container_var_run_t,s0) | ||
#/var/run/k3s(/.*)? gen_context(system_u:object_r:container_var_run_t,s0) | ||
#/var/run/k3s/containerd/[^/]*/sandboxes/[^/]*/shm(/.*)? gen_context(system_u:object_r:container_runtime_tmpfs_t,s0) | ||
#/var/log/containers(/.*)? gen_context(system_u:object_r:container_log_t,s0) | ||
#/var/log/pods(/.*)? gen_context(system_u:object_r:container_log_t,s0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.