Skip to content

Instantly share code, notes, and snippets.

View MichaelSp's full-sized avatar
👏
I'm happy and I know it 👏

Michael MichaelSp

👏
I'm happy and I know it 👏
View GitHub Profile
#!/usr/bin/env bash
set -e
github_token=$(kubectl get -n runner-system secrets controller-manager -o json | jq -r .data.github_token | base64 -d)
function list_organization {
kubectl get runner -A -o json | jq -r .items[].spec.organization
kubectl get runnerset -A -o json | jq -r .items[].spec.organization
}