- [ ] Conformance Workflow Introduction
- [ ] Launch Cluster with apisnoop
- [ ] Clone K8s repo
- [ ] Clone conformance workflow
- [ ] Review status of the cluster
- [ ] Review Service Account e2e tests
- [ ] Switch to Conformance workflow for Service Account Token
- [ ] Run e2e test for Service Account Token
- [ ] Review apisnoop findings
- [ ] Final thoughts and Questions
tmux new -d -s "conformance" -n kind
cd apisnoop/kind
kind create cluster --config kind+apisnoop.yaml
mkdir -p ~/go/src/k8s.io
cd $_
git clone --depth 1 https://github.com/kubernetes/kubernetes.git
git clone https://github.com/apisnoop/ticket-writing.git
kubectl get nodes -owide
kubectl get pods -A
cd ~/go/src/k8s.io/kubernetes
grep ginkgo.It test/e2e/auth/service_accounts.go
grep framework.ConformanceIt test/e2e/auth/service_accounts.go
Check workflow document for ServiceAccountToken endpoint
kubectl get ns -w
cd ~/go/src/k8s.io/kubernetes
export KUBECONFIG=~/.kube/config
export TEST_NAME="should create a serviceAccountToken and ensure a successful TokenReview"
go test ./test/e2e -ginkgo.v -v -timeout=0 -ginkgo.focus="$TEST_NAME"
htop
Check workflow document for ServiceAccountToken endpoint