jpetazzo / container.training

Slides and code samples for training, tutorials, and workshops about Docker, containers, and Kubernetes.

Home Page:http://container.training/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update RBAC API version. Warning in 1.17+

BretFisher opened this issue · comments

Update all K8s manifests for the latest RBAC resource version. I'm not aware of any API changes beyond the version, but couldn't find confirmation either way. I tested with an nginx ingress controller and it seemed to work fine.

- apiVersion: rbac.authorization.k8s.io/v1beta1
+ apiVersion: rbac.authorization.k8s.io/v1

Right on, especially since rbac.authorization.k8s.io/v1 API version is available since v1.8 😅