How can disable deploy in kubernetes

10/23/2018

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?

-- Arslanbekov
kubernetes
kubernetes-helm
open-policy-agent

1 Answer

10/23/2018

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

-- jaxxstorm
Source: StackOverflow