Skip to content

Commit 1cb4243

Browse files
committed
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 <[email protected]>
1 parent e832b70 commit 1cb4243

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

api/openapi-spec/swagger.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/openapi-spec/v3/api__v1_openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7200,7 +7200,7 @@
72007200
"type": "boolean"
72017201
},
72027202
"procMount": {
7203-
"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.",
7203+
"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.",
72047204
"type": "string"
72057205
},
72067206
"readOnlyRootFilesystem": {

api/openapi-spec/v3/apis__apps__v1_openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4605,7 +4605,7 @@
46054605
"type": "boolean"
46064606
},
46074607
"procMount": {
4608-
"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.",
4608+
"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.",
46094609
"type": "string"
46104610
},
46114611
"readOnlyRootFilesystem": {

api/openapi-spec/v3/apis__batch__v1_openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3809,7 +3809,7 @@
38093809
"type": "boolean"
38103810
},
38113811
"procMount": {
3812-
"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.",
3812+
"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.",
38133813
"type": "string"
38143814
},
38153815
"readOnlyRootFilesystem": {

pkg/apis/core/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6203,7 +6203,7 @@ type SecurityContext struct {
62036203
// +optional
62046204
AllowPrivilegeEscalation *bool
62056205
// ProcMount denotes the type of proc mount to use for the containers.
6206-
// The default is DefaultProcMount which uses the container runtime defaults for
6206+
// The default value is Default which uses the container runtime defaults for
62076207
// readonly paths and masked paths.
62086208
// Note that this field cannot be set when spec.os.name is windows.
62096209
// +optional

pkg/generated/openapi/zz_generated.openapi.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/core/v1/generated.proto

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/core/v1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7452,7 +7452,7 @@ type SecurityContext struct {
74527452
// +optional
74537453
AllowPrivilegeEscalation *bool `json:"allowPrivilegeEscalation,omitempty" protobuf:"varint,7,opt,name=allowPrivilegeEscalation"`
74547454
// procMount denotes the type of proc mount to use for the containers.
7455-
// The default is DefaultProcMount which uses the container runtime defaults for
7455+
// The default value is Default which uses the container runtime defaults for
74567456
// readonly paths and masked paths.
74577457
// This requires the ProcMountType feature flag to be enabled.
74587458
// Note that this field cannot be set when spec.os.name is windows.

staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)