Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary 'make-iptables-util-chains=true' from hardening guide #269

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/known-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ kube-controller-manager-arg:
- 'use-service-account-credentials=true'
kubelet-arg:
- 'streaming-connection-idle-timeout=5m'
- 'make-iptables-util-chains=true'
```
2. Create the `/var/lib/rancher/k3s/server/psa.yaml` file with the following contents. You may want to exempt more namespaces as well. The below example exempts `kube-system` (required), `cis-operator-system` (optional, but useful for when running security scans through Rancher), and `system-upgrade` (required if doing [Automated Upgrades](./upgrades/automated.md)).
```yaml
Expand Down
2 changes: 0 additions & 2 deletions docs/security/hardening-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,6 @@ kube-controller-manager-arg:
- 'use-service-account-credentials=true'
kubelet-arg:
- 'streaming-connection-idle-timeout=5m'
- 'make-iptables-util-chains=true'
```

</TabItem>
Expand All @@ -605,7 +604,6 @@ kube-controller-manager-arg:
- 'use-service-account-credentials=true'
kubelet-arg:
- 'streaming-connection-idle-timeout=5m'
- 'make-iptables-util-chains=true'
```

</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ kube-controller-manager-arg:
- "use-service-account-credentials=true"
kubelet-arg:
- "streaming-connection-idle-timeout=5m"
- "make-iptables-util-chains=true"
```

2. `/var/lib/rancher/k3s/server/psa.yaml` 파일을 다음 내용으로 작성합니다. 더 많은 네임스페이스를 제외할 수도 있습니다. 아래 예시는 `kube-system`(필수), `cis-operator-system`(선택적이지만 Rancher를 통해 보안 스캔을 실행할 때 유용), `system-upgrade`(자동 업그레이드를 수행하는 경우 필수)을 제외합니다.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,6 @@ kube-controller-manager-arg:
- 'use-service-account-credentials=true'
kubelet-arg:
- 'streaming-connection-idle-timeout=5m'
- 'make-iptables-util-chains=true'
```

</TabItem>
Expand All @@ -607,7 +606,6 @@ kube-controller-manager-arg:
- 'use-service-account-credentials=true'
kubelet-arg:
- 'streaming-connection-idle-timeout=5m'
- 'make-iptables-util-chains=true'
```

</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ kube-controller-manager-arg:
- 'use-service-account-credentials=true'
kubelet-arg:
- 'streaming-connection-idle-timeout=5m'
- 'make-iptables-util-chains=true'
```
2. 使用以下内容创建 `/var/lib/rancher/k3s/server/psa.yaml` 文件。你可能还想豁免更多命名空间。下面的示例豁免了 `kube-system`(必需)、`cis-operator-system`(可选,但在通过 Rancher 运行安全扫描时很有用)和 `system- upgrade`(如果执行[自动升级](./upgrades/automated.md)则需要)。
```yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,6 @@ kube-controller-manager-arg:
- 'use-service-account-credentials=true'
kubelet-arg:
- 'streaming-connection-idle-timeout=5m'
- 'make-iptables-util-chains=true'
```

</TabItem>
Expand All @@ -610,7 +609,6 @@ kube-controller-manager-arg:
- 'use-service-account-credentials=true'
kubelet-arg:
- 'streaming-connection-idle-timeout=5m'
- 'make-iptables-util-chains=true'
```

</TabItem>
Expand Down