Creating a Cluster Policy
Why is Cluster Policy Essential?
-
CA Setting [Namespace Specific Policy Enforcement] - A Setting policy types are used to configure a dedicated CA and manage how certificates are issued within a namespace. This gives application teams working in a specific namespace access to their dedicated CA to request certificates for their unique domains.
- CA Setting Cluster [Cluster wide Policy Enforcement] - The CA Setting Cluster policy type is applied when application teams deploy workloads across the entire cluster. This policy type, regardless of where the applications are located, manages certificate issuance and CA configuration. It ensures seamless issuance of certificates from the enforced Certificate Authority and defined Policy, maintaining cluster-wide security and consistency.
-
Cluster Policy also helps define in which namespace certificate discovery needs to be disabled. For example, users can define a regex like `kube-*` to prevent certificate discovery from any namespaces starting with `kube`, like `kube-system`.
-
Ensure CA integration is completed.
-
Ensure you configured organization PKI standards as CA Policy.
-
Ensure the Group is created.
To create a cluster policy:
-
Go to > > >
On the Cluster Policy page, the created policies are displayed, if any.
-
Click
.
-
Enter/select the policy information.
Table 1. Policy Information - Field and Description Table Field Description Policy Name* Enter a unique policy name to be associated with one or more clusters. Type* Select a type from the dropdown list. The options are: -
CA Settings Cluster - Cluster wide global policy.
-
CA Setting - Policy to be applied for a specific namespace or a project within a cluster.
Certificate Group* Select a certificate group from the dropdown list. Associate CA Policy* The CA Policy associated with the selected certificate group will be automatically populated in the dropdown. Please select the appropriate policy from this list. Certificate Authority Select a Certificate Authority from the dropdown list. CA Settings Select the CA Settings from the dropdown list. Namespace Exclusion Upon entering the namespace name or regex, and pressing Enter, the namespaces are added to the exclusion list and will be omitted from certificate discovery. The Server Certificate inventory will not display certificates from excluded namespaces.
*: Mandatory fields -
- Click Add.