smpio / kube-resource-analyzer

Analyze workload resource usage and automatically suggest adjustments to requests and limits
MIT License
0 stars 0 forks source link

Authorization #24

Open nailgun opened 3 years ago

nailgun commented 3 years ago

Somehow authorize user via kubernetes API, possibly get temporary token and use it to make adjustments and view pods.

nailgun commented 3 years ago

Если получится сохранить токен, убрать Role, RoleBinding

nailgun commented 3 years ago

Можно реализовать следующим образом:

nailgun commented 3 years ago

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