Open nailgun opened 3 years ago
Somehow authorize user via kubernetes API, possibly get temporary token and use it to make adjustments and view pods.
Если получится сохранить токен, убрать Role, RoleBinding
Role
RoleBinding
Можно реализовать следующим образом:
kubectl create myresource -l key=SESSION_KEY
Useful links: https://github.com/garethr/kubernetes-webhook-examples https://medium.com/analytics-vidhya/how-to-write-validating-and-mutating-admission-controller-webhooks-in-python-for-kubernetes-1e27862cb798
Somehow authorize user via kubernetes API, possibly get temporary token and use it to make adjustments and view pods.