Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can disable deploy in kubernetes

We provide kubernetes cluster for many users, the separation between applications by namespace.

For deploy use kubernetes-helm. There are situations when we need to close the opportunity to deploy the app in the cluster. One option is to change permissions for default sa (which the use kubernetes-helm).

How else can solve?

like image 789
Denis Avatar asked Nov 01 '25 02:11

Denis


1 Answers

You'd use an admission controller.

Unfortunately, this might involve writing some code to manage it. There are tools out there that help, like Open Policy Agent

like image 176
jaxxstorm Avatar answered Nov 03 '25 19:11

jaxxstorm



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!