Add overrides field to FederatedReplicaSetOverride
@@ -24,6 +24,7 @@ import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apiserver/pkg/endpoints/request"
+ appsv1 "k8s.io/api/apps/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/validation/field"
@@ -46,6 +47,13 @@ type FederatedReplicaSetOverride struct {
// FederatedReplicaSetOverrideSpec defines the desired state of FederatedReplicaSetOverride
type FederatedReplicaSetOverrideSpec struct {
+ Overrides []FederatedReplicaSetClusterOverride
+}
+
+// FederatedSecretClusterOverride defines the overrides for a named cluster
+type FederatedReplicaSetClusterOverride struct {
+ ClusterName string
+ Override appsv1.ReplicaSet
}
// FederatedReplicaSetOverrideStatus defines the observed state of FederatedReplicaSetOverride
