mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-27 01:05:18 -04:00
operator: bump controller-gen version (#3653)
* operator: bump controller-gen version This bump the controller gen version and also adjusts the generate commands (back to the original ones). This allows correct generation of CRDs and go code. --------- Co-authored-by: Leonard Cohnen <lc@edgeless.systems>
This commit is contained in:
parent
28ae7de4ea
commit
758191ad42
19 changed files with 780 additions and 1730 deletions
|
@ -1,9 +1,10 @@
|
||||||
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: autoscalingstrategies.update.edgeless.systems
|
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.9.0
|
controller-gen.kubebuilder.io/version: v0.16.4
|
||||||
|
name: autoscalingstrategies.update.edgeless.systems
|
||||||
spec:
|
spec:
|
||||||
group: update.edgeless.systems
|
group: update.edgeless.systems
|
||||||
names:
|
names:
|
||||||
|
@ -20,14 +21,19 @@ spec:
|
||||||
API.
|
API.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: |-
|
||||||
of an object. Servers should convert recognized schemas to the latest
|
APIVersion defines the versioned schema of this representation of an object.
|
||||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
Servers should convert recognized schemas to the latest internal value, and
|
||||||
|
may reject unrecognized values.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this
|
description: |-
|
||||||
object represents. Servers may infer this from the endpoint the client
|
Kind is a string value representing the REST resource this object represents.
|
||||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
Servers may infer this from the endpoint the client submits requests to.
|
||||||
|
Cannot be updated.
|
||||||
|
In CamelCase.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
|
@ -48,8 +54,8 @@ spec:
|
||||||
deployment.
|
deployment.
|
||||||
type: string
|
type: string
|
||||||
enabled:
|
enabled:
|
||||||
description: Enabled defines whether cluster autoscaling should be enabled
|
description: Enabled defines whether cluster autoscaling should be
|
||||||
or not.
|
enabled or not.
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- deploymentName
|
- deploymentName
|
||||||
|
@ -64,7 +70,8 @@ spec:
|
||||||
enabled or not.
|
enabled or not.
|
||||||
type: boolean
|
type: boolean
|
||||||
replicas:
|
replicas:
|
||||||
description: Replicas is the number of replicas for the autoscaler deployment.
|
description: Replicas is the number of replicas for the autoscaler
|
||||||
|
deployment.
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
|
@ -73,9 +80,3 @@ spec:
|
||||||
storage: true
|
storage: true
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
status:
|
|
||||||
acceptedNames:
|
|
||||||
kind: ""
|
|
||||||
plural: ""
|
|
||||||
conditions: []
|
|
||||||
storedVersions: []
|
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: joiningnodes.update.edgeless.systems
|
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.9.0
|
controller-gen.kubebuilder.io/version: v0.16.4
|
||||||
|
name: joiningnodes.update.edgeless.systems
|
||||||
spec:
|
spec:
|
||||||
group: update.edgeless.systems
|
group: update.edgeless.systems
|
||||||
names:
|
names:
|
||||||
|
@ -19,14 +20,19 @@ spec:
|
||||||
description: JoiningNode is the Schema for the joiningnodes API.
|
description: JoiningNode is the Schema for the joiningnodes API.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: |-
|
||||||
of an object. Servers should convert recognized schemas to the latest
|
APIVersion defines the versioned schema of this representation of an object.
|
||||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
Servers should convert recognized schemas to the latest internal value, and
|
||||||
|
may reject unrecognized values.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this
|
description: |-
|
||||||
object represents. Servers may infer this from the endpoint the client
|
Kind is a string value representing the REST resource this object represents.
|
||||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
Servers may infer this from the endpoint the client submits requests to.
|
||||||
|
Cannot be updated.
|
||||||
|
In CamelCase.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
|
@ -59,9 +65,3 @@ spec:
|
||||||
storage: true
|
storage: true
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
status:
|
|
||||||
acceptedNames:
|
|
||||||
kind: ""
|
|
||||||
plural: ""
|
|
||||||
conditions: []
|
|
||||||
storedVersions: []
|
|
|
@ -1,9 +1,10 @@
|
||||||
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: nodeversions.update.edgeless.systems
|
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.9.0
|
controller-gen.kubebuilder.io/version: v0.16.4
|
||||||
|
name: nodeversions.update.edgeless.systems
|
||||||
spec:
|
spec:
|
||||||
group: update.edgeless.systems
|
group: update.edgeless.systems
|
||||||
names:
|
names:
|
||||||
|
@ -19,14 +20,19 @@ spec:
|
||||||
description: NodeVersion is the Schema for the nodeversions API.
|
description: NodeVersion is the Schema for the nodeversions API.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: |-
|
||||||
of an object. Servers should convert recognized schemas to the latest
|
APIVersion defines the versioned schema of this representation of an object.
|
||||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
Servers should convert recognized schemas to the latest internal value, and
|
||||||
|
may reject unrecognized values.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this
|
description: |-
|
||||||
object represents. Servers may infer this from the endpoint the client
|
Kind is a string value representing the REST resource this object represents.
|
||||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
Servers may infer this from the endpoint the client submits requests to.
|
||||||
|
Cannot be updated.
|
||||||
|
In CamelCase.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
|
@ -60,65 +66,49 @@ spec:
|
||||||
description: AwaitingAnnotation is a list of nodes that are waiting
|
description: AwaitingAnnotation is a list of nodes that are waiting
|
||||||
for the operator to annotate them.
|
for the operator to annotate them.
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
budget:
|
budget:
|
||||||
description: Budget is the amount of extra nodes that can be created
|
description: Budget is the amount of extra nodes that can be created
|
||||||
|
@ -129,43 +119,35 @@ spec:
|
||||||
description: Conditions represent the latest available observations
|
description: Conditions represent the latest available observations
|
||||||
of an object's state
|
of an object's state
|
||||||
items:
|
items:
|
||||||
description: "Condition contains details for one aspect of the current
|
description: Condition contains details for one aspect of the current
|
||||||
state of this API Resource. --- This struct is intended for direct
|
state of this API Resource.
|
||||||
use as an array at the field path .status.conditions. For example,
|
|
||||||
\n type FooStatus struct{ // Represents the observations of a
|
|
||||||
foo's current state. // Known .status.conditions.type are: \"Available\",
|
|
||||||
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
|
|
||||||
// +listType=map // +listMapKey=type Conditions []metav1.Condition
|
|
||||||
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
|
|
||||||
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
|
|
||||||
properties:
|
properties:
|
||||||
lastTransitionTime:
|
lastTransitionTime:
|
||||||
description: lastTransitionTime is the last time the condition
|
description: |-
|
||||||
transitioned from one status to another. This should be when
|
lastTransitionTime is the last time the condition transitioned from one status to another.
|
||||||
the underlying condition changed. If that is not known, then
|
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
|
||||||
using the time when the API field changed is acceptable.
|
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
message:
|
message:
|
||||||
description: message is a human readable message indicating
|
description: |-
|
||||||
details about the transition. This may be an empty string.
|
message is a human readable message indicating details about the transition.
|
||||||
|
This may be an empty string.
|
||||||
maxLength: 32768
|
maxLength: 32768
|
||||||
type: string
|
type: string
|
||||||
observedGeneration:
|
observedGeneration:
|
||||||
description: observedGeneration represents the .metadata.generation
|
description: |-
|
||||||
that the condition was set based upon. For instance, if .metadata.generation
|
observedGeneration represents the .metadata.generation that the condition was set based upon.
|
||||||
is currently 12, but the .status.conditions[x].observedGeneration
|
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
|
||||||
is 9, the condition is out of date with respect to the current
|
with respect to the current state of the instance.
|
||||||
state of the instance.
|
|
||||||
format: int64
|
format: int64
|
||||||
minimum: 0
|
minimum: 0
|
||||||
type: integer
|
type: integer
|
||||||
reason:
|
reason:
|
||||||
description: reason contains a programmatic identifier indicating
|
description: |-
|
||||||
the reason for the condition's last transition. Producers
|
reason contains a programmatic identifier indicating the reason for the condition's last transition.
|
||||||
of specific condition types may define expected values and
|
Producers of specific condition types may define expected values and meanings for this field,
|
||||||
meanings for this field, and whether the values are considered
|
and whether the values are considered a guaranteed API.
|
||||||
a guaranteed API. The value should be a CamelCase string.
|
The value should be a CamelCase string.
|
||||||
This field may not be empty.
|
This field may not be empty.
|
||||||
maxLength: 1024
|
maxLength: 1024
|
||||||
minLength: 1
|
minLength: 1
|
||||||
|
@ -180,10 +162,6 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
type:
|
type:
|
||||||
description: type of condition in CamelCase or in foo.example.com/CamelCase.
|
description: type of condition in CamelCase or in foo.example.com/CamelCase.
|
||||||
--- Many .condition.type values are consistent across resources
|
|
||||||
like Available, but because arbitrary conditions can be useful
|
|
||||||
(see .node.status.conditions), the ability to deconflict is
|
|
||||||
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
|
|
||||||
maxLength: 316
|
maxLength: 316
|
||||||
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
|
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
|
||||||
type: string
|
type: string
|
||||||
|
@ -199,516 +177,389 @@ spec:
|
||||||
description: Donors is a list of outdated nodes that donate labels
|
description: Donors is a list of outdated nodes that donate labels
|
||||||
to heirs.
|
to heirs.
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
heirs:
|
heirs:
|
||||||
description: Heirs is a list of nodes using the latest image that
|
description: Heirs is a list of nodes using the latest image that
|
||||||
still need to inherit labels from donors.
|
still need to inherit labels from donors.
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
invalid:
|
invalid:
|
||||||
description: Invalid is a list of invalid nodes (nodes that cannot
|
description: Invalid is a list of invalid nodes (nodes that cannot
|
||||||
be processed by the operator due to missing information or transient
|
be processed by the operator due to missing information or transient
|
||||||
faults).
|
faults).
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
mints:
|
mints:
|
||||||
description: Mints is a list of up to date nodes that will become
|
description: Mints is a list of up to date nodes that will become
|
||||||
heirs.
|
heirs.
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
obsolete:
|
obsolete:
|
||||||
description: Obsolete is a list of obsolete nodes (nodes that have
|
description: Obsolete is a list of obsolete nodes (nodes that have
|
||||||
been created by the operator but are no longer needed).
|
been created by the operator but are no longer needed).
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
outdated:
|
outdated:
|
||||||
description: Outdated is a list of nodes that are using an outdated
|
description: Outdated is a list of nodes that are using an outdated
|
||||||
image.
|
image.
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
pending:
|
pending:
|
||||||
description: Pending is a list of pending nodes (joining or leaving
|
description: Pending is a list of pending nodes (joining or leaving
|
||||||
the cluster).
|
the cluster).
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
upToDate:
|
upToDate:
|
||||||
description: UpToDate is a list of nodes that are using the latest
|
description: UpToDate is a list of nodes that are using the latest
|
||||||
image and labels.
|
image and labels.
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
required:
|
required:
|
||||||
|
- activeclusterversionupgrade
|
||||||
- budget
|
- budget
|
||||||
- conditions
|
- conditions
|
||||||
type: object
|
type: object
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: pendingnodes.update.edgeless.systems
|
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.9.0
|
controller-gen.kubebuilder.io/version: v0.16.4
|
||||||
|
name: pendingnodes.update.edgeless.systems
|
||||||
spec:
|
spec:
|
||||||
group: update.edgeless.systems
|
group: update.edgeless.systems
|
||||||
names:
|
names:
|
||||||
|
@ -19,14 +20,19 @@ spec:
|
||||||
description: PendingNode is the Schema for the pendingnodes API.
|
description: PendingNode is the Schema for the pendingnodes API.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: |-
|
||||||
of an object. Servers should convert recognized schemas to the latest
|
APIVersion defines the versioned schema of this representation of an object.
|
||||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
Servers should convert recognized schemas to the latest internal value, and
|
||||||
|
may reject unrecognized values.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this
|
description: |-
|
||||||
object represents. Servers may infer this from the endpoint the client
|
Kind is a string value representing the REST resource this object represents.
|
||||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
Servers may infer this from the endpoint the client submits requests to.
|
||||||
|
Cannot be updated.
|
||||||
|
In CamelCase.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
|
@ -34,10 +40,11 @@ spec:
|
||||||
description: PendingNodeSpec defines the desired state of PendingNode.
|
description: PendingNodeSpec defines the desired state of PendingNode.
|
||||||
properties:
|
properties:
|
||||||
deadline:
|
deadline:
|
||||||
description: Deadline is the deadline for reaching the goal state. Joining
|
description: |-
|
||||||
nodes will be terminated if the deadline is exceeded. Leaving nodes
|
Deadline is the deadline for reaching the goal state.
|
||||||
will remain as unschedulable to prevent data loss. If not specified,
|
Joining nodes will be terminated if the deadline is exceeded.
|
||||||
the node may remain in the pending state indefinitely.
|
Leaving nodes will remain as unschedulable to prevent data loss.
|
||||||
|
If not specified, the node may remain in the pending state indefinitely.
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
goal:
|
goal:
|
||||||
|
@ -47,8 +54,8 @@ spec:
|
||||||
- Leave
|
- Leave
|
||||||
type: string
|
type: string
|
||||||
groupID:
|
groupID:
|
||||||
description: ScalingGroupID is the ID of the group that this node shall
|
description: ScalingGroupID is the ID of the group that this node
|
||||||
be part of.
|
shall be part of.
|
||||||
type: string
|
type: string
|
||||||
nodeName:
|
nodeName:
|
||||||
description: NodeName is the kubernetes internal name of the node.
|
description: NodeName is the kubernetes internal name of the node.
|
||||||
|
@ -72,7 +79,8 @@ spec:
|
||||||
- Failed
|
- Failed
|
||||||
type: string
|
type: string
|
||||||
reachedGoal:
|
reachedGoal:
|
||||||
description: ReachedGoal is true if the node has reached the goal state.
|
description: ReachedGoal is true if the node has reached the goal
|
||||||
|
state.
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
|
@ -80,9 +88,3 @@ spec:
|
||||||
storage: true
|
storage: true
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
status:
|
|
||||||
acceptedNames:
|
|
||||||
kind: ""
|
|
||||||
plural: ""
|
|
||||||
conditions: []
|
|
||||||
storedVersions: []
|
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: scalinggroups.update.edgeless.systems
|
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.9.0
|
controller-gen.kubebuilder.io/version: v0.16.4
|
||||||
|
name: scalinggroups.update.edgeless.systems
|
||||||
spec:
|
spec:
|
||||||
group: update.edgeless.systems
|
group: update.edgeless.systems
|
||||||
names:
|
names:
|
||||||
|
@ -19,14 +20,19 @@ spec:
|
||||||
description: ScalingGroup is the Schema for the scalinggroups API.
|
description: ScalingGroup is the Schema for the scalinggroups API.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: |-
|
||||||
of an object. Servers should convert recognized schemas to the latest
|
APIVersion defines the versioned schema of this representation of an object.
|
||||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
Servers should convert recognized schemas to the latest internal value, and
|
||||||
|
may reject unrecognized values.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this
|
description: |-
|
||||||
object represents. Servers may infer this from the endpoint the client
|
Kind is a string value representing the REST resource this object represents.
|
||||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
Servers may infer this from the endpoint the client submits requests to.
|
||||||
|
Cannot be updated.
|
||||||
|
In CamelCase.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
|
@ -37,16 +43,16 @@ spec:
|
||||||
description: AutoscalerGroupName is name that is expected by the autoscaler.
|
description: AutoscalerGroupName is name that is expected by the autoscaler.
|
||||||
type: string
|
type: string
|
||||||
autoscaling:
|
autoscaling:
|
||||||
description: Autoscaling specifies wether the scaling group should automatically
|
description: Autoscaling specifies wether the scaling group should
|
||||||
scale using the cluster-autoscaler.
|
automatically scale using the cluster-autoscaler.
|
||||||
type: boolean
|
type: boolean
|
||||||
groupId:
|
groupId:
|
||||||
description: GroupID is the CSP specific, canonical identifier of a
|
description: GroupID is the CSP specific, canonical identifier of
|
||||||
scaling group.
|
a scaling group.
|
||||||
type: string
|
type: string
|
||||||
max:
|
max:
|
||||||
description: Max is the maximum number of autoscaled nodes in the scaling
|
description: Max is the maximum number of autoscaled nodes in the
|
||||||
group (used by cluster-autoscaler).
|
scaling group (used by cluster-autoscaler).
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
min:
|
min:
|
||||||
|
@ -55,11 +61,11 @@ spec:
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
nodeGroupName:
|
nodeGroupName:
|
||||||
description: NodeGroupName is the human friendly name of the node group
|
description: NodeGroupName is the human friendly name of the node
|
||||||
as defined in the Constellation configuration.
|
group as defined in the Constellation configuration.
|
||||||
type: string
|
type: string
|
||||||
nodeImage:
|
nodeImage:
|
||||||
description: NodeImage is the name of the NodeImage resource.
|
description: NodeVersion is the name of the NodeVersion resource.
|
||||||
type: string
|
type: string
|
||||||
role:
|
role:
|
||||||
description: Role is the role of the nodes in the scaling group.
|
description: Role is the role of the nodes in the scaling group.
|
||||||
|
@ -75,44 +81,36 @@ spec:
|
||||||
description: Conditions represent the latest available observations
|
description: Conditions represent the latest available observations
|
||||||
of an object's state.
|
of an object's state.
|
||||||
items:
|
items:
|
||||||
description: "Condition contains details for one aspect of the current
|
description: Condition contains details for one aspect of the current
|
||||||
state of this API Resource. --- This struct is intended for direct
|
state of this API Resource.
|
||||||
use as an array at the field path .status.conditions. For example,
|
|
||||||
\n type FooStatus struct{ // Represents the observations of a foo's
|
|
||||||
current state. // Known .status.conditions.type are: \"Available\",
|
|
||||||
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
|
|
||||||
// +listType=map // +listMapKey=type Conditions []metav1.Condition
|
|
||||||
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
|
|
||||||
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
|
|
||||||
properties:
|
properties:
|
||||||
lastTransitionTime:
|
lastTransitionTime:
|
||||||
description: lastTransitionTime is the last time the condition
|
description: |-
|
||||||
transitioned from one status to another. This should be when
|
lastTransitionTime is the last time the condition transitioned from one status to another.
|
||||||
the underlying condition changed. If that is not known, then
|
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
|
||||||
using the time when the API field changed is acceptable.
|
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
message:
|
message:
|
||||||
description: message is a human readable message indicating details
|
description: |-
|
||||||
about the transition. This may be an empty string.
|
message is a human readable message indicating details about the transition.
|
||||||
|
This may be an empty string.
|
||||||
maxLength: 32768
|
maxLength: 32768
|
||||||
type: string
|
type: string
|
||||||
observedGeneration:
|
observedGeneration:
|
||||||
description: observedGeneration represents the .metadata.generation
|
description: |-
|
||||||
that the condition was set based upon. For instance, if .metadata.generation
|
observedGeneration represents the .metadata.generation that the condition was set based upon.
|
||||||
is currently 12, but the .status.conditions[x].observedGeneration
|
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
|
||||||
is 9, the condition is out of date with respect to the current
|
with respect to the current state of the instance.
|
||||||
state of the instance.
|
|
||||||
format: int64
|
format: int64
|
||||||
minimum: 0
|
minimum: 0
|
||||||
type: integer
|
type: integer
|
||||||
reason:
|
reason:
|
||||||
description: reason contains a programmatic identifier indicating
|
description: |-
|
||||||
the reason for the condition's last transition. Producers of
|
reason contains a programmatic identifier indicating the reason for the condition's last transition.
|
||||||
specific condition types may define expected values and meanings
|
Producers of specific condition types may define expected values and meanings for this field,
|
||||||
for this field, and whether the values are considered a guaranteed
|
and whether the values are considered a guaranteed API.
|
||||||
API. The value should be a CamelCase string. This field may
|
The value should be a CamelCase string.
|
||||||
not be empty.
|
This field may not be empty.
|
||||||
maxLength: 1024
|
maxLength: 1024
|
||||||
minLength: 1
|
minLength: 1
|
||||||
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
|
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
|
||||||
|
@ -126,10 +124,6 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
type:
|
type:
|
||||||
description: type of condition in CamelCase or in foo.example.com/CamelCase.
|
description: type of condition in CamelCase or in foo.example.com/CamelCase.
|
||||||
--- Many .condition.type values are consistent across resources
|
|
||||||
like Available, but because arbitrary conditions can be useful
|
|
||||||
(see .node.status.conditions), the ability to deconflict is
|
|
||||||
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
|
|
||||||
maxLength: 316
|
maxLength: 316
|
||||||
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
|
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
|
||||||
type: string
|
type: string
|
||||||
|
@ -142,8 +136,8 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
imageReference:
|
imageReference:
|
||||||
description: ImageReference is the image currently used for newly created
|
description: ImageReference is the image currently used for newly
|
||||||
nodes in this scaling group.
|
created nodes in this scaling group.
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- conditions
|
- conditions
|
||||||
|
@ -153,9 +147,3 @@ spec:
|
||||||
storage: true
|
storage: true
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
status:
|
|
||||||
acceptedNames:
|
|
||||||
kind: ""
|
|
||||||
plural: ""
|
|
||||||
conditions: []
|
|
||||||
storedVersions: []
|
|
||||||
|
|
|
@ -59,6 +59,10 @@ rules:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies
|
- autoscalingstrategies
|
||||||
|
- joiningnodes
|
||||||
|
- nodeversions
|
||||||
|
- pendingnodes
|
||||||
|
- scalinggroups
|
||||||
verbs:
|
verbs:
|
||||||
- create
|
- create
|
||||||
- delete
|
- delete
|
||||||
|
@ -71,38 +75,20 @@ rules:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies/finalizers
|
- autoscalingstrategies/finalizers
|
||||||
|
- joiningnodes/finalizers
|
||||||
|
- nodeversions/finalizers
|
||||||
|
- pendingnodes/finalizers
|
||||||
|
- scalinggroups/finalizers
|
||||||
verbs:
|
verbs:
|
||||||
- update
|
- update
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies/status
|
- autoscalingstrategies/status
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes/status
|
- joiningnodes/status
|
||||||
|
- nodeversions/status
|
||||||
|
- pendingnodes/status
|
||||||
|
- scalinggroups/status
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- patch
|
- patch
|
||||||
|
@ -121,84 +107,6 @@ rules:
|
||||||
- nodeversion/status
|
- nodeversion/status
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
|
|
|
@ -62,6 +62,10 @@ rules:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies
|
- autoscalingstrategies
|
||||||
|
- joiningnodes
|
||||||
|
- nodeversions
|
||||||
|
- pendingnodes
|
||||||
|
- scalinggroups
|
||||||
verbs:
|
verbs:
|
||||||
- create
|
- create
|
||||||
- delete
|
- delete
|
||||||
|
@ -74,38 +78,20 @@ rules:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies/finalizers
|
- autoscalingstrategies/finalizers
|
||||||
|
- joiningnodes/finalizers
|
||||||
|
- nodeversions/finalizers
|
||||||
|
- pendingnodes/finalizers
|
||||||
|
- scalinggroups/finalizers
|
||||||
verbs:
|
verbs:
|
||||||
- update
|
- update
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies/status
|
- autoscalingstrategies/status
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes/status
|
- joiningnodes/status
|
||||||
|
- nodeversions/status
|
||||||
|
- pendingnodes/status
|
||||||
|
- scalinggroups/status
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- patch
|
- patch
|
||||||
|
@ -124,84 +110,6 @@ rules:
|
||||||
- nodeversion/status
|
- nodeversion/status
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
|
|
|
@ -62,6 +62,10 @@ rules:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies
|
- autoscalingstrategies
|
||||||
|
- joiningnodes
|
||||||
|
- nodeversions
|
||||||
|
- pendingnodes
|
||||||
|
- scalinggroups
|
||||||
verbs:
|
verbs:
|
||||||
- create
|
- create
|
||||||
- delete
|
- delete
|
||||||
|
@ -74,38 +78,20 @@ rules:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies/finalizers
|
- autoscalingstrategies/finalizers
|
||||||
|
- joiningnodes/finalizers
|
||||||
|
- nodeversions/finalizers
|
||||||
|
- pendingnodes/finalizers
|
||||||
|
- scalinggroups/finalizers
|
||||||
verbs:
|
verbs:
|
||||||
- update
|
- update
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies/status
|
- autoscalingstrategies/status
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes/status
|
- joiningnodes/status
|
||||||
|
- nodeversions/status
|
||||||
|
- pendingnodes/status
|
||||||
|
- scalinggroups/status
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- patch
|
- patch
|
||||||
|
@ -124,84 +110,6 @@ rules:
|
||||||
- nodeversion/status
|
- nodeversion/status
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
|
|
|
@ -62,6 +62,10 @@ rules:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies
|
- autoscalingstrategies
|
||||||
|
- joiningnodes
|
||||||
|
- nodeversions
|
||||||
|
- pendingnodes
|
||||||
|
- scalinggroups
|
||||||
verbs:
|
verbs:
|
||||||
- create
|
- create
|
||||||
- delete
|
- delete
|
||||||
|
@ -74,38 +78,20 @@ rules:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies/finalizers
|
- autoscalingstrategies/finalizers
|
||||||
|
- joiningnodes/finalizers
|
||||||
|
- nodeversions/finalizers
|
||||||
|
- pendingnodes/finalizers
|
||||||
|
- scalinggroups/finalizers
|
||||||
verbs:
|
verbs:
|
||||||
- update
|
- update
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies/status
|
- autoscalingstrategies/status
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes/status
|
- joiningnodes/status
|
||||||
|
- nodeversions/status
|
||||||
|
- pendingnodes/status
|
||||||
|
- scalinggroups/status
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- patch
|
- patch
|
||||||
|
@ -124,84 +110,6 @@ rules:
|
||||||
- nodeversion/status
|
- nodeversion/status
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
|
|
|
@ -62,6 +62,10 @@ rules:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies
|
- autoscalingstrategies
|
||||||
|
- joiningnodes
|
||||||
|
- nodeversions
|
||||||
|
- pendingnodes
|
||||||
|
- scalinggroups
|
||||||
verbs:
|
verbs:
|
||||||
- create
|
- create
|
||||||
- delete
|
- delete
|
||||||
|
@ -74,38 +78,20 @@ rules:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies/finalizers
|
- autoscalingstrategies/finalizers
|
||||||
|
- joiningnodes/finalizers
|
||||||
|
- nodeversions/finalizers
|
||||||
|
- pendingnodes/finalizers
|
||||||
|
- scalinggroups/finalizers
|
||||||
verbs:
|
verbs:
|
||||||
- update
|
- update
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies/status
|
- autoscalingstrategies/status
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes/status
|
- joiningnodes/status
|
||||||
|
- nodeversions/status
|
||||||
|
- pendingnodes/status
|
||||||
|
- scalinggroups/status
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- patch
|
- patch
|
||||||
|
@ -124,84 +110,6 @@ rules:
|
||||||
- nodeversion/status
|
- nodeversion/status
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
|
|
|
@ -62,6 +62,10 @@ rules:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies
|
- autoscalingstrategies
|
||||||
|
- joiningnodes
|
||||||
|
- nodeversions
|
||||||
|
- pendingnodes
|
||||||
|
- scalinggroups
|
||||||
verbs:
|
verbs:
|
||||||
- create
|
- create
|
||||||
- delete
|
- delete
|
||||||
|
@ -74,38 +78,20 @@ rules:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies/finalizers
|
- autoscalingstrategies/finalizers
|
||||||
|
- joiningnodes/finalizers
|
||||||
|
- nodeversions/finalizers
|
||||||
|
- pendingnodes/finalizers
|
||||||
|
- scalinggroups/finalizers
|
||||||
verbs:
|
verbs:
|
||||||
- update
|
- update
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies/status
|
- autoscalingstrategies/status
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes/status
|
- joiningnodes/status
|
||||||
|
- nodeversions/status
|
||||||
|
- pendingnodes/status
|
||||||
|
- scalinggroups/status
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- patch
|
- patch
|
||||||
|
@ -124,84 +110,6 @@ rules:
|
||||||
- nodeversion/status
|
- nodeversion/status
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
|
|
|
@ -86,11 +86,11 @@ help: ## Display this help.
|
||||||
|
|
||||||
.PHONY: manifests
|
.PHONY: manifests
|
||||||
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
|
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
|
||||||
$(CONTROLLER_GEN) rbac:roleName=manager-role crd webhook paths="./" output:crd:artifacts:config=config/crd/bases
|
$(CONTROLLER_GEN) rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
|
||||||
|
|
||||||
.PHONY: generate
|
.PHONY: generate
|
||||||
generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
|
generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
|
||||||
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./"
|
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."
|
||||||
|
|
||||||
.PHONY: fmt
|
.PHONY: fmt
|
||||||
fmt: ## Run go fmt against code.
|
fmt: ## Run go fmt against code.
|
||||||
|
@ -162,7 +162,7 @@ CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen
|
||||||
|
|
||||||
## Tool Versions
|
## Tool Versions
|
||||||
KUSTOMIZE_VERSION ?= v3.8.7
|
KUSTOMIZE_VERSION ?= v3.8.7
|
||||||
CONTROLLER_TOOLS_VERSION ?= v0.9.0
|
CONTROLLER_TOOLS_VERSION ?= v0.16.4
|
||||||
|
|
||||||
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
|
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
|
||||||
.PHONY: kustomize
|
.PHONY: kustomize
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
//go:build !ignore_autogenerated
|
//go:build !ignore_autogenerated
|
||||||
// +build !ignore_autogenerated
|
|
||||||
|
|
||||||
// Code generated by controller-gen. DO NOT EDIT.
|
// Code generated by controller-gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.9.0
|
controller-gen.kubebuilder.io/version: v0.16.4
|
||||||
creationTimestamp: null
|
|
||||||
name: autoscalingstrategies.update.edgeless.systems
|
name: autoscalingstrategies.update.edgeless.systems
|
||||||
spec:
|
spec:
|
||||||
group: update.edgeless.systems
|
group: update.edgeless.systems
|
||||||
|
@ -22,14 +21,19 @@ spec:
|
||||||
API.
|
API.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: |-
|
||||||
of an object. Servers should convert recognized schemas to the latest
|
APIVersion defines the versioned schema of this representation of an object.
|
||||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
Servers should convert recognized schemas to the latest internal value, and
|
||||||
|
may reject unrecognized values.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this
|
description: |-
|
||||||
object represents. Servers may infer this from the endpoint the client
|
Kind is a string value representing the REST resource this object represents.
|
||||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
Servers may infer this from the endpoint the client submits requests to.
|
||||||
|
Cannot be updated.
|
||||||
|
In CamelCase.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
|
|
|
@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.9.0
|
controller-gen.kubebuilder.io/version: v0.16.4
|
||||||
creationTimestamp: null
|
|
||||||
name: joiningnodes.update.edgeless.systems
|
name: joiningnodes.update.edgeless.systems
|
||||||
spec:
|
spec:
|
||||||
group: update.edgeless.systems
|
group: update.edgeless.systems
|
||||||
|
@ -21,14 +20,19 @@ spec:
|
||||||
description: JoiningNode is the Schema for the joiningnodes API.
|
description: JoiningNode is the Schema for the joiningnodes API.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: |-
|
||||||
of an object. Servers should convert recognized schemas to the latest
|
APIVersion defines the versioned schema of this representation of an object.
|
||||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
Servers should convert recognized schemas to the latest internal value, and
|
||||||
|
may reject unrecognized values.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this
|
description: |-
|
||||||
object represents. Servers may infer this from the endpoint the client
|
Kind is a string value representing the REST resource this object represents.
|
||||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
Servers may infer this from the endpoint the client submits requests to.
|
||||||
|
Cannot be updated.
|
||||||
|
In CamelCase.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
|
|
|
@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.9.0
|
controller-gen.kubebuilder.io/version: v0.16.4
|
||||||
creationTimestamp: null
|
|
||||||
name: nodeversions.update.edgeless.systems
|
name: nodeversions.update.edgeless.systems
|
||||||
spec:
|
spec:
|
||||||
group: update.edgeless.systems
|
group: update.edgeless.systems
|
||||||
|
@ -21,14 +20,19 @@ spec:
|
||||||
description: NodeVersion is the Schema for the nodeversions API.
|
description: NodeVersion is the Schema for the nodeversions API.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: |-
|
||||||
of an object. Servers should convert recognized schemas to the latest
|
APIVersion defines the versioned schema of this representation of an object.
|
||||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
Servers should convert recognized schemas to the latest internal value, and
|
||||||
|
may reject unrecognized values.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this
|
description: |-
|
||||||
object represents. Servers may infer this from the endpoint the client
|
Kind is a string value representing the REST resource this object represents.
|
||||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
Servers may infer this from the endpoint the client submits requests to.
|
||||||
|
Cannot be updated.
|
||||||
|
In CamelCase.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
|
@ -62,65 +66,49 @@ spec:
|
||||||
description: AwaitingAnnotation is a list of nodes that are waiting
|
description: AwaitingAnnotation is a list of nodes that are waiting
|
||||||
for the operator to annotate them.
|
for the operator to annotate them.
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
budget:
|
budget:
|
||||||
description: Budget is the amount of extra nodes that can be created
|
description: Budget is the amount of extra nodes that can be created
|
||||||
|
@ -131,43 +119,35 @@ spec:
|
||||||
description: Conditions represent the latest available observations
|
description: Conditions represent the latest available observations
|
||||||
of an object's state
|
of an object's state
|
||||||
items:
|
items:
|
||||||
description: "Condition contains details for one aspect of the current
|
description: Condition contains details for one aspect of the current
|
||||||
state of this API Resource. --- This struct is intended for direct
|
state of this API Resource.
|
||||||
use as an array at the field path .status.conditions. For example,
|
|
||||||
\n type FooStatus struct{ // Represents the observations of a
|
|
||||||
foo's current state. // Known .status.conditions.type are: \"Available\",
|
|
||||||
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
|
|
||||||
// +listType=map // +listMapKey=type Conditions []metav1.Condition
|
|
||||||
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
|
|
||||||
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
|
|
||||||
properties:
|
properties:
|
||||||
lastTransitionTime:
|
lastTransitionTime:
|
||||||
description: lastTransitionTime is the last time the condition
|
description: |-
|
||||||
transitioned from one status to another. This should be when
|
lastTransitionTime is the last time the condition transitioned from one status to another.
|
||||||
the underlying condition changed. If that is not known, then
|
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
|
||||||
using the time when the API field changed is acceptable.
|
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
message:
|
message:
|
||||||
description: message is a human readable message indicating
|
description: |-
|
||||||
details about the transition. This may be an empty string.
|
message is a human readable message indicating details about the transition.
|
||||||
|
This may be an empty string.
|
||||||
maxLength: 32768
|
maxLength: 32768
|
||||||
type: string
|
type: string
|
||||||
observedGeneration:
|
observedGeneration:
|
||||||
description: observedGeneration represents the .metadata.generation
|
description: |-
|
||||||
that the condition was set based upon. For instance, if .metadata.generation
|
observedGeneration represents the .metadata.generation that the condition was set based upon.
|
||||||
is currently 12, but the .status.conditions[x].observedGeneration
|
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
|
||||||
is 9, the condition is out of date with respect to the current
|
with respect to the current state of the instance.
|
||||||
state of the instance.
|
|
||||||
format: int64
|
format: int64
|
||||||
minimum: 0
|
minimum: 0
|
||||||
type: integer
|
type: integer
|
||||||
reason:
|
reason:
|
||||||
description: reason contains a programmatic identifier indicating
|
description: |-
|
||||||
the reason for the condition's last transition. Producers
|
reason contains a programmatic identifier indicating the reason for the condition's last transition.
|
||||||
of specific condition types may define expected values and
|
Producers of specific condition types may define expected values and meanings for this field,
|
||||||
meanings for this field, and whether the values are considered
|
and whether the values are considered a guaranteed API.
|
||||||
a guaranteed API. The value should be a CamelCase string.
|
The value should be a CamelCase string.
|
||||||
This field may not be empty.
|
This field may not be empty.
|
||||||
maxLength: 1024
|
maxLength: 1024
|
||||||
minLength: 1
|
minLength: 1
|
||||||
|
@ -182,10 +162,6 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
type:
|
type:
|
||||||
description: type of condition in CamelCase or in foo.example.com/CamelCase.
|
description: type of condition in CamelCase or in foo.example.com/CamelCase.
|
||||||
--- Many .condition.type values are consistent across resources
|
|
||||||
like Available, but because arbitrary conditions can be useful
|
|
||||||
(see .node.status.conditions), the ability to deconflict is
|
|
||||||
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
|
|
||||||
maxLength: 316
|
maxLength: 316
|
||||||
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
|
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
|
||||||
type: string
|
type: string
|
||||||
|
@ -201,514 +177,386 @@ spec:
|
||||||
description: Donors is a list of outdated nodes that donate labels
|
description: Donors is a list of outdated nodes that donate labels
|
||||||
to heirs.
|
to heirs.
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
heirs:
|
heirs:
|
||||||
description: Heirs is a list of nodes using the latest image that
|
description: Heirs is a list of nodes using the latest image that
|
||||||
still need to inherit labels from donors.
|
still need to inherit labels from donors.
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
invalid:
|
invalid:
|
||||||
description: Invalid is a list of invalid nodes (nodes that cannot
|
description: Invalid is a list of invalid nodes (nodes that cannot
|
||||||
be processed by the operator due to missing information or transient
|
be processed by the operator due to missing information or transient
|
||||||
faults).
|
faults).
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
mints:
|
mints:
|
||||||
description: Mints is a list of up to date nodes that will become
|
description: Mints is a list of up to date nodes that will become
|
||||||
heirs.
|
heirs.
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
obsolete:
|
obsolete:
|
||||||
description: Obsolete is a list of obsolete nodes (nodes that have
|
description: Obsolete is a list of obsolete nodes (nodes that have
|
||||||
been created by the operator but are no longer needed).
|
been created by the operator but are no longer needed).
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
outdated:
|
outdated:
|
||||||
description: Outdated is a list of nodes that are using an outdated
|
description: Outdated is a list of nodes that are using an outdated
|
||||||
image.
|
image.
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
pending:
|
pending:
|
||||||
description: Pending is a list of pending nodes (joining or leaving
|
description: Pending is a list of pending nodes (joining or leaving
|
||||||
the cluster).
|
the cluster).
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
upToDate:
|
upToDate:
|
||||||
description: UpToDate is a list of nodes that are using the latest
|
description: UpToDate is a list of nodes that are using the latest
|
||||||
image and labels.
|
image and labels.
|
||||||
items:
|
items:
|
||||||
description: "ObjectReference contains enough information to let
|
description: ObjectReference contains enough information to let
|
||||||
you inspect or modify the referred object. --- New uses of this
|
you inspect or modify the referred object.
|
||||||
type are discouraged because of difficulty describing its usage
|
|
||||||
when embedded in APIs. 1. Ignored fields. It includes many fields
|
|
||||||
which are not generally honored. For instance, ResourceVersion
|
|
||||||
and FieldPath are both very rarely valid in actual usage. 2. Invalid
|
|
||||||
usage help. It is impossible to add specific help for individual
|
|
||||||
usage. In most embedded usages, there are particular restrictions
|
|
||||||
like, \"must refer only to types A and B\" or \"UID not honored\"
|
|
||||||
or \"name must be restricted\". Those cannot be well described
|
|
||||||
when embedded. 3. Inconsistent validation. Because the usages
|
|
||||||
are different, the validation rules are different by usage, which
|
|
||||||
makes it hard for users to predict what will happen. 4. The fields
|
|
||||||
are both imprecise and overly precise. Kind is not a precise
|
|
||||||
mapping to a URL. This can produce ambiguity during interpretation
|
|
||||||
and require a REST mapping. In most cases, the dependency is
|
|
||||||
on the group,resource tuple and the version of the actual struct
|
|
||||||
is irrelevant. 5. We cannot easily change it. Because this type
|
|
||||||
is embedded in many locations, updates to this type will affect
|
|
||||||
numerous schemas. Don't make new APIs embed an underspecified
|
|
||||||
API type they do not control. \n Instead of using this type, create
|
|
||||||
a locally provided and used type that is well-focused on your
|
|
||||||
reference. For example, ServiceReferences for admission registration:
|
|
||||||
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
|
|
||||||
."
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: API version of the referent.
|
description: API version of the referent.
|
||||||
type: string
|
type: string
|
||||||
fieldPath:
|
fieldPath:
|
||||||
description: 'If referring to a piece of an object instead of
|
description: |-
|
||||||
an entire object, this string should contain a valid JSON/Go
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
field access statement, such as desiredState.manifest.containers[2].
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
For example, if the object reference is to a container within
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
a pod, this would take on a value like: "spec.containers{name}"
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
(where "name" refers to the name of the container that triggered
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
the event) or if no container name is specified "spec.containers[2]"
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
(container with index 2 in this pod). This syntax is chosen
|
referencing a part of an object.
|
||||||
only to have some well-defined way of referencing a part of
|
|
||||||
an object. TODO: this design is not final and this field is
|
|
||||||
subject to change in the future.'
|
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
type: string
|
type: string
|
||||||
resourceVersion:
|
resourceVersion:
|
||||||
description: 'Specific resourceVersion to which this reference
|
description: |-
|
||||||
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
type: string
|
type: string
|
||||||
uid:
|
uid:
|
||||||
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
required:
|
required:
|
||||||
- activeclusterversionupgrade
|
- activeclusterversionupgrade
|
||||||
|
|
|
@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.9.0
|
controller-gen.kubebuilder.io/version: v0.16.4
|
||||||
creationTimestamp: null
|
|
||||||
name: pendingnodes.update.edgeless.systems
|
name: pendingnodes.update.edgeless.systems
|
||||||
spec:
|
spec:
|
||||||
group: update.edgeless.systems
|
group: update.edgeless.systems
|
||||||
|
@ -21,14 +20,19 @@ spec:
|
||||||
description: PendingNode is the Schema for the pendingnodes API.
|
description: PendingNode is the Schema for the pendingnodes API.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: |-
|
||||||
of an object. Servers should convert recognized schemas to the latest
|
APIVersion defines the versioned schema of this representation of an object.
|
||||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
Servers should convert recognized schemas to the latest internal value, and
|
||||||
|
may reject unrecognized values.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this
|
description: |-
|
||||||
object represents. Servers may infer this from the endpoint the client
|
Kind is a string value representing the REST resource this object represents.
|
||||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
Servers may infer this from the endpoint the client submits requests to.
|
||||||
|
Cannot be updated.
|
||||||
|
In CamelCase.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
|
@ -36,10 +40,11 @@ spec:
|
||||||
description: PendingNodeSpec defines the desired state of PendingNode.
|
description: PendingNodeSpec defines the desired state of PendingNode.
|
||||||
properties:
|
properties:
|
||||||
deadline:
|
deadline:
|
||||||
description: Deadline is the deadline for reaching the goal state.
|
description: |-
|
||||||
Joining nodes will be terminated if the deadline is exceeded. Leaving
|
Deadline is the deadline for reaching the goal state.
|
||||||
nodes will remain as unschedulable to prevent data loss. If not
|
Joining nodes will be terminated if the deadline is exceeded.
|
||||||
specified, the node may remain in the pending state indefinitely.
|
Leaving nodes will remain as unschedulable to prevent data loss.
|
||||||
|
If not specified, the node may remain in the pending state indefinitely.
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
goal:
|
goal:
|
||||||
|
|
|
@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.9.0
|
controller-gen.kubebuilder.io/version: v0.16.4
|
||||||
creationTimestamp: null
|
|
||||||
name: scalinggroups.update.edgeless.systems
|
name: scalinggroups.update.edgeless.systems
|
||||||
spec:
|
spec:
|
||||||
group: update.edgeless.systems
|
group: update.edgeless.systems
|
||||||
|
@ -21,14 +20,19 @@ spec:
|
||||||
description: ScalingGroup is the Schema for the scalinggroups API.
|
description: ScalingGroup is the Schema for the scalinggroups API.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: |-
|
||||||
of an object. Servers should convert recognized schemas to the latest
|
APIVersion defines the versioned schema of this representation of an object.
|
||||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
Servers should convert recognized schemas to the latest internal value, and
|
||||||
|
may reject unrecognized values.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this
|
description: |-
|
||||||
object represents. Servers may infer this from the endpoint the client
|
Kind is a string value representing the REST resource this object represents.
|
||||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
Servers may infer this from the endpoint the client submits requests to.
|
||||||
|
Cannot be updated.
|
||||||
|
In CamelCase.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
|
@ -57,8 +61,8 @@ spec:
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
nodeGroupName:
|
nodeGroupName:
|
||||||
description: NodeGroupName is the human friendly name of the node group
|
description: NodeGroupName is the human friendly name of the node
|
||||||
as defined in the Constellation configuration.
|
group as defined in the Constellation configuration.
|
||||||
type: string
|
type: string
|
||||||
nodeImage:
|
nodeImage:
|
||||||
description: NodeVersion is the name of the NodeVersion resource.
|
description: NodeVersion is the name of the NodeVersion resource.
|
||||||
|
@ -77,43 +81,35 @@ spec:
|
||||||
description: Conditions represent the latest available observations
|
description: Conditions represent the latest available observations
|
||||||
of an object's state.
|
of an object's state.
|
||||||
items:
|
items:
|
||||||
description: "Condition contains details for one aspect of the current
|
description: Condition contains details for one aspect of the current
|
||||||
state of this API Resource. --- This struct is intended for direct
|
state of this API Resource.
|
||||||
use as an array at the field path .status.conditions. For example,
|
|
||||||
\n type FooStatus struct{ // Represents the observations of a
|
|
||||||
foo's current state. // Known .status.conditions.type are: \"Available\",
|
|
||||||
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
|
|
||||||
// +listType=map // +listMapKey=type Conditions []metav1.Condition
|
|
||||||
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
|
|
||||||
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
|
|
||||||
properties:
|
properties:
|
||||||
lastTransitionTime:
|
lastTransitionTime:
|
||||||
description: lastTransitionTime is the last time the condition
|
description: |-
|
||||||
transitioned from one status to another. This should be when
|
lastTransitionTime is the last time the condition transitioned from one status to another.
|
||||||
the underlying condition changed. If that is not known, then
|
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
|
||||||
using the time when the API field changed is acceptable.
|
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
message:
|
message:
|
||||||
description: message is a human readable message indicating
|
description: |-
|
||||||
details about the transition. This may be an empty string.
|
message is a human readable message indicating details about the transition.
|
||||||
|
This may be an empty string.
|
||||||
maxLength: 32768
|
maxLength: 32768
|
||||||
type: string
|
type: string
|
||||||
observedGeneration:
|
observedGeneration:
|
||||||
description: observedGeneration represents the .metadata.generation
|
description: |-
|
||||||
that the condition was set based upon. For instance, if .metadata.generation
|
observedGeneration represents the .metadata.generation that the condition was set based upon.
|
||||||
is currently 12, but the .status.conditions[x].observedGeneration
|
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
|
||||||
is 9, the condition is out of date with respect to the current
|
with respect to the current state of the instance.
|
||||||
state of the instance.
|
|
||||||
format: int64
|
format: int64
|
||||||
minimum: 0
|
minimum: 0
|
||||||
type: integer
|
type: integer
|
||||||
reason:
|
reason:
|
||||||
description: reason contains a programmatic identifier indicating
|
description: |-
|
||||||
the reason for the condition's last transition. Producers
|
reason contains a programmatic identifier indicating the reason for the condition's last transition.
|
||||||
of specific condition types may define expected values and
|
Producers of specific condition types may define expected values and meanings for this field,
|
||||||
meanings for this field, and whether the values are considered
|
and whether the values are considered a guaranteed API.
|
||||||
a guaranteed API. The value should be a CamelCase string.
|
The value should be a CamelCase string.
|
||||||
This field may not be empty.
|
This field may not be empty.
|
||||||
maxLength: 1024
|
maxLength: 1024
|
||||||
minLength: 1
|
minLength: 1
|
||||||
|
@ -128,10 +124,6 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
type:
|
type:
|
||||||
description: type of condition in CamelCase or in foo.example.com/CamelCase.
|
description: type of condition in CamelCase or in foo.example.com/CamelCase.
|
||||||
--- Many .condition.type values are consistent across resources
|
|
||||||
like Available, but because arbitrary conditions can be useful
|
|
||||||
(see .node.status.conditions), the ability to deconflict is
|
|
||||||
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
|
|
||||||
maxLength: 316
|
maxLength: 316
|
||||||
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
|
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
|
||||||
type: string
|
type: string
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
|
||||||
name: manager-role
|
name: manager-role
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
|
@ -12,6 +11,7 @@ rules:
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
|
- watch
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
|
@ -57,6 +57,10 @@ rules:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies
|
- autoscalingstrategies
|
||||||
|
- joiningnodes
|
||||||
|
- nodeversions
|
||||||
|
- pendingnodes
|
||||||
|
- scalinggroups
|
||||||
verbs:
|
verbs:
|
||||||
- create
|
- create
|
||||||
- delete
|
- delete
|
||||||
|
@ -69,38 +73,20 @@ rules:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies/finalizers
|
- autoscalingstrategies/finalizers
|
||||||
|
- joiningnodes/finalizers
|
||||||
|
- nodeversions/finalizers
|
||||||
|
- pendingnodes/finalizers
|
||||||
|
- scalinggroups/finalizers
|
||||||
verbs:
|
verbs:
|
||||||
- update
|
- update
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- update.edgeless.systems
|
- update.edgeless.systems
|
||||||
resources:
|
resources:
|
||||||
- autoscalingstrategies/status
|
- autoscalingstrategies/status
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- joiningnodes/status
|
- joiningnodes/status
|
||||||
|
- nodeversions/status
|
||||||
|
- pendingnodes/status
|
||||||
|
- scalinggroups/status
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- patch
|
- patch
|
||||||
|
@ -119,81 +105,3 @@ rules:
|
||||||
- nodeversion/status
|
- nodeversion/status
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- nodeversions/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- pendingnodes/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups/finalizers
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- update.edgeless.systems
|
|
||||||
resources:
|
|
||||||
- scalinggroups/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue