You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/disabling-crd-preflight.adoc
+22-21Lines changed: 22 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,25 +5,25 @@
5
5
:_mod-docs-content-type: PROCEDURE
6
6
7
7
[id="disabling-crd-preflight_{context}"]
8
-
= Disabling CRD upgrade safety preflight check
8
+
= Disabling the CRD upgrade safety preflight check
9
9
10
-
The custom resource definition (CRD) upgrade safety preflight check can be disabled by adding the `preflight.crdUpgradeSafety.disabled` field with a value of `true` to the `ClusterExtension` object that provides the CRD.
10
+
[role="_abstract"]
11
+
12
+
You can disable the custom resource definition (CRD) upgrade safety preflight check. In the `ClusterExtension` object that provides the CRD, set the `install.preflight.crdUpgradeSafety.enforcement` field with the value of `None`.
11
13
12
14
[WARNING]
13
15
====
14
16
Disabling the CRD upgrade safety preflight check could break backwards compatibility with stored versions of the CRD and cause other unintended consequences on the cluster.
15
17
====
16
18
17
-
You cannot disable individual field validators. If you disable the CRD upgrade safety preflight check, all field validators are disabled.
19
+
You cannot disable individual field validators. If you disable the CRD upgrade safety preflight check, you disable all field validators.
18
20
19
21
[NOTE]
20
22
====
21
-
The following checks are handled by the Kubernetes API server:
22
-
23
-
* The scope changes from `Cluster` to `Namespace` or from `Namespace` to `Cluster`
24
-
* An existing stored version of the CRD is removed
23
+
If you disable the CRD upgrade safety preflight check in {olmv1-first}, the Kubernetes API server still prevents the following operations:
25
24
26
-
After disabling the CRD upgrade safety preflight check via {olmv1-first}, these two operations are still prevented by Kubernetes.
25
+
* Changing scope from `Cluster` to `Namespace` or from `Namespace` to `Cluster`
26
+
* Removing an existing stored version of the CRD
27
27
====
28
28
29
29
.Prerequisites
@@ -39,25 +39,26 @@ After disabling the CRD upgrade safety preflight check via {olmv1-first}, these
0 commit comments