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
import csv | |
import signal | |
import re | |
import time | |
from mitmproxy import http | |
from multiprocessing import Manager | |
import json | |
# mitmdump -s proxy.py -p 8080 | |
# set browser proxy (use firefox with foxy proxy extenstion) to localhost:8080 |
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
import json | |
import subprocess | |
import csv | |
import yaml | |
LOGIN_ARGOCD_CLI = "argocd login argocd.fleet.k8s.pelotime.com --sso --grpc-web" | |
GET_CLUSTER_CLI = "argocd cluster list -o json --grpc-web" | |
GET_ALL_SERVICES_CLI = "argocd app list -o json --grpc-web" | |
GET_MANIFEST_FOR_APP= "argocd app manifests {app_name}" |
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
import json | |
import subprocess | |
import csv | |
import yaml | |
LOGIN_ARGOCD_CLI = "argocd login ui.argocd.build.k8s.pelotime.com --sso --grpc-web" | |
GET_CLUSTER_CLI = "argocd cluster list -o json --grpc-web" | |
GET_ALL_SERVICES_CLI = "argocd app list -o json --grpc-web" | |
GET_MANIFEST_FOR_APP= "argocd app manifests {app_name}" |
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
import json | |
import subprocess | |
import csv | |
LOGIN_ARGOCD_CLI = "argocd login ui.argocd.build.k8s.pelotime.com --sso --grpc-web" | |
GET_CLUSTER_CLI = "argocd cluster list -o json --grpc-web" | |
GET_ALL_SERVICES_CLI = "argocd app list -o json --grpc-web" | |
def login_to_argocd(): | |
# Call the CLI command and capture the output |
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
import json | |
import subprocess | |
import csv | |
LOGIN_ARGOCD_CLI = "argocd login ui.argocd.build.k8s.pelotime.com --sso --grpc-web" | |
GET_CLUSTER_CLI = "argocd cluster list -o json --grpc-web" | |
GET_ALL_SERVICES_CLI = "argocd app list -o json --grpc-web" | |
def login_to_argocd(): | |
# Call the CLI command and capture the output |