procMount: fix default value documentation

The 'DefaultProcMount' string is the name of the variable, but the
actual value is 'Default'.

Signed-off-by: Arturo Borrero Gonzalez <arturo.bg@arturo.bg>
This commit is contained in:
Arturo Borrero Gonzalez
2024-06-28 13:56:49 +02:00
parent e832b70230
commit 1cb4243535
9 changed files with 9 additions and 9 deletions

View File

@@ -30115,7 +30115,7 @@ func schema_k8sio_api_core_v1_SecurityContext(ref common.ReferenceCallback) comm
},
"procMount": {
SchemaProps: spec.SchemaProps{
Description: "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.\n\nPossible enum values:\n - `\"Default\"` uses the container runtime defaults for readonly and masked paths for /proc. Most container runtimes mask certain paths in /proc to avoid accidental security exposure of special devices or information.\n - `\"Unmasked\"` bypasses the default masking behavior of the container runtime and ensures the newly created /proc the container stays in tact with no modifications.",
Description: "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.\n\nPossible enum values:\n - `\"Default\"` uses the container runtime defaults for readonly and masked paths for /proc. Most container runtimes mask certain paths in /proc to avoid accidental security exposure of special devices or information.\n - `\"Unmasked\"` bypasses the default masking behavior of the container runtime and ensures the newly created /proc the container stays in tact with no modifications.",
Type: []string{"string"},
Format: "",
Enum: []interface{}{"Default", "Unmasked"},