Skip to content

Commit c31fee9

Browse files
author
edge-katanomi-app2[bot]
committed
📚 Sync docs from alaudadevops/connectors-operator on e964585fe4cabafec837c233582b9eed151c434f
Source: add Pod Security Requirements for Installation description (#426) Author: chengjingtao Ref: refs/heads/main Commit: e964585fe4cabafec837c233582b9eed151c434f This commit automatically syncs documentation changes from the source-docs repository. 🔗 View source commit: https://github.com/alaudadevops/connectors-operator/commit/e964585fe4cabafec837c233582b9eed151c434f 🤖 Synced on 2025-12-10 11:07:31 UTC
1 parent 35464ab commit c31fee9

File tree

2 files changed

+35
-3
lines changed

2 files changed

+35
-3
lines changed

‎.github/SYNC_INFO.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Documentation Sync Information
22

3-
- **Last synced**: 2025-12-02 13:39:16 UTC
3+
- **Last synced**: 2025-12-10 11:07:31 UTC
44
- **Source repository**: alaudadevops/connectors-operator
5-
- **Source commit**: [9041b331ce4880e9ddc8dfc02f388740c79ecab8](https://github.com/alaudadevops/connectors-operator/commit/9041b331ce4880e9ddc8dfc02f388740c79ecab8)
5+
- **Source commit**: [e964585fe4cabafec837c233582b9eed151c434f](https://github.com/alaudadevops/connectors-operator/commit/e964585fe4cabafec837c233582b9eed151c434f)
66
- **Triggered by**: edge-katanomi-app2[bot]
7-
- **Workflow run**: [#57](https://github.com/alaudadevops/connectors-operator/actions/runs/19860571045)
7+
- **Workflow run**: [#58](https://github.com/alaudadevops/connectors-operator/actions/runs/20096482907)
88

99
## Files synced:
1010
- docs/

‎docs/en/install.mdx‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@ Before installing, ensure you have:
3232
- Admin permissions on the cluster
3333
- Connectors Operator is `Ready` on ACP Operator Hub
3434

35+
### Pod Security Requirements for Installation \{#pod-security-requirements-for-installation}
36+
37+
Kubernetes enforces [Pod Security Standards](https://kubernetes.io/docs/concepts/security/pod-security-standards/) (PSS) at the namespace level. The Connectors system consists of components with different privilege requirements:
38+
39+
| Component | Suggested Policy | Rationale |
40+
| ---------- | ---------------- | --------- |
41+
| **Connectors Operator** | `restricted` | Runs as a standard Kubernetes controller and does not rely on privileged capabilities. The Operator also runs correctly under the less-permissive `baseline`, but `restricted` aligns better with least-privilege practices. |
42+
| **Other Connectors Components** (ConnectorsCore, ConnectorsGit, ConnectorsGitLab, etc.) | `privileged` | The Connectors-CSI component requires host-level access (e.g., hostPath mounts, privileged syscalls) to provide CSI driver functionality. This requirement forces the entire namespace to adopt the `privileged` policy. |
43+
44+
**Note**: If the namespace is configured with an insufficient policy (e.g., `restricted` or `baseline` for CSI components), the CSI driver will fail to start due to blocked privileged operations. Conversely, applying `privileged` where not needed broadens the namespace's attack surface.
45+
3546
### Install Connectors Operator
3647

3748
First, install the Connectors Operator which manages the lifecycle of all other components.
@@ -630,3 +641,24 @@ spec:
630641
631642
# Other configurations as needed
632643
```
644+
645+
## Troubleshooting
646+
647+
### connectors-csi is not ready
648+
649+
If `daemonset/connectors-csi` is not ready, check the events of the `connectors-csi` pod.
650+
A common error looks like:
651+
652+
```
653+
Error creating: pods "connectors-csi-d4r6r" is forbidden: violates PodSecurity "baseline:latest": non-default capabilities (container "driver" must not include "SYS_ADMIN" in securityContext.capabilities.add), host namespaces (hostNetwork=true), hostPath volumes (volumes "socket-dir", "mountpoint-dir", "registration-dir") . . .
654+
```
655+
656+
This means the namespace's Pod Security level is too restrictive for the CSI driver.
657+
658+
**Fix**
659+
660+
- Ensure the namespace is configured with the **`privileged`** Pod Security level.
661+
- Update the namespace with the correct labels.
662+
- Restart the `connectors-csi` DaemonSet.
663+
664+
For details, see [Pod Security Requirements for Installation](#pod-security-requirements-for-installation).

0 commit comments

Comments
 (0)