srunner

command module
v0.0.0-...-30aa3f0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 14 Imported by: 0

README

srunner

Spanner Runner

test

gcloud emulators spanner start --host-port localhost:9050
export SPANNER_EMULATOR_HOST="localhost:9050" 

go test ./...

k8s

gcloud config set PROJECT_ID
kubectl apply -f k8s/metalapps-namespace.yaml
kubectl create serviceaccount metalapps-default \
    --namespace metalapps
gcloud iam service-accounts add-iam-policy-binding metalapps@GSA_PROJECT.iam.gserviceaccount.com \
    --role roles/iam.workloadIdentityUser \
    --member "serviceAccount:PROJECT_ID.svc.id.goog[metalapps/metalapps-default]"
kubectl annotate serviceaccount metalapps-default \
    --namespace metalapps \
    iam.gke.io/gcp-service-account=metalapps@GSA_PROJECT.iam.gserviceaccount.com
kubectl apply -f k8s/srunner-configmap.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL