commit
b5119c391a
|
@ -9,6 +9,8 @@ metadata:
|
|||
spec:
|
||||
group: networking.karmada.io
|
||||
names:
|
||||
categories:
|
||||
- karmada-io
|
||||
kind: MultiClusterIngress
|
||||
listKind: MultiClusterIngressList
|
||||
plural: multiclusteringresses
|
||||
|
|
|
@ -9,6 +9,8 @@ metadata:
|
|||
spec:
|
||||
group: policy.karmada.io
|
||||
names:
|
||||
categories:
|
||||
- karmada-io
|
||||
kind: ClusterOverridePolicy
|
||||
listKind: ClusterOverridePolicyList
|
||||
plural: clusteroverridepolicies
|
||||
|
|
|
@ -9,6 +9,8 @@ metadata:
|
|||
spec:
|
||||
group: policy.karmada.io
|
||||
names:
|
||||
categories:
|
||||
- karmada-io
|
||||
kind: ClusterPropagationPolicy
|
||||
listKind: ClusterPropagationPolicyList
|
||||
plural: clusterpropagationpolicies
|
||||
|
|
|
@ -9,6 +9,8 @@ metadata:
|
|||
spec:
|
||||
group: policy.karmada.io
|
||||
names:
|
||||
categories:
|
||||
- karmada-io
|
||||
kind: FederatedResourceQuota
|
||||
listKind: FederatedResourceQuotaList
|
||||
plural: federatedresourcequotas
|
||||
|
|
|
@ -9,6 +9,8 @@ metadata:
|
|||
spec:
|
||||
group: policy.karmada.io
|
||||
names:
|
||||
categories:
|
||||
- karmada-io
|
||||
kind: OverridePolicy
|
||||
listKind: OverridePolicyList
|
||||
plural: overridepolicies
|
||||
|
|
|
@ -9,6 +9,8 @@ metadata:
|
|||
spec:
|
||||
group: policy.karmada.io
|
||||
names:
|
||||
categories:
|
||||
- karmada-io
|
||||
kind: PropagationPolicy
|
||||
listKind: PropagationPolicyList
|
||||
plural: propagationpolicies
|
||||
|
|
|
@ -9,6 +9,8 @@ metadata:
|
|||
spec:
|
||||
group: work.karmada.io
|
||||
names:
|
||||
categories:
|
||||
- karmada-io
|
||||
kind: ClusterResourceBinding
|
||||
listKind: ClusterResourceBindingList
|
||||
plural: clusterresourcebindings
|
||||
|
|
|
@ -9,6 +9,8 @@ metadata:
|
|||
spec:
|
||||
group: work.karmada.io
|
||||
names:
|
||||
categories:
|
||||
- karmada-io
|
||||
kind: ResourceBinding
|
||||
listKind: ResourceBindingList
|
||||
plural: resourcebindings
|
||||
|
|
|
@ -9,6 +9,8 @@ metadata:
|
|||
spec:
|
||||
group: work.karmada.io
|
||||
names:
|
||||
categories:
|
||||
- karmada-io
|
||||
kind: Work
|
||||
listKind: WorkList
|
||||
plural: works
|
||||
|
|
|
@ -19,7 +19,7 @@ const (
|
|||
// +genclient
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +kubebuilder:subresource:status
|
||||
// +kubebuilder:resource:shortName=mci
|
||||
// +kubebuilder:resource:shortName=mci,categories={karmada-io}
|
||||
|
||||
// MultiClusterIngress is a collection of rules that allow inbound connections to reach the
|
||||
// endpoints defined by a backend. The structure of MultiClusterIngress is same as Ingress,
|
||||
|
|
|
@ -18,6 +18,7 @@ const (
|
|||
|
||||
// +genclient
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +kubebuilder:resource:categories={karmada-io}
|
||||
// +kubebuilder:subresource:status
|
||||
// +kubebuilder:storageversion
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ const (
|
|||
|
||||
// +genclient
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +kubebuilder:resource:shortName=op
|
||||
// +kubebuilder:resource:shortName=op,categories={karmada-io}
|
||||
|
||||
// OverridePolicy represents the policy that overrides a group of resources to one or more clusters.
|
||||
type OverridePolicy struct {
|
||||
|
@ -225,7 +225,7 @@ type OverridePolicyList struct {
|
|||
|
||||
// +genclient
|
||||
// +genclient:nonNamespaced
|
||||
// +kubebuilder:resource:scope="Cluster",shortName=cop
|
||||
// +kubebuilder:resource:scope="Cluster",shortName=cop,categories={karmada-io}
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
|
||||
// ClusterOverridePolicy represents the cluster-wide policy that overrides a group of resources to one or more clusters.
|
||||
|
|
|
@ -27,7 +27,7 @@ const (
|
|||
|
||||
// +genclient
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +kubebuilder:resource:shortName=pp
|
||||
// +kubebuilder:resource:shortName=pp,categories={karmada-io}
|
||||
|
||||
// PropagationPolicy represents the policy that propagates a group of resources to one or more clusters.
|
||||
type PropagationPolicy struct {
|
||||
|
@ -302,7 +302,7 @@ type PropagationPolicyList struct {
|
|||
|
||||
// +genclient
|
||||
// +genclient:nonNamespaced
|
||||
// +kubebuilder:resource:scope="Cluster",shortName=cpp
|
||||
// +kubebuilder:resource:scope="Cluster",shortName=cpp,categories={karmada-io}
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
|
||||
// ClusterPropagationPolicy represents the cluster-wide policy that propagates a group of resources to one or more clusters.
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
// +genclient
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +kubebuilder:subresource:status
|
||||
// +kubebuilder:resource:shortName=rb
|
||||
// +kubebuilder:resource:shortName=rb,categories={karmada-io}
|
||||
|
||||
// ResourceBinding represents a binding of a kubernetes resource with a propagation policy.
|
||||
type ResourceBinding struct {
|
||||
|
@ -119,7 +119,7 @@ type ResourceBindingList struct {
|
|||
// +genclient
|
||||
// +genclient:nonNamespaced
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +kubebuilder:resource:scope="Cluster",shortName=crb
|
||||
// +kubebuilder:resource:scope="Cluster",shortName=crb,categories={karmada-io}
|
||||
// +kubebuilder:subresource:status
|
||||
|
||||
// ClusterResourceBinding represents a binding of a kubernetes resource with a ClusterPropagationPolicy.
|
||||
|
|
|
@ -19,6 +19,7 @@ const (
|
|||
// +genclient
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +kubebuilder:subresource:status
|
||||
// +kubebuilder:resource:categories={karmada-io}
|
||||
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="Applied")].status`,name="Applied",type=string
|
||||
// +kubebuilder:printcolumn:JSONPath=`.metadata.creationTimestamp`,name="Age",type=date
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ const (
|
|||
// +genclient
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +kubebuilder:subresource:status
|
||||
// +kubebuilder:resource:shortName=rb
|
||||
// +kubebuilder:resource:shortName=rb,categories={karmada-io}
|
||||
// +kubebuilder:storageversion
|
||||
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="Scheduled")].status`,name="Scheduled",type=string
|
||||
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="FullyApplied")].status`,name="FullyApplied",type=string
|
||||
|
@ -214,7 +214,7 @@ type ResourceBindingList struct {
|
|||
// +genclient
|
||||
// +genclient:nonNamespaced
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +kubebuilder:resource:scope="Cluster",shortName=crb
|
||||
// +kubebuilder:resource:scope="Cluster",shortName=crb,categories={karmada-io}
|
||||
// +kubebuilder:subresource:status
|
||||
// +kubebuilder:storageversion
|
||||
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="Scheduled")].status`,name="Scheduled",type=string
|
||||
|
|
Loading…
Reference in New Issue