Skip to content

Commit 589a610

Browse files
committed
📚 Sync docs from alaudadevops/connectors-operator on 7fda92e7b7528372141e97cd7220424dd00a115e
Source: chore: Adds sync workflow to public docs repo (#92) (#96) Author: alaudabot Ref: refs/heads/release-1.0 Commit: 7fda92e7b7528372141e97cd7220424dd00a115e This commit automatically syncs documentation changes from the source-docs repository. 🔗 View source commit: AlaudaDevops/connectors-operator@7fda92e 🤖 Synced on 2025-07-07 04:06:39 UTC
1 parent 46c66dd commit 589a610

22 files changed

+2327
-6057
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-07-07 03:37:17 UTC
3+
- **Last synced**: 2025-07-07 04:06:39 UTC
44
- **Source repository**: alaudadevops/connectors-operator
5-
- **Source commit**: [cfc715d72aca3113a8a6c335b30b4ea0743c369e](https://github.com/alaudadevops/connectors-operator/commit/cfc715d72aca3113a8a6c335b30b4ea0743c369e)
5+
- **Source commit**: [7fda92e7b7528372141e97cd7220424dd00a115e](https://github.com/alaudadevops/connectors-operator/commit/7fda92e7b7528372141e97cd7220424dd00a115e)
66
- **Triggered by**: chengjingtao
7-
- **Workflow run**: [#2](https://github.com/alaudadevops/connectors-operator/actions/runs/16106973390)
7+
- **Workflow run**: [#3](https://github.com/alaudadevops/connectors-operator/actions/runs/16107339610)
88

99
## Files synced:
1010
- docs/

‎docs/en/connectors-git/concepts/git_connectorclass.mdx‎

Lines changed: 0 additions & 199 deletions
This file was deleted.

‎docs/en/connectors-git/concepts/index.mdx‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

‎docs/en/connectors-git/functions/index.mdx‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎docs/en/connectors-git/functions/using-in-tekton-task.mdx‎

Lines changed: 0 additions & 71 deletions
This file was deleted.

‎docs/en/connectors-git/how_to/use-git-connector-in-clone-job.md‎

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,27 @@ spec:
6565
EOF
6666
```
6767

68-
3. Create a clone job using the connector
68+
3. Authorize the Namespace to use the connector
69+
70+
```shell
71+
cat <<EOF | kubectl apply -f -
72+
apiVersion: rbac.authorization.k8s.io/v1
73+
kind: RoleBinding
74+
metadata:
75+
name: connectors-reader-binding
76+
namespace: connectors-git-demo
77+
subjects:
78+
- kind: Group
79+
name: system:serviceaccounts:connectors-git-demo
80+
apiGroup: rbac.authorization.k8s.io
81+
roleRef:
82+
kind: ClusterRole
83+
name: connectors-connector-viewer-role
84+
apiGroup: rbac.authorization.k8s.io
85+
EOF
86+
```
87+
88+
4. Create a clone job using the connector
6989

7090
```shell
7191
cat <<EOF | kubectl apply -f -
@@ -99,7 +119,7 @@ spec:
99119
EOF
100120
```
101121

102-
4. View the clone job execution result
122+
5. View the clone job execution result
103123

104124
```shell
105125
kubectl logs -f job/git-clone -n connectors-git-demo

‎docs/en/connectors-git/trouble_shooting/csi_driver_issues.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ kubectl describe pod <pod-name> -n <namespace>
103103

104104
**Example error and resolution**:
105105
```
106-
Warning FailedMount 3m (x5 over 5m) kubelet MountVolume.SetUp failed for volume "gitconfig" :
106+
Warning FailedMount 3m (x5 over 5m) kubelet MountVolume.SetUp failed for volume "gitconfig" :
107107
rpc error: code = NotFound desc = connector "git-github" not found
108108
```
109109
*Resolution*: Create the connector or correct the connector name in the volume attributes.

0 commit comments

Comments
 (0)