Skip to content

Commit

Permalink
Merge pull request #5808 from RainbowMango/pr_bump_controler-gen_0165
Browse files Browse the repository at this point in the history
Bump controller-gen to v0.16.5
  • Loading branch information
karmada-bot authored Nov 12, 2024
2 parents 046d1ba + 325bab3 commit 2f80476
Show file tree
Hide file tree
Showing 20 changed files with 87 additions and 573 deletions.
113 changes: 6 additions & 107 deletions charts/karmada-operator/crds/operator.karmada.io_karmadas.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.5
name: workloadrebalancers.apps.karmada.io
spec:
group: apps.karmada.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.5
name: cronfederatedhpas.autoscaling.karmada.io
spec:
group: autoscaling.karmada.io
Expand Down Expand Up @@ -79,7 +79,6 @@ spec:
Name of the rule.
Each rule in a CronFederatedHPA must have a unique name.
Note: the name will be used as an identifier to record its execution
history. Changing the name will be considered as deleting the old rule
and adding a new rule, that means the original execution history will be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.5
name: federatedhpas.autoscaling.karmada.io
spec:
group: autoscaling.karmada.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.5
name: resourceinterpretercustomizations.config.karmada.io
spec:
group: config.karmada.io
Expand Down Expand Up @@ -74,7 +74,6 @@ spec:
a specific resource.
The script should implement a function as follows:
```
luaScript: >
function GetDependencies(desiredObj)
Expand All @@ -92,16 +91,13 @@ spec:
end
```
The content of the LuaScript needs to be a whole function including both
declaration and implementation.
The parameters will be supplied by the system:
- desiredObj: the object represents the configuration to be applied
to the member cluster.
The returned value should be expressed by a slice of DependentObjectReference.
type: string
required:
Expand All @@ -118,7 +114,6 @@ spec:
a specific resource.
The script should implement a function as follows:
```
luaScript: >
function InterpretHealth(observedObj)
Expand All @@ -128,16 +123,13 @@ spec:
end
```
The content of the LuaScript needs to be a whole function including both
declaration and implementation.
The parameters will be supplied by the system:
- observedObj: the object represents the configuration that is observed
from a specific member cluster.
The returned boolean value indicates the health status.
type: string
required:
Expand All @@ -158,10 +150,8 @@ spec:
LuaScript holds the Lua script that is used to discover the resource's
replica as well as resource requirements
The script should implement a function as follows:
```
luaScript: >
function GetReplicas(desiredObj)
Expand All @@ -175,16 +165,13 @@ spec:
end
```
The content of the LuaScript needs to be a whole function including both
declaration and implementation.
The parameters will be supplied by the system:
- desiredObj: the object represents the configuration to be applied
to the member cluster.
The function expects two return values:
- replica: the declared replica number
- requirement: the resource required by each replica expressed with a
Expand All @@ -208,7 +195,6 @@ spec:
LuaScript holds the Lua script that is used to revise replicas in the desired specification.
The script should implement a function as follows:
```
luaScript: >
function ReviseReplica(desiredObj, desiredReplica)
Expand All @@ -217,17 +203,14 @@ spec:
end
```
The content of the LuaScript needs to be a whole function including both
declaration and implementation.
The parameters will be supplied by the system:
- desiredObj: the object represents the configuration to be applied
to the member cluster.
- desiredReplica: the replica number should be applied with.
The returned object should be a revised configuration which will be
applied to member cluster eventually.
type: string
Expand All @@ -249,10 +232,8 @@ spec:
LuaScript holds the Lua script that is used to retain runtime values
to the desired specification.
The script should implement a function as follows:
```
luaScript: >
function Retain(desiredObj, observedObj)
Expand All @@ -261,18 +242,15 @@ spec:
end
```
The content of the LuaScript needs to be a whole function including both
declaration and implementation.
The parameters will be supplied by the system:
- desiredObj: the object represents the configuration to be applied
to the member cluster.
- observedObj: the object represents the configuration that is observed
from a specific member cluster.
The returned object should be a retained configuration which will be
applied to member cluster eventually.
type: string
Expand All @@ -293,7 +271,6 @@ spec:
to the desired specification.
The script should implement a function as follows:
```
luaScript: >
function AggregateStatus(desiredObj, statusItems)
Expand All @@ -304,16 +281,13 @@ spec:
end
```
The content of the LuaScript needs to be a whole function including both
declaration and implementation.
The parameters will be supplied by the system:
- desiredObj: the object represents a resource template.
- statusItems: the slice of status expressed with AggregatedStatusItem.
The returned object should be a whole object with status aggregated.
type: string
required:
Expand All @@ -331,7 +305,6 @@ spec:
LuaScript holds the Lua script that is used to get the status from the observed specification.
The script should implement a function as follows:
```
luaScript: >
function ReflectStatus(observedObj)
Expand All @@ -341,16 +314,13 @@ spec:
end
```
The content of the LuaScript needs to be a whole function including both
declaration and implementation.
The parameters will be supplied by the system:
- observedObj: the object represents the configuration that is observed
from a specific member cluster.
The returned status could be the whole status or part of it and will
be set into both Work and ResourceBinding(ClusterResourceBinding).
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.5
name: resourceinterpreterwebhookconfigurations.config.karmada.io
spec:
group: config.karmada.io
Expand Down Expand Up @@ -61,7 +61,6 @@ spec:
`service` is a reference to the service for this webhook. Either
`service` or `url` must be specified.
If the webhook is running within the cluster, then you should use `service`.
properties:
name:
Expand Down Expand Up @@ -96,29 +95,24 @@ spec:
(`scheme://host:port/path`). Exactly one of `url` or `service`
must be specified.
The `host` should not refer to a service running in the cluster; use
the `service` field instead. The host might be resolved via external
DNS in some apiservers (e.g., `kube-apiserver` cannot resolve
in-cluster DNS as that would be a layering violation). `host` may
also be an IP address.
Please note that using `localhost` or `127.0.0.1` as a `host` is
risky unless you take great care to run this webhook on all hosts
which run an apiserver which might need to make calls to this
webhook. Such installs are likely to be non-portable, i.e., not easy
to turn up in a new cluster.
The scheme must be "https"; the URL must begin with "https://".
A path is optional, and if present may be any string permissible in
a URL. You may use the path to pass an arbitrary string to the
webhook, for example, a cluster identifier.
Attempting to use a user or basic auth e.g. "user:password@" is not
allowed. Fragments ("#...") and query parameters ("?...") are not
allowed, either.
Expand Down Expand Up @@ -156,7 +150,6 @@ spec:
["apps", "batch", "example.io"] means matches 3 groups.
["*"] means matches all group
Note: The group could be empty, e.g the 'core' group of kubernetes, in that case use [""].
items:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.5
name: multiclusteringresses.networking.karmada.io
spec:
group: networking.karmada.io
Expand Down Expand Up @@ -142,19 +142,19 @@ spec:
and\n\t :443 for https.\nBoth these may change in the future.\nIncoming
requests are matched against the host before the\nIngressRuleValue.
If the host is unspecified, the Ingress routes all\ntraffic
based on the specified IngressRuleValue.\n\n\nhost can be
\"precise\" which is a domain name without the terminating
dot of\na network host (e.g. \"foo.bar.com\") or \"wildcard\",
which is a domain name\nprefixed with a single wildcard label
(e.g. \"*.foo.com\").\nThe wildcard character '*' must appear
by itself as the first DNS label and\nmatches only a single
label. You cannot have a wildcard label by itself (e.g. Host
== \"*\").\nRequests will be matched against the Host field
in the following way:\n1. If host is precise, the request
matches this rule if the http host header is equal to Host.\n2.
If host is a wildcard, then the request matches this rule
if the http host header\nis to equal to the suffix (removing
the first label) of the wildcard rule."
based on the specified IngressRuleValue.\n\nhost can be \"precise\"
which is a domain name without the terminating dot of\na network
host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain
name\nprefixed with a single wildcard label (e.g. \"*.foo.com\").\nThe
wildcard character '*' must appear by itself as the first
DNS label and\nmatches only a single label. You cannot have
a wildcard label by itself (e.g. Host == \"*\").\nRequests
will be matched against the Host field in the following way:\n1.
If host is precise, the request matches this rule if the http
host header is equal to Host.\n2. If host is a wildcard, then
the request matches this rule if the http host header\nis
to equal to the suffix (removing the first label) of the wildcard
rule."
type: string
http:
description: |-
Expand Down Expand Up @@ -339,8 +339,6 @@ spec:
CamelCase names
- cloud provider specific error values must have names that comply with the
format foo.example.com/CamelCase.
---
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
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])$
type: string
Expand All @@ -350,12 +348,12 @@ spec:
format: int32
type: integer
protocol:
default: TCP
description: |-
protocol is the protocol of the ingress port.
The supported values are: "TCP", "UDP", "SCTP"
type: string
required:
- error
- port
- protocol
type: object
Expand Down
Loading

0 comments on commit 2f80476

Please sign in to comment.