Skip to content

Commit db73d06

Browse files
Merge pull request #7 from Bonial-International-GmbH/DS_sync_upstream
chore: sync with upstream
2 parents bdeb7f6 + 80909b8 commit db73d06

File tree

321 files changed

+35668
-2189
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

321 files changed

+35668
-2189
lines changed

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@
66
__pycache__
77
.pytest_cache
88
*.pyc
9+
10+
*bin/
11+
.DS_Store
12+
.vscode/
13+
14+
.project

Documentation/istio.md

+6-10
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,24 @@ To install istio with this configuration, run:
1717

1818
```sh
1919
kubectl apply -f istio/istio-system-namespace.yaml
20-
kubectl apply -f istio/src
20+
istioctl install -f istio/gerrit.profile.yaml
2121
```
2222

2323
To install Gerrit using istio for networking, the namespace running Gerrit has to
2424
be configured to enable sidecar injection, by setting the `istio-injection: enabled`
2525
label. An example for such a namespace can be found at `./istio/namespace.yaml`.
26+
2627
## Uninstall istio
2728

2829
To uninstall istio, run:
2930

3031
```sh
31-
kubectl delete -f istio/src
32+
istioctl uninstall -f istio/gerrit.profile.yaml
3233
```
3334

3435
## Restricting access to a list of allowed IPs
3536

3637
In development setups, it might be wanted to allow access to the setup only from
37-
specified IPs. This can usually be done using an AuthorizationPolicy. On AWS this
38-
does not work, since the load balancer hides the original IP. However, the
39-
istio-ingressgateway can be patched to enable access only from a given range of
40-
IPs. To do this, use the following command:
41-
42-
```sh
43-
kubectl patch service istio-ingressgateway -n istio-system -p '{"spec":{"loadBalancerSourceRanges":["1.2.3.4"]}}'
44-
```
38+
specified IPs. This can be done by patching the `spec.loadBalancerSourceRanges`
39+
value of the service used for the IngressGateway. A patch doing that can be
40+
uncommented in `istio/gerrit.profile.yaml`.

0 commit comments

Comments
 (0)