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: machineconfiguration/v1/tests/containerruntimeconfigs.machineconfiguration.openshift.io/DefaultRuntimeConfig.yaml
- name: Should not fail if not set and other fields set
20
15
initial: |
21
16
apiVersion: machineconfiguration.openshift.io/v1
@@ -28,7 +23,6 @@ tests:
28
23
kind: ContainerRuntimeConfig
29
24
spec:
30
25
containerRuntimeConfig:
31
-
defaultRuntime: ""
32
26
logLevel: info
33
27
- name: Should fail if set to a number
34
28
initial: |
@@ -37,23 +31,23 @@ tests:
37
31
spec:
38
32
containerRuntimeConfig:
39
33
defaultRuntime: 1234
40
-
expectedError: "spec.containerRuntimeConfig.defaultRuntime: Invalid value: \"integer\": spec.containerRuntimeConfig.defaultRuntime in body must be of type string: \"integer\", spec.containerRuntimeConfig.defaultRuntime: Unsupported value: 1234: supported values: \"crun\", \"runc\", \"\""
34
+
expectedError: "spec.containerRuntimeConfig.defaultRuntime: Invalid value: \"integer\": spec.containerRuntimeConfig.defaultRuntime in body must be of type string: \"integer\", spec.containerRuntimeConfig.defaultRuntime: Unsupported value: 1234: supported values: \"crun\", \"runc\""
Copy file name to clipboardExpand all lines: machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_containerruntimeconfigs.crd.yaml
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -53,18 +53,16 @@ spec:
53
53
runtime.
54
54
properties:
55
55
defaultRuntime:
56
-
default: ""
57
56
description: |-
58
57
defaultRuntime is the name of the OCI runtime to be used as the default for containers.
59
-
Allowed values are `runc`, `crun`, and omitted (`""`).
58
+
Allowed values are `runc`and `crun`.
60
59
When set to `runc`, OpenShift will use runc to execute the container
61
60
When set to `crun`, OpenShift will use crun to execute the container
62
61
When omitted, this means no opinion and the platform is left to choose a reasonable default,
63
62
which is subject to change over time. Currently, the default is `crun`.
Copy file name to clipboardExpand all lines: machineconfiguration/v1/zz_generated.featuregated-crd-manifests/containerruntimeconfigs.machineconfiguration.openshift.io/AAA_ungated.yaml
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -54,18 +54,16 @@ spec:
54
54
runtime.
55
55
properties:
56
56
defaultRuntime:
57
-
default: ""
58
57
description: |-
59
58
defaultRuntime is the name of the OCI runtime to be used as the default for containers.
60
-
Allowed values are `runc`, `crun`, and omitted (`""`).
59
+
Allowed values are `runc`and `crun`.
61
60
When set to `runc`, OpenShift will use runc to execute the container
62
61
When set to `crun`, OpenShift will use crun to execute the container
63
62
When omitted, this means no opinion and the platform is left to choose a reasonable default,
64
63
which is subject to change over time. Currently, the default is `crun`.
0 commit comments