spiffe / spiffe.io

Source for the SPIFFE and SPIRE project websites. Hosted by the Cloud Native Computing Foundation
https://spiffe.io/
Other
26 stars 61 forks source link

Kubernetes quickstart guide incompatible with recent versions of Kubernetes #260

Open rturner3 opened 2 years ago

rturner3 commented 2 years ago

The most recent version of K8s that the K8s quickstart guide is reported to have been tested with is 1.13.1, which is almost four years old at this point. One issue I've observed is that this argument passed to minikube start is removed from recent versions of kube-apiserver:

--extra-config=apiserver.service-account-api-audiences=api,spire-server

The new config field appears to be called api-audiences instead of service-account-api-audiences: https://github.com/kubernetes/kubernetes/pull/108624

This is just one issue I observed, but it would be great if the sample could be brought up-to-date with all the recommended configuration and deployment patterns that are suggested for newer versions of Kubernetes (e.g. 1.23+) and SPIRE (e.g. 1.4+).