Generated files

This commit is contained in:
Jordan Liggitt
2025-07-01 12:33:54 -04:00
parent a04e7cf5eb
commit 4f77a46186
5 changed files with 8 additions and 14 deletions

View File

@@ -3278,7 +3278,7 @@
"properties": {
"fieldSelector": {
"$ref": "#/definitions/io.k8s.api.authorization.v1.FieldSelectorAttributes",
"description": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)."
"description": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it."
},
"group": {
"description": "Group is the API Group of the Resource. \"*\" means all.",
@@ -3286,7 +3286,7 @@
},
"labelSelector": {
"$ref": "#/definitions/io.k8s.api.authorization.v1.LabelSelectorAttributes",
"description": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)."
"description": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it."
},
"name": {
"description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.",

View File

@@ -148,7 +148,7 @@
"$ref": "#/components/schemas/io.k8s.api.authorization.v1.FieldSelectorAttributes"
}
],
"description": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)."
"description": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it."
},
"group": {
"description": "Group is the API Group of the Resource. \"*\" means all.",
@@ -160,7 +160,7 @@
"$ref": "#/components/schemas/io.k8s.api.authorization.v1.LabelSelectorAttributes"
}
],
"description": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)."
"description": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it."
},
"name": {
"description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.",

View File

@@ -12353,13 +12353,13 @@ func schema_k8sio_api_authorization_v1_ResourceAttributes(ref common.ReferenceCa
},
"fieldSelector": {
SchemaProps: spec.SchemaProps{
Description: "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default).",
Description: "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.",
Ref: ref("k8s.io/api/authorization/v1.FieldSelectorAttributes"),
},
},
"labelSelector": {
SchemaProps: spec.SchemaProps{
Description: "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default).",
Description: "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.",
Ref: ref("k8s.io/api/authorization/v1.LabelSelectorAttributes"),
},
},

View File

@@ -167,16 +167,10 @@ message ResourceAttributes {
optional string name = 7;
// fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.
//
// This field is alpha-level. To use this field, you must enable the
// `AuthorizeWithSelectors` feature gate (disabled by default).
// +optional
optional FieldSelectorAttributes fieldSelector = 8;
// labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.
//
// This field is alpha-level. To use this field, you must enable the
// `AuthorizeWithSelectors` feature gate (disabled by default).
// +optional
optional LabelSelectorAttributes labelSelector = 9;
}

View File

@@ -87,8 +87,8 @@ var map_ResourceAttributes = map[string]string{
"resource": "Resource is one of the existing resource types. \"*\" means all.",
"subresource": "Subresource is one of the existing resource types. \"\" means none.",
"name": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.",
"fieldSelector": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default).",
"labelSelector": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default).",
"fieldSelector": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.",
"labelSelector": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.",
}
func (ResourceAttributes) SwaggerDoc() map[string]string {