From a567ee6e482497c0e9c8734bfc1899ccd7b9fd81 Mon Sep 17 00:00:00 2001 From: atye Date: Fri, 29 Jul 2022 11:59:04 -0400 Subject: [PATCH 1/4] update auth rpm prereq --- .../docs/authorization/deployment/rpm/_index.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/content/docs/authorization/deployment/rpm/_index.md b/content/docs/authorization/deployment/rpm/_index.md index 0eecfaf4c7..50ac6833df 100644 --- a/content/docs/authorization/deployment/rpm/_index.md +++ b/content/docs/authorization/deployment/rpm/_index.md @@ -19,7 +19,19 @@ The CSM for Authorization proxy server requires a Linux host with the following These packages need to be installed on the Linux host: - container-selinux -- https://rpm.rancher.io/k3s/stable/common/centos/7/noarch/k3s-selinux-0.4-1.el7.noarch.rpm +- k3s-selinux-0.4-1 + +Use the appropriate package manager on the machine to install the packages. + +### Example using yum on CentOS/RedHat 7: + +yum install -y container-selinux +yum install -y https://rpm.rancher.io/k3s/stable/common/centos/7/noarch/k3s-selinux-0.4-1.el7.noarch.rpm + +### Example using yum on CentOS/RedHat 8: + +yum install -y container-selinux +yum install -y https://rpm.rancher.io/k3s/stable/common/centos/8/noarch/k3s-selinux-0.4-1.el8.noarch.rpm ## Deploying the CSM Authorization Proxy Server From a6433536f674f802f67d596cd1c6ace43c1fe533 Mon Sep 17 00:00:00 2001 From: atye Date: Fri, 29 Jul 2022 12:05:22 -0400 Subject: [PATCH 2/4] add new lines --- content/docs/authorization/deployment/rpm/_index.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/docs/authorization/deployment/rpm/_index.md b/content/docs/authorization/deployment/rpm/_index.md index 50ac6833df..e7780a2ba8 100644 --- a/content/docs/authorization/deployment/rpm/_index.md +++ b/content/docs/authorization/deployment/rpm/_index.md @@ -23,14 +23,16 @@ These packages need to be installed on the Linux host: Use the appropriate package manager on the machine to install the packages. -### Example using yum on CentOS/RedHat 7: +### Using yum on CentOS/RedHat 7: yum install -y container-selinux + yum install -y https://rpm.rancher.io/k3s/stable/common/centos/7/noarch/k3s-selinux-0.4-1.el7.noarch.rpm -### Example using yum on CentOS/RedHat 8: +### Using yum on CentOS/RedHat 8: yum install -y container-selinux + yum install -y https://rpm.rancher.io/k3s/stable/common/centos/8/noarch/k3s-selinux-0.4-1.el8.noarch.rpm ## Deploying the CSM Authorization Proxy Server From 08c68ad3c7b53c926397bb6a46c0bfc60600211f Mon Sep 17 00:00:00 2001 From: atye Date: Mon, 1 Aug 2022 09:14:52 -0400 Subject: [PATCH 3/4] add dark site instructions --- content/docs/authorization/deployment/rpm/_index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/docs/authorization/deployment/rpm/_index.md b/content/docs/authorization/deployment/rpm/_index.md index e7780a2ba8..fd7b362ede 100644 --- a/content/docs/authorization/deployment/rpm/_index.md +++ b/content/docs/authorization/deployment/rpm/_index.md @@ -35,6 +35,12 @@ yum install -y container-selinux yum install -y https://rpm.rancher.io/k3s/stable/common/centos/8/noarch/k3s-selinux-0.4-1.el8.noarch.rpm +### Dark Sites + +For environments where `yum` will not work, obtain the supported version of container-selinux for your OS version and install it. + +The k3s-selinux-0.4-1 RPM can be obtained from [https://rpm.rancher.io/k3s/stable/common/centos/7/noarch/k3s-selinux-0.4-1.el7.noarch.rpm](https://rpm.rancher.io/k3s/stable/common/centos/7/noarch/k3s-selinux-0.4-1.el7.noarch.rpm) or [https://rpm.rancher.io/k3s/stable/common/centos/8/noarch/k3s-selinux-0.4-1.el8.noarch.rpm](https://rpm.rancher.io/k3s/stable/common/centos/8/noarch/k3s-selinux-0.4-1.el8.noarch.rpm) for CentOS/RedHat 7 and 8, respectively. Download the supported version of k3s-selinux-0.4-1 for your OS version and install it. + ## Deploying the CSM Authorization Proxy Server The first part of deploying CSM for Authorization is installing the proxy server. This activity and the administration of the proxy server will be owned by the storage administrator. From 794b597cd9746e551aa44efef842d35b4498c3a4 Mon Sep 17 00:00:00 2001 From: atye Date: Mon, 1 Aug 2022 17:06:02 -0400 Subject: [PATCH 4/4] update container-selinux RPM download location --- content/docs/authorization/deployment/rpm/_index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/docs/authorization/deployment/rpm/_index.md b/content/docs/authorization/deployment/rpm/_index.md index fd7b362ede..8d485b7f4e 100644 --- a/content/docs/authorization/deployment/rpm/_index.md +++ b/content/docs/authorization/deployment/rpm/_index.md @@ -39,6 +39,8 @@ yum install -y https://rpm.rancher.io/k3s/stable/common/centos/8/noarch/k3s-seli For environments where `yum` will not work, obtain the supported version of container-selinux for your OS version and install it. +The container-selinux RPMs for CentOS/RedHat 7 and 8 can be downloaded from [https://centos.pkgs.org/7/centos-extras-x86_64/](https://centos.pkgs.org/7/centos-extras-x86_64/) and [https://centos.pkgs.org/8/centos-appstream-x86_64/](https://centos.pkgs.org/8/centos-appstream-x86_64/), respectively. + The k3s-selinux-0.4-1 RPM can be obtained from [https://rpm.rancher.io/k3s/stable/common/centos/7/noarch/k3s-selinux-0.4-1.el7.noarch.rpm](https://rpm.rancher.io/k3s/stable/common/centos/7/noarch/k3s-selinux-0.4-1.el7.noarch.rpm) or [https://rpm.rancher.io/k3s/stable/common/centos/8/noarch/k3s-selinux-0.4-1.el8.noarch.rpm](https://rpm.rancher.io/k3s/stable/common/centos/8/noarch/k3s-selinux-0.4-1.el8.noarch.rpm) for CentOS/RedHat 7 and 8, respectively. Download the supported version of k3s-selinux-0.4-1 for your OS version and install it. ## Deploying the CSM Authorization Proxy Server