This file contains hidden or 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
#!/bin/bash | |
# | |
# Adds a sidecar container running mitmproxy to a deployment resource. | |
# See https://mitmproxy.org | |
# | |
# The goal is to make it easier to inspect service-to-service HTTP requests in a dev, staging or QA environment. | |
# | |
# Not recommended for production usage since it can reveal secrets and it is an actual man-in-the-middle | |
# (https://owasp.org/www-community/attacks/Manipulator-in-the-middle_attack). | |
# |