Skip to content

Commit

Permalink
make generate
Browse files Browse the repository at this point in the history
  • Loading branch information
limhawjia committed Jun 19, 2023
1 parent ee5da40 commit 6f69f0c
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 14 deletions.
33 changes: 26 additions & 7 deletions config/crds/core.kubeadmiral.io_clusterfederatedobjects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,33 @@ spec:
type: object
spec:
properties:
follows:
description: Follows describes the leader objects that the FederatedObject
should follow during scheduling.
items:
properties:
group:
type: string
kind:
type: string
name:
type: string
namespace:
type: string
required:
- kind
- name
type: object
type: array
overrides:
description: Overrides describe the overrides to be applied to the
federated object before it is synced to a cluster.
FederatedObject before it is synced to a cluster.
items:
properties:
clusters:
items:
description: ClusterOverride descirbes the patches that should
be applied to a federated object before it is propagated
be applied to a FederatedObject before it is propagated
to a given cluster.
properties:
name:
Expand Down Expand Up @@ -78,7 +96,7 @@ spec:
type: object
type: array
placements:
description: Placements describe the clusters that the federated object
description: Placements describe the clusters that the FederatedObject
should be propagated to, which will be a union of all listed clusters.
items:
properties:
Expand All @@ -88,10 +106,10 @@ spec:
type: string
placement:
description: Clusters represents the list of clusters that a
federated object should be propagated to.
FederatedObject should be propagated to.
items:
description: ClusterPlacement represents a cluster that a
federated object should be propagated to.
FederatedObject should be propagated to.
properties:
name:
type: string
Expand All @@ -109,6 +127,7 @@ spec:
will be propagated to selected clusters.
x-kubernetes-preserve-unknown-fields: true
required:
- follows
- overrides
- placements
- template
Expand All @@ -118,7 +137,7 @@ spec:
clusters:
items:
description: ClusterPropagationStatus describes the propagation
status of a federated object for a given cluster.
status of a FederatedObject for a given cluster.
properties:
lastObservedGeneration:
description: LastObservedGeneration is the last observed generation
Expand All @@ -145,7 +164,7 @@ spec:
description: Conditions is
items:
description: Condition contains details for the current condition
of a federated object.
of a FederatedObject.
properties:
lastTransitionTime:
description: Last time the condition transit from one status
Expand Down
33 changes: 26 additions & 7 deletions config/crds/core.kubeadmiral.io_federatedobjects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,33 @@ spec:
type: object
spec:
properties:
follows:
description: Follows describes the leader objects that the FederatedObject
should follow during scheduling.
items:
properties:
group:
type: string
kind:
type: string
name:
type: string
namespace:
type: string
required:
- kind
- name
type: object
type: array
overrides:
description: Overrides describe the overrides to be applied to the
federated object before it is synced to a cluster.
FederatedObject before it is synced to a cluster.
items:
properties:
clusters:
items:
description: ClusterOverride descirbes the patches that should
be applied to a federated object before it is propagated
be applied to a FederatedObject before it is propagated
to a given cluster.
properties:
name:
Expand Down Expand Up @@ -78,7 +96,7 @@ spec:
type: object
type: array
placements:
description: Placements describe the clusters that the federated object
description: Placements describe the clusters that the FederatedObject
should be propagated to, which will be a union of all listed clusters.
items:
properties:
Expand All @@ -88,10 +106,10 @@ spec:
type: string
placement:
description: Clusters represents the list of clusters that a
federated object should be propagated to.
FederatedObject should be propagated to.
items:
description: ClusterPlacement represents a cluster that a
federated object should be propagated to.
FederatedObject should be propagated to.
properties:
name:
type: string
Expand All @@ -109,6 +127,7 @@ spec:
will be propagated to selected clusters.
x-kubernetes-preserve-unknown-fields: true
required:
- follows
- overrides
- placements
- template
Expand All @@ -118,7 +137,7 @@ spec:
clusters:
items:
description: ClusterPropagationStatus describes the propagation
status of a federated object for a given cluster.
status of a FederatedObject for a given cluster.
properties:
lastObservedGeneration:
description: LastObservedGeneration is the last observed generation
Expand All @@ -145,7 +164,7 @@ spec:
description: Conditions is
items:
description: Condition contains details for the current condition
of a federated object.
of a FederatedObject.
properties:
lastTransitionTime:
description: Last time the condition transit from one status
Expand Down
21 changes: 21 additions & 0 deletions pkg/apis/core/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6f69f0c

Please sign in to comment.