Skip to content

Controllers required to maintain policy resources to create pods.

License

Notifications You must be signed in to change notification settings

dgrisonnet/cluster-policy-controller

 
 

Repository files navigation

cluster-policy-controller

The cluster-policy-controller is responsible for maintaining policy resources necessary to create pods in a cluster. Controllers managed by cluster-policy-controller are:

  • cluster quota reconcilion - manages cluster quota usage
  • namespace SCC allocation controller - allocates UIDs and SELinux labels for namespaces
  • cluster csr approver controller - csr approver for monitoring scraping
  • podsecurity admission label syncer controller - configure the PodSecurity admission namespace label for namespaces with "security.openshift.io/scc.podSecurityLabelSync: true" label

The cluster-policy-controller runs as a container in the openshift-kube-controller-manager namespace, in the kube-controller-manager static pod. This pod is defined and managed by the kube-controller-manager OpenShift ClusterOperator. that installs and maintains the KubeControllerManager Custom Resource in a cluster. It can be viewed with:

oc get clusteroperator kube-controller-manager -o yaml

Many OpenShift ClusterOperators and Operands share common build, test, deployment, and update methods.
For more information about how to build, deploy, test, update, and develop OpenShift ClusterOperators, see
OpenShift ClusterOperator and Operand Developer Document

This section explains how to deploy OpenShift with your test cluster-kube-controller-manager-operator and cluster-policy-controller images:
Testing a ClusterOperator/Operand image in a cluster

About

Controllers required to maintain policy resources to create pods.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.5%
  • Other 0.5%