LabelSelectorAttributes

io.k8s.api.authorization.v1.LabelSelectorAttributes
See theLabelSelectorAttributes companion object

LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.

Attributes

Companion
object
Source
LabelSelectorAttributes.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Appends new values to requirements

Appends new values to requirements

Attributes

Source
LabelSelectorAttributes.scala

if rawSelector has a value, transforms to the result of function

if rawSelector has a value, transforms to the result of function

Attributes

Source
LabelSelectorAttributes.scala

if requirements has a value, transforms to the result of function

if requirements has a value, transforms to the result of function

Attributes

Source
LabelSelectorAttributes.scala

Returns a new data with rawSelector set to new value

Returns a new data with rawSelector set to new value

Attributes

Source
LabelSelectorAttributes.scala

Returns a new data with requirements set to new value

Returns a new data with requirements set to new value

Attributes

Source
LabelSelectorAttributes.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product