Skip to content

Commit 83e67a1

Browse files
committed
OCPBUGS-7281: Adding pod security admission enforcement to the TechPreviewNoUpgrade feature set
1 parent 80b36dc commit 83e67a1

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

modules/nodes-cluster-enabling-features-about.adoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You can use the `FeatureGate` custom resource (CR) to enable specific feature se
1010

1111
You can activate the following feature set by using the `FeatureGate` CR:
1212

13-
* `TechPreviewNoUpgrade`. This feature set is a subset of the current Technology Preview features. This feature set allows you to enable these tech preview features on test clusters, where you can fully test them, while leaving the features disabled on production clusters. Enabling this feature set cannot be undone and prevents minor version updates. This feature set is not recommended on production clusters.
13+
* `TechPreviewNoUpgrade`. This feature set is a subset of the current Technology Preview features. This feature set allows you to enable these Technology Preview features on test clusters, where you can fully test them, while leaving the features disabled on production clusters.
1414
+
1515
[WARNING]
1616
====
@@ -23,14 +23,15 @@ The following Technology Preview features are enabled by this feature set:
2323
** CSI automatic migration. Enables automatic migration for supported in-tree volume plugins to their equivalent Container Storage Interface (CSI) drivers. Supported for:
2424
*** Azure File (`CSIMigrationAzureFile`)
2525
*** VMware vSphere (`CSIMigrationvSphere`)
26-
** Shared Resources CSI Driver and Build CSI Volumes in OpenShift Builds. Enables the Container Storage Interface (CSI) (`CSIDriverSharedResource`).
27-
** CSI volumes. Enables CSI volume support for the {product-title} build system (`BuildCSIVolumes`).
28-
** Swap memory on nodes. Enables swap memory use for {product-title} workloads on a per-node basis (`NodeSwap`).
29-
** cgroups v2. Enables cgroup v2, the next version of the Linux cgroup API (`CGroupsV2`).
30-
** crun. Enables the crun container runtime (`Crun`).
31-
** Insights Operator. Enables the Insights Operator, which gathers {product-title} configuration data and sends it to Red Hat (`InsightsConfigAPI`).
26+
** Shared Resources CSI Driver and Build CSI Volumes in OpenShift Builds. Enables the Container Storage Interface (CSI). (`CSIDriverSharedResource`)
27+
** CSI volumes. Enables CSI volume support for the {product-title} build system. (`BuildCSIVolumes`)
28+
** Swap memory on nodes. Enables swap memory use for {product-title} workloads on a per-node basis. (`NodeSwap`)
29+
** cgroups v2. Enables cgroup v2, the next version of the Linux cgroup API. (`CGroupsV2`)
30+
** crun. Enables the crun container runtime. (`Crun`)
31+
** Insights Operator. Enables the Insights Operator, which gathers {product-title} configuration data and sends it to Red Hat. (`InsightsConfigAPI`)
3232
** External cloud providers. Enables support for external cloud providers for clusters on vSphere, AWS, Azure, and GCP. Support for OpenStack is GA. (`ExternalCloudProvider`)
33-
** Pod topology spread constraints. Enables the `matchLabelKeys` parameter for pod topology contraints. The parameter is list of pod label keys to select the pods over which spreading will be calculated (`MatchLabelKeysInPodTopologySpread`).
33+
** Pod topology spread constraints. Enables the `matchLabelKeys` parameter for pod topology constraints. The parameter is list of pod label keys to select the pods over which spreading will be calculated. (`MatchLabelKeysInPodTopologySpread`)
34+
** Pod security admission enforcement. Enables restricted enforcement for pod security admission. Instead of only logging a warning, pods are rejected if they violate pod security standards. (`OpenShiftPodSecurityAdmission`)
3435
--
3536
3637
////

nodes/clusters/nodes-cluster-enabling-features.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,15 @@ For more information about the features activated by the `TechPreviewNoUpgrade`
1717
** xref:../../storage/container_storage_interface/persistent-storage-csi.adoc#persistent-storage-csi[Using Container Storage Interface (CSI)]
1818
** xref:../../cicd/builds/build-strategies.adoc#builds-using-build-volumes_build-strategies-s2i[Source-to-image (S2I) build volumes] and xref:../../cicd/builds/build-strategies.adoc#builds-using-build-volumes_build-strategies-docker[Docker build volumes]
1919
** xref:../../nodes/nodes/nodes-nodes-managing.adoc#nodes-nodes-swap-memory_nodes-nodes-managing[Swap memory on nodes]
20-
** xref:../../machine_management/capi-machine-management.adoc#capi-machine-management[Managing machines with the Cluster API]
20+
** xref:../../machine_management/capi-machine-management.adoc#capi-machine-management[Managing machines with the Cluster API]
2121
** xref:../../nodes/clusters/nodes-cluster-cgroups-2.adoc#nodes-cluster-cgroups-2[Enabling Linux control group version 2 (cgroup v2)]
2222
** xref:../../nodes/containers/nodes-containers-using.adoc#nodes-containers-runtimes[About the container engine and container runtime]
2323
** xref:../../support/remote_health_monitoring/using-insights-operator.adoc#using-insights-operator[Using Insights Operator]
2424
** xref:../../nodes/scheduling/nodes-scheduler-pod-topology-spread-constraints.adoc#nodes-scheduler-pod-topology-spread-constraints[Controlling pod placement by using pod topology spread constraints]
25+
** link:https://kubernetes.io/docs/concepts/security/pod-security-admission/[Pod Security Admission] in the Kubernetes documentation and xref:../../authentication/understanding-and-managing-pod-security-admission.adoc#understanding-and-managing-pod-security-admission[Understanding and managing pod security admission]
2526

2627
include::modules/nodes-cluster-enabling-features-install.adoc[leveloffset=+1]
2728

2829
include::modules/nodes-cluster-enabling-features-console.adoc[leveloffset=+1]
2930

3031
include::modules/nodes-cluster-enabling-features-cli.adoc[leveloffset=+1]
31-
32-
33-

0 commit comments

Comments
 (0)