-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/v1.7.0' into main
- Loading branch information
Showing
9 changed files
with
246 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ RUN make compile-generic | |
FROM gcr.io/distroless/static:nonroot | ||
LABEL maintainer="[email protected]" \ | ||
NAME="k8s-component-operator" \ | ||
VERSION="1.6.2" | ||
VERSION="1.7.0" | ||
|
||
WORKDIR / | ||
COPY --from=builder /workspace/target/k8s-component-operator . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Developing with a proxy for external queries to dogu container or helm registry | ||
|
||
Component can mount a proxy stored in the `ces-proxy` secret. | ||
To test this behaviour be sure to configure the proxy in the setup values of the setup's helm chart, | ||
or create the secret manually by: | ||
|
||
`kubectl create secret generic ces-proxy --from-literal=url=http://test:[email protected]:3128 -n ecosystem` | ||
|
||
## Setup local proxy in docker | ||
|
||
### Run container with host network mode to reach the development registry in the cluster if required. | ||
|
||
- `docker run --net=host -d --name squid -e TZ=UTC -p 3128:3128 ubuntu/squid:5.2-22.04_beta` | ||
|
||
### Configure auth and connection to dev registry | ||
|
||
- `docker exec -it squid /bin/bash` | ||
- `apt update && apt-get install -y apache2-utils` | ||
- `htpasswd -c -d /etc/squid/passwords test` | ||
- `chmod o+r /etc/squid/passwords` | ||
- `apt-get install vim` | ||
- `vi /etc/squid/conf.d/auth.conf` | ||
- ``` | ||
acl allcomputers src all | ||
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwords | ||
auth_param basic realm proxy | ||
acl authenticated proxy_auth REQUIRED | ||
http_access allow authenticated allcomputers | ||
``` | ||
- `echo "localhost k3ces.local" >> /etc/hosts` | ||
- `squid -k reconfigure` | ||
### Check access logs | ||
- `docker logs -f squid` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters