Add template field to FederatedReplicaSet
-
/*
Copyright 2018 The Kubernetes Authors.
@@ -15,7 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-
package v1alpha1
import (
@@ -24,6 +22,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 +45,7 @@ type FederatedReplicaSet struct {
// FederatedReplicaSetSpec defines the desired state of FederatedReplicaSet
type FederatedReplicaSetSpec struct {
+ Template appsv1.ReplicaSet
}
// FederatedReplicaSetStatus defines the observed state of FederatedReplicaSet
