Skip to content

Commit

Permalink
Update operator CRDs lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kimlisa committed Oct 31, 2024
1 parent fc03737 commit 51998b5
Show file tree
Hide file tree
Showing 6 changed files with 240 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down Expand Up @@ -872,6 +887,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down Expand Up @@ -1687,6 +1717,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down Expand Up @@ -2223,6 +2268,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down Expand Up @@ -875,6 +890,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down Expand Up @@ -875,6 +890,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down Expand Up @@ -872,6 +887,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down Expand Up @@ -1687,6 +1717,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down Expand Up @@ -2223,6 +2268,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down Expand Up @@ -875,6 +890,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down Expand Up @@ -875,6 +890,21 @@ spec:
type: string
type: object
type: array
kubernetes_resources:
description: 'kubernetes_resources can optionally enforce
a requester to request only certain kinds of kube resources.
Eg: Users can make request to either a resource kind "kube_cluster"
or any of its subresources like "namespaces". This field
can be defined such that it prevents a user from requesting
"kube_cluster" and enforce requesting any of its subresources.'
items:
properties:
kind:
description: kind specifies the Kubernetes Resource
type.
type: string
type: object
type: array
max_duration:
description: MaxDuration is the amount of time the access
will be granted for. If this is zero, the default duration
Expand Down

0 comments on commit 51998b5

Please sign in to comment.