I hereby claim:
-
I am robert-cronin on github.
-
I am robertcronin (https://keybase.io/robertcronin) on keybase.
-
I have a public key ASAkQe0j9K4OyHC7eTAu1g_DxiWrn7PIixaQo71aFhIxqQo
| #!/bin/bash | |
| # Link it like so: sudo ln -s $PWD/hack/reflect_secret.sh /usr/local/bin/kubectl-reflect | |
| # Or just copy it in there: sudo cp $PWD/hack/reflect_secret.sh /usr/local/bin/kubectl-reflect | |
| # example: kubectl reflect --namespace rabbitmq --target-namespace jueju --secret rabbitmq | |
| # Function to display usage information | |
| usage() { | |
| echo "Usage: kubectl reflect --namespace <origin-namespace> --target-namespace <target-namespace> --secret <secret-name>" | |
| exit 1 | |
| } |
| #!/bin/bash | |
| # Check if the script received the correct number of arguments | |
| if [ "$#" -ne 2 ]; then | |
| echo "Usage: $0 <repo_path> <output_file>" | |
| exit 1 | |
| fi | |
| REPO_PATH=$1 | |
| OUTPUT_FILE=$2 |
| #!/bin/bash | |
| POD_NAME=$1 | |
| POD_NAMESPACE=$2 | |
| if [[ -z $POD_NAME || -z $POD_NAMESPACE ]]; then | |
| echo "Usage: $0 POD_NAME POD_NAMESPACE" | |
| exit 1 | |
| fi |
| #!/bin/bash | |
| set -o errexit | |
| # run this script from kubernetes root directory to generate and open a coverage report for a package | |
| # first arg is the package path to run the tests for | |
| # example: ./script.sh staging/src/k8s.io/kubelet | |
| # make temp dir | |
| TEMP_DIR=$(mktemp -d) |
I hereby claim:
I am robert-cronin on github.
I am robertcronin (https://keybase.io/robertcronin) on keybase.
I have a public key ASAkQe0j9K4OyHC7eTAu1g_DxiWrn7PIixaQo71aFhIxqQo