Skip to content

Commit 3960d30

Browse files
committed
📚 Sync docs from alaudadevops/connectors-operator on 4d1799e9757a47e73dda899b084744a83cf6298b
Source: sync docs from connectors (#143) Author: chengjingtao Ref: refs/heads/release-1.0 Commit: 4d1799e9757a47e73dda899b084744a83cf6298b This commit automatically syncs documentation changes from the source-docs repository. 🔗 View source commit: AlaudaDevops/connectors-operator@4d1799e 🤖 Synced on 2025-08-15 10:27:11 UTC
1 parent 6411901 commit 3960d30

File tree

17 files changed

+6833
-3016
lines changed

17 files changed

+6833
-3016
lines changed

‎.github/SYNC_INFO.md‎

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

3-
- **Last synced**: 2025-07-18 04:09:44 UTC
3+
- **Last synced**: 2025-08-15 10:27:11 UTC
44
- **Source repository**: alaudadevops/connectors-operator
5-
- **Source commit**: [e0617bcedf319b0b4c93f0c5bffa01a6a3b925f9](https://github.com/alaudadevops/connectors-operator/commit/e0617bcedf319b0b4c93f0c5bffa01a6a3b925f9)
6-
- **Triggered by**: danielfbm
7-
- **Workflow run**: [#9](https://github.com/alaudadevops/connectors-operator/actions/runs/16361950693)
5+
- **Source commit**: [4d1799e9757a47e73dda899b084744a83cf6298b](https://github.com/alaudadevops/connectors-operator/commit/4d1799e9757a47e73dda899b084744a83cf6298b)
6+
- **Triggered by**: chengjingtao
7+
- **Workflow run**: [#14](https://github.com/alaudadevops/connectors-operator/actions/runs/16988133077)
88

99
## Files synced:
1010
- docs/

‎.yarn/releases/yarn-4.6.0.cjs‎

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

‎.yarn/releases/yarn-4.9.2.cjs‎

Lines changed: 942 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 81 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -29,101 +29,101 @@ Follow these steps to use the Git Connector to complete code cloning:
2929

3030
1. Create a Namespace
3131

32-
```shell
33-
kubectl create ns connectors-git-demo
34-
```
32+
```shell
33+
kubectl create ns connectors-git-demo
34+
```
3535

3636
2. Create Git Connector and its credentials
3737

38-
```shell
39-
cat <<EOF | kubectl apply -f -
40-
kind: Secret
41-
apiVersion: v1
42-
metadata:
43-
name: test-secret
44-
namespace: connectors-git-demo
45-
type: kubernetes.io/basic-auth
46-
stringData:
47-
username: username # Replace with your Git Server username
48-
password: password # Replace with your Git Server password
49-
---
50-
apiVersion: connectors.alauda.io/v1alpha1
51-
kind: Connector
52-
metadata:
53-
name: test-connector
54-
namespace: connectors-git-demo
55-
spec:
56-
connectorClassName: git
57-
address: https://github.com # Replace with your Git Server address
58-
auth:
59-
name: basicAuth
60-
secretRef:
38+
```shell
39+
cat <<EOF | kubectl apply -f -
40+
kind: Secret
41+
apiVersion: v1
42+
metadata:
6143
name: test-secret
62-
params:
63-
- name: repository
64-
value: AlaudaDevops/connectors-git.git # Replace with the path to the repository accessible by the current credentials
65-
EOF
66-
```
44+
namespace: connectors-git-demo
45+
type: kubernetes.io/basic-auth
46+
stringData:
47+
username: username # Replace with your Git Server username
48+
password: password # Replace with your Git Server password
49+
---
50+
apiVersion: connectors.alauda.io/v1alpha1
51+
kind: Connector
52+
metadata:
53+
name: test-connector
54+
namespace: connectors-git-demo
55+
spec:
56+
connectorClassName: git
57+
address: https://github.com # Replace with your Git Server address
58+
auth:
59+
name: basicAuth
60+
secretRef:
61+
name: test-secret
62+
params:
63+
- name: repository
64+
value: AlaudaDevops/connectors-git.git # Replace with the path to the repository accessible by the current credentials
65+
EOF
66+
```
6767
6868
3. Authorize the Namespace to use the connector
6969
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-
```
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+
```
8787
8888
4. Create a clone job using the connector
8989
90-
```shell
91-
cat <<EOF | kubectl apply -f -
92-
apiVersion: batch/v1
93-
kind: Job
94-
metadata:
95-
name: git-clone
96-
namespace: connectors-git-demo
97-
spec:
98-
template:
90+
```shell
91+
cat <<EOF | kubectl apply -f -
92+
apiVersion: batch/v1
93+
kind: Job
94+
metadata:
95+
name: git-clone
96+
namespace: connectors-git-demo
9997
spec:
100-
restartPolicy: Never
101-
containers:
102-
- name: git
103-
image: bitnami/git:2.47.1
104-
imagePullPolicy: IfNotPresent
105-
command:
106-
- "git"
107-
args: [ "clone", "--progress", "https://github.com/AlaudaDevops/connectors-git.git", "/tmp/demo" ] # Change to your repository address
108-
volumeMounts:
109-
- name: gitconfig
110-
mountPath: /root/
111-
volumes:
112-
- name: gitconfig
113-
csi:
114-
readOnly: true
115-
driver: connectors-csi
116-
volumeAttributes:
117-
connector.name: "test-connector"
118-
configuration.names: "gitconfig"
119-
EOF
120-
```
98+
template:
99+
spec:
100+
restartPolicy: Never
101+
containers:
102+
- name: git
103+
image: bitnami/git:2.47.1
104+
imagePullPolicy: IfNotPresent
105+
command:
106+
- "git"
107+
args: [ "clone", "--progress", "https://github.com/AlaudaDevops/connectors-git.git", "/tmp/demo" ] # Change to your repository address
108+
volumeMounts:
109+
- name: gitconfig
110+
mountPath: /root/
111+
volumes:
112+
- name: gitconfig
113+
csi:
114+
readOnly: true
115+
driver: connectors-csi
116+
volumeAttributes:
117+
connector.name: "test-connector"
118+
configuration.names: "gitconfig"
119+
EOF
120+
```
121121
122122
5. View the clone job execution result
123123
124-
```shell
125-
kubectl logs -f job/git-clone -n connectors-git-demo
126-
```
124+
```shell
125+
kubectl logs -f job/git-clone -n connectors-git-demo
126+
```
127127
128128
Parameter descriptions are as follows:
129129

‎docs/en/connectors-git/intro.mdx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
weight: 10
33
sourceSHA: f004f8b0f9bbecaa15de28d21a8a367a113c07b6af44a6de5e86fc96d5f13741
44
---
5-
65
# Introduction
76

87
## Connectors Git

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ weight: 70
33
i18n:
44
title:
55
en: Troubleshooting
6-
sourceSHA: 8f04f4df58848dd0c8fded6b7971a0c1a25b7ae586810b24fad45cf7798c8fa2
76
title: Troubleshooting
87
---
98

‎docs/en/connectors-oci/how_to/oci_connectorclass.mdx‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ spec:
107107

108108
Health check configuration:
109109

110-
- `repository`: Specifies the image repository used for health checks.
111-
- Example: `library/ubuntu`.
110+
`repository`: Specifies the image repository used for health checks, example: `library/ubuntu`.
112111

113112
```yaml
114113
apiVersion: connectors.alauda.io/v1alpha1
@@ -145,7 +144,7 @@ After creating the Connector, the system will perform the following operations:
145144
1. Perform health checks using the image repository specified by `spec.auth.params[name=repository]`.
146145
2. Store the check results in the `status.conditions[type=AuthReady]` field.
147146

148-
### Configuration Information {#configuration}
147+
### Configuration Information \{#configuration}
149148

150149
`OCI ConnectorClass` provides the following configurations:
151150

@@ -191,7 +190,7 @@ insecure-entitlements = [ "network.host", "security.insecure" ]
191190

192191
You can mount this configuration information into Pods using connectors-csi, enabling keyless (Secretless) image pushing or pulling.
193192

194-
### Proxy Information {#proxy}
193+
### Proxy Information \{#proxy}
195194

196195
After creating the Connector, the system will:
197196

‎docs/en/connectors-oci/how_to/using_oci_connector_in_tekton_pipeline.mdx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ Pass the following parameters to TaskRun:
122122
- Specify the `buildkitd-config` workspace as the `buildkitd` configuration of the OCI connector, thereby mounting `buildkitd.toml`.
123123
- Adjust the target image address for the push to the proxy address.
124124

125+
{/* lint ignore code-block-split-list */}
126+
125127
```shell
126128
kubectl create -f - <<EOF
127129
apiVersion: tekton.dev/v1beta1

‎docs/en/connectors/architecture/index.mdx‎

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,21 @@ For example, a `Harbor ConnectorClass` can be defined to support integration wit
3131

3232
## Connectors Proxy
3333

34-
TODO:
34+
`ConnectorsProxy` is a core component of the `Connectors` system that provides a secure, secretless way to access integrated tools within a Kubernetes cluster. It acts as a proxy server that handles authentication and routing of requests to the actual tool endpoints.
35+
36+
`ConnectorsProxy` enables clients to access tool resources without needing to handle authentication credentials directly. This significantly improves security by:
37+
38+
- Eliminates the need to distribute tool credentials directly to clients by using short-lived tokens issued by ServiceAccount.
39+
- Preventing credential exposure in logs or environment variables
40+
- Centralizing credential management
41+
42+
It supports various protocols and can handle different types of tool integrations:
43+
44+
- HTTP/HTTPS protocols for REST APIs
45+
- Git protocol witch HTTP Basic Auth for code repositories server (e.g. GitHub, GitLab)
46+
- OCI protocol witch Bearar Token Authorization for OCI registries (e.g. Harbor, Docker Registry)
47+
48+
More information: [Connectors Proxy](../concepts/connectors_proxy.mdx)
3549

3650
## Connectors API
3751

‎docs/en/connectors/concepts/connector.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ spec:
115115
value: "org/repo.git"
116116
```
117117

118-
## Proxy Address {#connector_proxy}
118+
## Proxy Address \{#connector_proxy}
119119

120120
If the `Connector` points to a `ConnectorClass` that has configured [proxy capability](./connectorclass.mdx#proxy), the system will allocate a proxy address for each `Connector`.
121121

0 commit comments

Comments
 (0)