Minor fixes (#339)

* script

* deploy csr script

* source csr script
This commit is contained in:
Alistair Mackay
2024-03-19 07:27:14 +00:00
committed by GitHub
parent 7f5a15ed8a
commit f7fef4dfdd
4 changed files with 7 additions and 2 deletions

2
tools/approve-csr.sh Normal file
View File

@@ -0,0 +1,2 @@
#!/usr/bin/env bash
kubectl certificate approve --kubeconfig admin.kubeconfig $(kubectl get csr --kubeconfig admin.kubeconfig -o json | jq -r '.items | .[] | select(.spec.username == "system:node:node02") | .metadata.name')