Skip to content

Commit b8bf3a3

Browse files
committed
📚 Sync docs from alaudadevops/connectors-operator on d4e3ec4657ec05dae428d89f513d54c1e774e3b1
Source: docs: sync main docs from connectors 1.0 (#145) Author: chengjingtao Ref: refs/heads/main Commit: d4e3ec4657ec05dae428d89f513d54c1e774e3b1 This commit automatically syncs documentation changes from the source-docs repository. 🔗 View source commit: AlaudaDevops/connectors-operator@d4e3ec4 🤖 Synced on 2025-08-15 11:02:14 UTC
1 parent 9cfb74b commit b8bf3a3

File tree

17 files changed

+1703
-1668
lines changed

17 files changed

+1703
-1668
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-08-07 01:35:38 UTC
3+
- **Last synced**: 2025-08-15 11:02:14 UTC
44
- **Source repository**: alaudadevops/connectors-operator
5-
- **Source commit**: [baffe3295c099d05acc98e6ec3dc44f4303df345](https://github.com/alaudadevops/connectors-operator/commit/baffe3295c099d05acc98e6ec3dc44f4303df345)
5+
- **Source commit**: [d4e3ec4657ec05dae428d89f513d54c1e774e3b1](https://github.com/alaudadevops/connectors-operator/commit/d4e3ec4657ec05dae428d89f513d54c1e774e3b1)
66
- **Triggered by**: chengjingtao
7-
- **Workflow run**: [#10](https://github.com/alaudadevops/connectors-operator/actions/runs/16792874228)
7+
- **Workflow run**: [#16](https://github.com/alaudadevops/connectors-operator/actions/runs/16988648854)
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: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -29,81 +29,81 @@ 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. Create a clone job using the connector
6969
70-
```shell
71-
cat <<EOF | kubectl apply -f -
72-
apiVersion: batch/v1
73-
kind: Job
74-
metadata:
75-
name: git-clone
76-
namespace: connectors-git-demo
77-
spec:
78-
template:
70+
```shell
71+
cat <<EOF | kubectl apply -f -
72+
apiVersion: batch/v1
73+
kind: Job
74+
metadata:
75+
name: git-clone
76+
namespace: connectors-git-demo
7977
spec:
80-
restartPolicy: Never
81-
containers:
82-
- name: git
83-
image: bitnami/git:2.47.1
84-
imagePullPolicy: IfNotPresent
85-
command:
86-
- "git"
87-
args: [ "clone", "--progress", "https://github.com/AlaudaDevops/connectors-git.git", "/tmp/demo" ] # Change to your repository address
88-
volumeMounts:
89-
- name: gitconfig
90-
mountPath: /root/
91-
volumes:
92-
- name: gitconfig
93-
csi:
94-
readOnly: true
95-
driver: connectors-csi
96-
volumeAttributes:
97-
connector.name: "test-connector"
98-
configuration.names: "gitconfig"
99-
EOF
100-
```
78+
template:
79+
spec:
80+
restartPolicy: Never
81+
containers:
82+
- name: git
83+
image: bitnami/git:2.47.1
84+
imagePullPolicy: IfNotPresent
85+
command:
86+
- "git"
87+
args: [ "clone", "--progress", "https://github.com/AlaudaDevops/connectors-git.git", "/tmp/demo" ] # Change to your repository address
88+
volumeMounts:
89+
- name: gitconfig
90+
mountPath: /root/
91+
volumes:
92+
- name: gitconfig
93+
csi:
94+
readOnly: true
95+
driver: connectors-csi
96+
volumeAttributes:
97+
connector.name: "test-connector"
98+
configuration.names: "gitconfig"
99+
EOF
100+
```
101101
102102
4. View the clone job execution result
103103
104-
```shell
105-
kubectl logs -f job/git-clone -n connectors-git-demo
106-
```
104+
```shell
105+
kubectl logs -f job/git-clone -n connectors-git-demo
106+
```
107107
108108
Parameter descriptions are as follows:
109109

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ status:
149149
# . . .
150150
proxy:
151151
httpAddress:
152-
url: http://dockerhub-demo.default.svc.cluster.local/namespaces/default/connectors/dockerhub-demo
152+
url: http://c-dockerhub-demo.default.svc.cluster.local/namespaces/oci-connector-demo/connectors/oci-connector
153153
```
154154

155155
### Configuration

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Next, we will elaborate on the specific meaning of each item.
2929
1. Modifying the target image address to the proxied image repository address
3030

3131
Example:
32-
harbar.example.com/test/abc:v1 → c-harbor-connector.default.svc.local/test/abc:v1
32+
harbar.example.com/test/abc:v1 → c-harbor-connector.default.svc.local/namespaces/oci-connector-ns/connectors/oci-connector-name/test/abc:v1
3333

3434
2. Configuring the authentication information required to access the proxy
3535

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This article will guide you on how to use the OCI Connector to build images with
1414
When using the OCI Connector within a Kubernetes Job, the following key points should be noted:
1515

1616
- Change the address of the target image being built to the connector's proxy address. [What is the Connector Proxy Address](../concepts/oci_connectorclass.mdx#proxy)
17-
- For example: `harbor.example.cn/test/abc:v1` -> `harbor.default.cluster.local/namespaces/<connector-ns>/connectors/<connector-name>/test/abc:v1`
17+
- For example: harbor.example.cn/test/abc:v1 -> harbor.default.cluster.local/namespaces/oci-connector-ns/connectors/oci-connector-name/test/abc:v1
1818
- Mount the configuration provided by the Connector.
1919
- Configure `insecure registry` for the client tools.
2020

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This article will teach you how to use the OCI Connector in the `Tekton Pipeline
1414
When using the OCI Connector in Tekton Pipeline, there are several key points to note:
1515

1616
- The address of the target image to be built is changed to the connector's proxy address.
17-
- For example: `harbor.example.cn/test/abc:v1` -> `harbor.default.cluster.local/namespaces/<connector-ns>/connectors/<connector-name>/test/abc:v1`
17+
- For example, harbor.example.cn/test/abc:v1 -> harbor.default.cluster.local/namespaces/oci-connector-ns/connectors/oci-connector-name/test/abc:v1
1818
- Mount the configuration provided by the Connector.
1919
- Configure `insecure registry` for the client tools.
2020

‎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
@@ -118,7 +118,7 @@ spec:
118118

119119
Note that once the ConnectorClass specifies authentication detection params, parameters in connector must be provided, even if the Connector is created without specifying secret information, `spec.auth.params` must be passed.
120120

121-
## Proxy Address {#connector_proxy}
121+
## Proxy Address \{#connector_proxy}
122122

123123
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`.
124124

0 commit comments

Comments
 (0)