You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42-7Lines changed: 42 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,11 +23,11 @@ For detailed GGBridge configuration instructions on the GitGuardian platform, pl
23
23
24
24
In summary, the setup process involves the following steps:
25
25
26
-
1.**Request Bridge Access**
27
-
2.**Create Your Bridge**
28
-
3.**Configure the Bridge Client**
29
-
4.**Configure URL Mapping** (if not done during creation)
30
-
5.**Configure Your Integrations**
26
+
1. Request Bridge Access
27
+
2. Create Your Bridge
28
+
3. Configure the Bridge Client
29
+
4. Configure URL Mapping
30
+
5. Configure Your Integrations
31
31
32
32
**ggbridge** is distributed as a Distroless Docker image based on Wolfi OS, ensuring minimal dependencies and enhanced security.
33
33
Additionaly, a **shell** variant of the Docker image is available, this version includes additional tools and allows you to connect to the container via a shell, facilitating troubleshooting and debugging during development or integration.
@@ -39,10 +39,23 @@ The project offers two deployment methods:
39
39
40
40
### Docker deployment
41
41
42
+
> [!WARNING]
43
+
> Please consider that [Docker deployment](#docker-deployment) mode is intended for testing purposes. We highly recommend using [Helm deployment](#helm-deployment) mode.
44
+
42
45
Deploy the ggbridge client via Docker Compose by performing the following actions:
43
46
44
47
- Create `docker-compose.yml` file
45
48
49
+
> [!IMPORTANT]
50
+
> GGBridge is designed by default to work as HA, so it needs `3` client deployments to work properly. Ensure `replicas: 3` in your `docker-compose.yml` file.
Edit your Helm values file to point to your bridge server and the secret created above:
114
+
Edit your Helm values file to point to your bridge server and the secret created above
115
+
(see the [Helm chart values documentation](./helm/ggbridge) for all available configuration options):
116
+
117
+
> [!IMPORTANT]
118
+
> GGBridge is designed by default to work as HA, so it needs `3` client deployments to work properly. Leave it blank or ensure `deploymentCount: 3` in your `values.yaml` file.
119
+
>
120
+
> ```yaml
121
+
> deploymentCount: 3
122
+
> ```
100
123
101
124
```yaml
102
125
hostname: <my-subdomain>.ggbridge.gitguardian.com
103
126
127
+
image:
128
+
tag: latest
129
+
104
130
tls:
105
131
enabled: true
106
132
existingSecret: ggbridge-client-crt
@@ -110,6 +136,15 @@ tls:
110
136
key: tls.key
111
137
```
112
138
139
+
> [!TIP]
140
+
> If you need to debug the deployment, you can use the image `latest-shell` instead of `latest`. This image comes with embedded tooling for debugging purposes. :
141
+
>
142
+
> ```yaml
143
+
> image:
144
+
> tag: latest-shell
145
+
> ```
146
+
147
+
113
148
For **OpenShift** deployment, use the following values:
0 commit comments