Outdated default service account token secret instructions in "Access Clusters Using the Kubernetes API' page #45628
Labels
kind/bug
Categorizes issue or PR as related to a bug.
language/en
Issues or PRs related to English language
priority/backlog
Higher priority than priority/awaiting-more-evidence.
sig/auth
Categorizes an issue or PR as relevant to SIG Auth.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
In the 'without kubectl proxy', the section on https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/:
Create a secret to hold a token for the default service account
kubectl apply -f - <<EOF
apiVersion: v1
kind: Secret
metadata:
name: default-token
annotations:
kubernetes.io/service-account.name: default
type: kubernetes.io/service-account-token
EOF
This is apparently not a thing anymore since 1.22. I attempted it on v1.27 and despite there being no error message, the secret does not exist.
The text was updated successfully, but these errors were encountered: