https://github.com/randomvariable/harbor-bork
https://github.com/randomvariable/harbor-bork
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/randomvariable/harbor-bork
- Owner: randomvariable
- Created: 2022-02-17T20:29:25.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-18T12:22:21.000Z (almost 4 years ago)
- Last Synced: 2025-01-14T14:11:33.782Z (about 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Man in the middling a kubernetes kind cluster
1. Check out this repo
2. Start a kind cluster with `kind create cluster`
3. Run `docker ps` to get the control plane container ID
4. Then run `./mitm.sh ` . This will set up the proxy
5. Run `mitmproxy -k`
6. Deploy `test.yaml` to pull a image from projects.registry.vmware.com
7. Intercept
Note, check `10-proxy.conf` and replace the proxy address with whatever your host IP on the docker network is.
The IP I used is the default kind network IP on Fedora Linux. I expect it to be different for MacOS