Merge pull request #125470 from everpeace/kep-3619-SupplementalGroupsPolicy-e2e

KEP-3619: Add NodeStatus.Features.SupplementalGroupsPolicy API and e2e
This commit is contained in:
Kubernetes Prow Robot
2024-07-16 13:57:06 -07:00
committed by GitHub
30 changed files with 2568 additions and 1611 deletions

View File

@@ -8243,6 +8243,16 @@
},
"type": "object"
},
"io.k8s.api.core.v1.NodeFeatures": {
"description": "NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers.",
"properties": {
"supplementalGroupsPolicy": {
"description": "SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.",
"type": "boolean"
}
},
"type": "object"
},
"io.k8s.api.core.v1.NodeList": {
"description": "NodeList is the whole list of all Nodes which have been registered with master.",
"properties": {
@@ -8293,7 +8303,7 @@
"type": "object"
},
"io.k8s.api.core.v1.NodeRuntimeHandlerFeatures": {
"description": "NodeRuntimeHandlerFeatures is a set of runtime features.",
"description": "NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler.",
"properties": {
"recursiveReadOnlyMounts": {
"description": "RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.",
@@ -8467,6 +8477,10 @@
"$ref": "#/definitions/io.k8s.api.core.v1.NodeDaemonEndpoints",
"description": "Endpoints of daemons running on the Node."
},
"features": {
"$ref": "#/definitions/io.k8s.api.core.v1.NodeFeatures",
"description": "Features describes the set of features implemented by the CRI implementation."
},
"images": {
"description": "List of container images on this node",
"items": {

View File

@@ -3741,6 +3741,16 @@
},
"type": "object"
},
"io.k8s.api.core.v1.NodeFeatures": {
"description": "NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers.",
"properties": {
"supplementalGroupsPolicy": {
"description": "SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.",
"type": "boolean"
}
},
"type": "object"
},
"io.k8s.api.core.v1.NodeList": {
"description": "NodeList is the whole list of all Nodes which have been registered with master.",
"properties": {
@@ -3806,7 +3816,7 @@
"type": "object"
},
"io.k8s.api.core.v1.NodeRuntimeHandlerFeatures": {
"description": "NodeRuntimeHandlerFeatures is a set of runtime features.",
"description": "NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler.",
"properties": {
"recursiveReadOnlyMounts": {
"description": "RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.",
@@ -4027,6 +4037,14 @@
"default": {},
"description": "Endpoints of daemons running on the Node."
},
"features": {
"allOf": [
{
"$ref": "#/components/schemas/io.k8s.api.core.v1.NodeFeatures"
}
],
"description": "Features describes the set of features implemented by the CRI implementation."
},
"images": {
"description": "List of container images on this node",
"items": {