Merge pull request #1732 from RainbowMango/pr_bump_controller_tools
Bump controller-tools to v0.8.0
This commit is contained in:
commit
2d47c5b08a
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.6.2
|
controller-gen.kubebuilder.io/version: v0.8.0
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: resourceinterpreterwebhookconfigurations.config.karmada.io
|
name: resourceinterpreterwebhookconfigurations.config.karmada.io
|
||||||
spec:
|
spec:
|
||||||
|
@ -127,8 +126,8 @@ spec:
|
||||||
apiGroups:
|
apiGroups:
|
||||||
description: "APIGroups is the API groups the resources belong
|
description: "APIGroups is the API groups the resources belong
|
||||||
to. '*' is all groups. If '*' is present, the length of
|
to. '*' is all groups. If '*' is present, the length of
|
||||||
the slice must be one. For example: [\"apps\", \"batch\",
|
the slice must be one. For example: [\"apps\", \"batch\",
|
||||||
\"example.io\"] means matches 3 groups. [\"*\"] means matches
|
\"example.io\"] means matches 3 groups. [\"*\"] means matches
|
||||||
all group \n Note: The group cloud be empty, e.g the 'core'
|
all group \n Note: The group cloud be empty, e.g the 'core'
|
||||||
group of kubernetes, in that case use [\"\"]."
|
group of kubernetes, in that case use [\"\"]."
|
||||||
items:
|
items:
|
||||||
|
@ -137,8 +136,8 @@ spec:
|
||||||
apiVersions:
|
apiVersions:
|
||||||
description: 'APIVersions is the API versions the resources
|
description: 'APIVersions is the API versions the resources
|
||||||
belong to. ''*'' is all versions. If ''*'' is present, the
|
belong to. ''*'' is all versions. If ''*'' is present, the
|
||||||
length of the slice must be one. For example: ["v1alpha1",
|
length of the slice must be one. For example: ["v1alpha1",
|
||||||
"v1beta1"] means matches 2 versions. ["*"] means matches
|
"v1beta1"] means matches 2 versions. ["*"] means matches
|
||||||
all versions.'
|
all versions.'
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
@ -146,8 +145,8 @@ spec:
|
||||||
kinds:
|
kinds:
|
||||||
description: 'Kinds is a list of resources this rule applies
|
description: 'Kinds is a list of resources this rule applies
|
||||||
to. If ''*'' is present, the length of the slice must be
|
to. If ''*'' is present, the length of the slice must be
|
||||||
one. For example: ["Deployment", "Pod"] means matches Deployment
|
one. For example: ["Deployment", "Pod"] means matches Deployment
|
||||||
and Pod. ["*"] means apply to all resources.'
|
and Pod. ["*"] means apply to all resources.'
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.6.2
|
controller-gen.kubebuilder.io/version: v0.8.0
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: multiclusteringresses.networking.karmada.io
|
name: multiclusteringresses.networking.karmada.io
|
||||||
spec:
|
spec:
|
||||||
|
@ -123,25 +122,25 @@ spec:
|
||||||
host, as defined by RFC 3986. Note the following deviations
|
host, as defined by RFC 3986. Note the following deviations
|
||||||
from the \"host\" part of the URI as defined in RFC 3986:
|
from the \"host\" part of the URI as defined in RFC 3986:
|
||||||
1. IPs are not allowed. Currently an IngressRuleValue can
|
1. IPs are not allowed. Currently an IngressRuleValue can
|
||||||
only apply to the IP in the Spec of the parent Ingress.
|
only apply to the IP in the Spec of the parent Ingress. 2.
|
||||||
2. The `:` delimiter is not respected because ports are not
|
The `:` delimiter is not respected because ports are not allowed.
|
||||||
allowed. \t Currently the port of an Ingress is implicitly
|
Currently the port of an Ingress is implicitly :80 for http
|
||||||
:80 for http and \t :443 for https. Both these may change
|
and :443 for https. Both these may change in the future. Incoming
|
||||||
in the future. Incoming requests are matched against the host
|
requests are matched against the host before the IngressRuleValue.
|
||||||
before the IngressRuleValue. If the host is unspecified, the
|
If the host is unspecified, the Ingress routes all traffic
|
||||||
Ingress routes all traffic based on the specified IngressRuleValue.
|
based on the specified IngressRuleValue. \n Host can be \"precise\"
|
||||||
\n Host can be \"precise\" which is a domain name without
|
which is a domain name without the terminating dot of a network
|
||||||
the terminating dot of a network host (e.g. \"foo.bar.com\")
|
host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain
|
||||||
or \"wildcard\", which is a domain name prefixed with a single
|
name prefixed with a single wildcard label (e.g. \"*.foo.com\").
|
||||||
wildcard label (e.g. \"*.foo.com\"). The wildcard character
|
The wildcard character '*' must appear by itself as the first
|
||||||
'*' must appear by itself as the first DNS label and matches
|
DNS label and matches only a single label. You cannot have
|
||||||
only a single label. You cannot have a wildcard label by itself
|
a wildcard label by itself (e.g. Host == \"*\"). Requests
|
||||||
(e.g. Host == \"*\"). Requests will be matched against the
|
will be matched against the Host field in the following way:
|
||||||
Host field in the following way: 1. If Host is precise, the
|
1. If Host is precise, the request matches this rule if the
|
||||||
request matches this rule if the http host header is equal
|
http host header is equal to Host. 2. If Host is a wildcard,
|
||||||
to Host. 2. If Host is a wildcard, then the request matches
|
then the request matches this rule if the http host header
|
||||||
this rule if the http host header is to equal to the suffix
|
is to equal to the suffix (removing the first label) of the
|
||||||
(removing the first label) of the wildcard rule."
|
wildcard rule."
|
||||||
type: string
|
type: string
|
||||||
http:
|
http:
|
||||||
description: 'HTTPIngressRuleValue is a list of http selectors
|
description: 'HTTPIngressRuleValue is a list of http selectors
|
||||||
|
@ -234,20 +233,20 @@ spec:
|
||||||
of the Path matching. PathType can be one of the
|
of the Path matching. PathType can be one of the
|
||||||
following values: * Exact: Matches the URL path
|
following values: * Exact: Matches the URL path
|
||||||
exactly. * Prefix: Matches based on a URL path prefix
|
exactly. * Prefix: Matches based on a URL path prefix
|
||||||
split by ''/''. Matching is done on a path element
|
split by ''/''. Matching is done on a path element
|
||||||
by element basis. A path element refers is the list
|
by element basis. A path element refers is the list
|
||||||
of labels in the path split by the ''/'' separator.
|
of labels in the path split by the ''/'' separator.
|
||||||
A request is a match for path p if every p is
|
A request is a match for path p if every p is an
|
||||||
an element-wise prefix of p of the request path.
|
element-wise prefix of p of the request path. Note
|
||||||
Note that if the last element of the path is a substring of
|
that if the last element of the path is a substring
|
||||||
the last element in request path, it is not a match
|
of the last element in request path, it is not a
|
||||||
(e.g. /foo/bar matches /foo/bar/baz, but does
|
match (e.g. /foo/bar matches /foo/bar/baz, but does
|
||||||
not match /foo/barbaz). * ImplementationSpecific:
|
not match /foo/barbaz). * ImplementationSpecific:
|
||||||
Interpretation of the Path matching is up to the
|
Interpretation of the Path matching is up to the
|
||||||
IngressClass. Implementations can treat this as
|
IngressClass. Implementations can treat this as
|
||||||
a separate PathType or treat it identically to
|
a separate PathType or treat it identically to Prefix
|
||||||
Prefix or Exact path types. Implementations are
|
or Exact path types. Implementations are required
|
||||||
required to support all path types.'
|
to support all path types.'
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- backend
|
- backend
|
||||||
|
@ -326,8 +325,8 @@ spec:
|
||||||
the service port The format of the error shall comply
|
the service port The format of the error shall comply
|
||||||
with the following rules: - built-in error values
|
with the following rules: - built-in error values
|
||||||
shall be specified in this file and those shall
|
shall be specified in this file and those shall
|
||||||
use CamelCase names - cloud provider specific
|
use CamelCase names - cloud provider specific error
|
||||||
error values must have names that comply with the format
|
values must have names that comply with the format
|
||||||
foo.example.com/CamelCase. --- The regex it matches
|
foo.example.com/CamelCase. --- The regex it matches
|
||||||
is (dns1123SubdomainFmt/)?(qualifiedNameFmt)'
|
is (dns1123SubdomainFmt/)?(qualifiedNameFmt)'
|
||||||
maxLength: 316
|
maxLength: 316
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.6.2
|
controller-gen.kubebuilder.io/version: v0.8.0
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: clusteroverridepolicies.policy.karmada.io
|
name: clusteroverridepolicies.policy.karmada.io
|
||||||
spec:
|
spec:
|
||||||
|
@ -144,10 +143,10 @@ spec:
|
||||||
the rule. \n Defaults to nil, in that case, the
|
the rule. \n Defaults to nil, in that case, the
|
||||||
system will automatically detect image fields if
|
system will automatically detect image fields if
|
||||||
the resource type is Pod, ReplicaSet, Deployment
|
the resource type is Pod, ReplicaSet, Deployment
|
||||||
or StatefulSet by following rule: - Pod: spec/containers/<N>/image
|
or StatefulSet by following rule: - Pod: spec/containers/<N>/image
|
||||||
\ - ReplicaSet: spec/template/spec/containers/<N>/image
|
- ReplicaSet: spec/template/spec/containers/<N>/image
|
||||||
\ - Deployment: spec/template/spec/containers/<N>/image
|
- Deployment: spec/template/spec/containers/<N>/image
|
||||||
\ - StatefulSet: spec/template/spec/containers/<N>/image
|
- StatefulSet: spec/template/spec/containers/<N>/image
|
||||||
In addition, all images will be processed if the
|
In addition, all images will be processed if the
|
||||||
resource object has more than one containers. \n
|
resource object has more than one containers. \n
|
||||||
If not nil, only images matches the filters will
|
If not nil, only images matches the filters will
|
||||||
|
@ -406,13 +405,12 @@ spec:
|
||||||
rule. \n Defaults to nil, in that case, the system will
|
rule. \n Defaults to nil, in that case, the system will
|
||||||
automatically detect image fields if the resource type
|
automatically detect image fields if the resource type
|
||||||
is Pod, ReplicaSet, Deployment or StatefulSet by following
|
is Pod, ReplicaSet, Deployment or StatefulSet by following
|
||||||
rule: - Pod: spec/containers/<N>/image - ReplicaSet:
|
rule: - Pod: spec/containers/<N>/image - ReplicaSet: spec/template/spec/containers/<N>/image
|
||||||
spec/template/spec/containers/<N>/image - Deployment:
|
- Deployment: spec/template/spec/containers/<N>/image
|
||||||
spec/template/spec/containers/<N>/image - StatefulSet:
|
- StatefulSet: spec/template/spec/containers/<N>/image
|
||||||
spec/template/spec/containers/<N>/image In addition, all
|
In addition, all images will be processed if the resource
|
||||||
images will be processed if the resource object has more
|
object has more than one containers. \n If not nil, only
|
||||||
than one containers. \n If not nil, only images matches
|
images matches the filters will be processed."
|
||||||
the filters will be processed."
|
|
||||||
properties:
|
properties:
|
||||||
path:
|
path:
|
||||||
description: Path indicates the path of target field
|
description: Path indicates the path of target field
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.6.2
|
controller-gen.kubebuilder.io/version: v0.8.0
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: clusterpropagationpolicies.policy.karmada.io
|
name: clusterpropagationpolicies.policy.karmada.io
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.6.2
|
controller-gen.kubebuilder.io/version: v0.8.0
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: federatedresourcequotas.policy.karmada.io
|
name: federatedresourcequotas.policy.karmada.io
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.6.2
|
controller-gen.kubebuilder.io/version: v0.8.0
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: overridepolicies.policy.karmada.io
|
name: overridepolicies.policy.karmada.io
|
||||||
spec:
|
spec:
|
||||||
|
@ -144,10 +143,10 @@ spec:
|
||||||
the rule. \n Defaults to nil, in that case, the
|
the rule. \n Defaults to nil, in that case, the
|
||||||
system will automatically detect image fields if
|
system will automatically detect image fields if
|
||||||
the resource type is Pod, ReplicaSet, Deployment
|
the resource type is Pod, ReplicaSet, Deployment
|
||||||
or StatefulSet by following rule: - Pod: spec/containers/<N>/image
|
or StatefulSet by following rule: - Pod: spec/containers/<N>/image
|
||||||
\ - ReplicaSet: spec/template/spec/containers/<N>/image
|
- ReplicaSet: spec/template/spec/containers/<N>/image
|
||||||
\ - Deployment: spec/template/spec/containers/<N>/image
|
- Deployment: spec/template/spec/containers/<N>/image
|
||||||
\ - StatefulSet: spec/template/spec/containers/<N>/image
|
- StatefulSet: spec/template/spec/containers/<N>/image
|
||||||
In addition, all images will be processed if the
|
In addition, all images will be processed if the
|
||||||
resource object has more than one containers. \n
|
resource object has more than one containers. \n
|
||||||
If not nil, only images matches the filters will
|
If not nil, only images matches the filters will
|
||||||
|
@ -406,13 +405,12 @@ spec:
|
||||||
rule. \n Defaults to nil, in that case, the system will
|
rule. \n Defaults to nil, in that case, the system will
|
||||||
automatically detect image fields if the resource type
|
automatically detect image fields if the resource type
|
||||||
is Pod, ReplicaSet, Deployment or StatefulSet by following
|
is Pod, ReplicaSet, Deployment or StatefulSet by following
|
||||||
rule: - Pod: spec/containers/<N>/image - ReplicaSet:
|
rule: - Pod: spec/containers/<N>/image - ReplicaSet: spec/template/spec/containers/<N>/image
|
||||||
spec/template/spec/containers/<N>/image - Deployment:
|
- Deployment: spec/template/spec/containers/<N>/image
|
||||||
spec/template/spec/containers/<N>/image - StatefulSet:
|
- StatefulSet: spec/template/spec/containers/<N>/image
|
||||||
spec/template/spec/containers/<N>/image In addition, all
|
In addition, all images will be processed if the resource
|
||||||
images will be processed if the resource object has more
|
object has more than one containers. \n If not nil, only
|
||||||
than one containers. \n If not nil, only images matches
|
images matches the filters will be processed."
|
||||||
the filters will be processed."
|
|
||||||
properties:
|
properties:
|
||||||
path:
|
path:
|
||||||
description: Path indicates the path of target field
|
description: Path indicates the path of target field
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.6.2
|
controller-gen.kubebuilder.io/version: v0.8.0
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: propagationpolicies.policy.karmada.io
|
name: propagationpolicies.policy.karmada.io
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.6.2
|
controller-gen.kubebuilder.io/version: v0.8.0
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: resourceregistries.search.karmada.io
|
name: resourceregistries.search.karmada.io
|
||||||
spec:
|
spec:
|
||||||
|
@ -177,13 +176,12 @@ spec:
|
||||||
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. --- This struct is intended for direct
|
||||||
use as an array at the field path .status.conditions. For example,
|
use as an array at the field path .status.conditions. For example,
|
||||||
type FooStatus struct{ // Represents the observations of a
|
type FooStatus struct{ // Represents the observations of a foo's
|
||||||
foo's current state. // Known .status.conditions.type are:
|
current state. // Known .status.conditions.type are: \"Available\",
|
||||||
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
|
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
|
||||||
\ // +patchStrategy=merge // +listType=map // +listMapKey=type
|
// +listType=map // +listMapKey=type Conditions []metav1.Condition
|
||||||
\ Conditions []metav1.Condition `json:\"conditions,omitempty\"
|
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
|
||||||
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
|
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
|
||||||
\n // other fields }"
|
|
||||||
properties:
|
properties:
|
||||||
lastTransitionTime:
|
lastTransitionTime:
|
||||||
description: lastTransitionTime is the last time the condition
|
description: lastTransitionTime is the last time the condition
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.6.2
|
controller-gen.kubebuilder.io/version: v0.8.0
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: clusterresourcebindings.work.karmada.io
|
name: clusterresourcebindings.work.karmada.io
|
||||||
spec:
|
spec:
|
||||||
|
@ -143,13 +142,12 @@ spec:
|
||||||
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. --- This struct is intended for direct
|
||||||
use as an array at the field path .status.conditions. For example,
|
use as an array at the field path .status.conditions. For example,
|
||||||
type FooStatus struct{ // Represents the observations of a
|
type FooStatus struct{ // Represents the observations of a foo's
|
||||||
foo's current state. // Known .status.conditions.type are:
|
current state. // Known .status.conditions.type are: \"Available\",
|
||||||
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
|
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
|
||||||
\ // +patchStrategy=merge // +listType=map // +listMapKey=type
|
// +listType=map // +listMapKey=type Conditions []metav1.Condition
|
||||||
\ Conditions []metav1.Condition `json:\"conditions,omitempty\"
|
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
|
||||||
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
|
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
|
||||||
\n // other fields }"
|
|
||||||
properties:
|
properties:
|
||||||
lastTransitionTime:
|
lastTransitionTime:
|
||||||
description: lastTransitionTime is the last time the condition
|
description: lastTransitionTime is the last time the condition
|
||||||
|
@ -546,13 +544,12 @@ spec:
|
||||||
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. --- This struct is intended for direct
|
||||||
use as an array at the field path .status.conditions. For example,
|
use as an array at the field path .status.conditions. For example,
|
||||||
type FooStatus struct{ // Represents the observations of a
|
type FooStatus struct{ // Represents the observations of a foo's
|
||||||
foo's current state. // Known .status.conditions.type are:
|
current state. // Known .status.conditions.type are: \"Available\",
|
||||||
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
|
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
|
||||||
\ // +patchStrategy=merge // +listType=map // +listMapKey=type
|
// +listType=map // +listMapKey=type Conditions []metav1.Condition
|
||||||
\ Conditions []metav1.Condition `json:\"conditions,omitempty\"
|
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
|
||||||
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
|
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
|
||||||
\n // other fields }"
|
|
||||||
properties:
|
properties:
|
||||||
lastTransitionTime:
|
lastTransitionTime:
|
||||||
description: lastTransitionTime is the last time the condition
|
description: lastTransitionTime is the last time the condition
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.6.2
|
controller-gen.kubebuilder.io/version: v0.8.0
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: resourcebindings.work.karmada.io
|
name: resourcebindings.work.karmada.io
|
||||||
spec:
|
spec:
|
||||||
|
@ -143,13 +142,12 @@ spec:
|
||||||
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. --- This struct is intended for direct
|
||||||
use as an array at the field path .status.conditions. For example,
|
use as an array at the field path .status.conditions. For example,
|
||||||
type FooStatus struct{ // Represents the observations of a
|
type FooStatus struct{ // Represents the observations of a foo's
|
||||||
foo's current state. // Known .status.conditions.type are:
|
current state. // Known .status.conditions.type are: \"Available\",
|
||||||
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
|
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
|
||||||
\ // +patchStrategy=merge // +listType=map // +listMapKey=type
|
// +listType=map // +listMapKey=type Conditions []metav1.Condition
|
||||||
\ Conditions []metav1.Condition `json:\"conditions,omitempty\"
|
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
|
||||||
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
|
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
|
||||||
\n // other fields }"
|
|
||||||
properties:
|
properties:
|
||||||
lastTransitionTime:
|
lastTransitionTime:
|
||||||
description: lastTransitionTime is the last time the condition
|
description: lastTransitionTime is the last time the condition
|
||||||
|
@ -546,13 +544,12 @@ spec:
|
||||||
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. --- This struct is intended for direct
|
||||||
use as an array at the field path .status.conditions. For example,
|
use as an array at the field path .status.conditions. For example,
|
||||||
type FooStatus struct{ // Represents the observations of a
|
type FooStatus struct{ // Represents the observations of a foo's
|
||||||
foo's current state. // Known .status.conditions.type are:
|
current state. // Known .status.conditions.type are: \"Available\",
|
||||||
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
|
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
|
||||||
\ // +patchStrategy=merge // +listType=map // +listMapKey=type
|
// +listType=map // +listMapKey=type Conditions []metav1.Condition
|
||||||
\ Conditions []metav1.Condition `json:\"conditions,omitempty\"
|
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
|
||||||
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
|
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
|
||||||
\n // other fields }"
|
|
||||||
properties:
|
properties:
|
||||||
lastTransitionTime:
|
lastTransitionTime:
|
||||||
description: lastTransitionTime is the last time the condition
|
description: lastTransitionTime is the last time the condition
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.6.2
|
controller-gen.kubebuilder.io/version: v0.8.0
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: works.work.karmada.io
|
name: works.work.karmada.io
|
||||||
spec:
|
spec:
|
||||||
|
@ -74,13 +73,12 @@ spec:
|
||||||
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. --- This struct is intended for direct
|
||||||
use as an array at the field path .status.conditions. For example,
|
use as an array at the field path .status.conditions. For example,
|
||||||
type FooStatus struct{ // Represents the observations of a
|
type FooStatus struct{ // Represents the observations of a foo's
|
||||||
foo's current state. // Known .status.conditions.type are:
|
current state. // Known .status.conditions.type are: \"Available\",
|
||||||
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
|
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
|
||||||
\ // +patchStrategy=merge // +listType=map // +listMapKey=type
|
// +listType=map // +listMapKey=type Conditions []metav1.Condition
|
||||||
\ Conditions []metav1.Condition `json:\"conditions,omitempty\"
|
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
|
||||||
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
|
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
|
||||||
\n // other fields }"
|
|
||||||
properties:
|
properties:
|
||||||
lastTransitionTime:
|
lastTransitionTime:
|
||||||
description: lastTransitionTime is the last time the condition
|
description: lastTransitionTime is the last time the condition
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.6.2
|
controller-gen.kubebuilder.io/version: v0.8.0
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: workloads.workload.example.io
|
name: workloads.workload.example.io
|
||||||
spec:
|
spec:
|
||||||
|
@ -5448,13 +5447,13 @@ spec:
|
||||||
with a pod if it doesn''t satisfy the spread constraint.
|
with a pod if it doesn''t satisfy the spread constraint.
|
||||||
- DoNotSchedule (default) tells the scheduler not
|
- DoNotSchedule (default) tells the scheduler not
|
||||||
to schedule it. - ScheduleAnyway tells the scheduler
|
to schedule it. - ScheduleAnyway tells the scheduler
|
||||||
to schedule the pod in any location, but giving
|
to schedule the pod in any location, but giving higher
|
||||||
higher precedence to topologies that would help reduce
|
precedence to topologies that would help reduce the
|
||||||
the skew. A constraint is considered "Unsatisfiable"
|
skew. A constraint is considered "Unsatisfiable" for
|
||||||
for an incoming pod if and only if every possible
|
an incoming pod if and only if every possible node
|
||||||
node assignment for that pod would violate "MaxSkew"
|
assignment for that pod would violate "MaxSkew" on
|
||||||
on some topology. For example, in a 3-zone cluster,
|
some topology. For example, in a 3-zone cluster, MaxSkew
|
||||||
MaxSkew is set to 1, and pods with the same labelSelector
|
is set to 1, and pods with the same labelSelector
|
||||||
spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P
|
spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P
|
||||||
| P | P | If WhenUnsatisfiable is set to DoNotSchedule,
|
| P | P | If WhenUnsatisfiable is set to DoNotSchedule,
|
||||||
incoming pod can only be scheduled to zone2(zone3)
|
incoming pod can only be scheduled to zone2(zone3)
|
||||||
|
@ -5891,13 +5890,12 @@ spec:
|
||||||
when the pod is removed. \n Use this if: a) the volume
|
when the pod is removed. \n Use this if: a) the volume
|
||||||
is only needed while the pod runs, b) features of
|
is only needed while the pod runs, b) features of
|
||||||
normal volumes like restoring from snapshot or capacity
|
normal volumes like restoring from snapshot or capacity
|
||||||
\ tracking are needed, c) the storage driver is
|
tracking are needed, c) the storage driver is specified
|
||||||
specified through a storage class, and d) the storage
|
through a storage class, and d) the storage driver
|
||||||
driver supports dynamic volume provisioning through
|
supports dynamic volume provisioning through a PersistentVolumeClaim
|
||||||
\ a PersistentVolumeClaim (see EphemeralVolumeSource
|
(see EphemeralVolumeSource for more information on
|
||||||
for more information on the connection between
|
the connection between this volume type and PersistentVolumeClaim).
|
||||||
this volume type and PersistentVolumeClaim). \n
|
\n Use PersistentVolumeClaim or one of the vendor-specific
|
||||||
Use PersistentVolumeClaim or one of the vendor-specific
|
|
||||||
APIs for volumes that persist for longer than the
|
APIs for volumes that persist for longer than the
|
||||||
lifecycle of an individual pod. \n Use CSI for light-weight
|
lifecycle of an individual pod. \n Use CSI for light-weight
|
||||||
local ephemeral volumes if the CSI driver is meant
|
local ephemeral volumes if the CSI driver is meant
|
||||||
|
@ -6005,14 +6003,15 @@ spec:
|
||||||
are two important differences between
|
are two important differences between
|
||||||
DataSource and DataSourceRef: * While
|
DataSource and DataSourceRef: * While
|
||||||
DataSource only allows two specific types
|
DataSource only allows two specific types
|
||||||
of objects, DataSourceRef allows any
|
of objects, DataSourceRef allows any non-core
|
||||||
non-core object, as well as PersistentVolumeClaim
|
object, as well as PersistentVolumeClaim
|
||||||
objects. * While DataSource ignores disallowed
|
objects. * While DataSource ignores disallowed
|
||||||
values (dropping them), DataSourceRef preserves
|
values (dropping them), DataSourceRef
|
||||||
all values, and generates an error if
|
preserves all values, and generates an
|
||||||
a disallowed value is specified. (Alpha)
|
error if a disallowed value is specified.
|
||||||
Using this field requires the AnyVolumeDataSource
|
(Alpha) Using this field requires the
|
||||||
feature gate to be enabled.'
|
AnyVolumeDataSource feature gate to be
|
||||||
|
enabled.'
|
||||||
properties:
|
properties:
|
||||||
apiGroup:
|
apiGroup:
|
||||||
description: APIGroup is the group for
|
description: APIGroup is the group for
|
||||||
|
|
|
@ -5,7 +5,7 @@ set -o nounset
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
CONTROLLER_GEN_PKG="sigs.k8s.io/controller-tools/cmd/controller-gen"
|
CONTROLLER_GEN_PKG="sigs.k8s.io/controller-tools/cmd/controller-gen"
|
||||||
CONTROLLER_GEN_VER="v0.6.2"
|
CONTROLLER_GEN_VER="v0.8.0"
|
||||||
|
|
||||||
source hack/util.sh
|
source hack/util.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue