remove deprecte properties
@@ -11,38 +11,6 @@ import (
// ServiceSpec defines the desired state of Service
// +k8s:openapi-gen=true
type ServiceSpec struct {
- // DeprecatedGeneration was used prior in Kubernetes versions <1.11
- // when metadata.generation was not being incremented by the api server
- //
- // This property will be dropped in future Knative releases and should
- // not be used - use metadata.generation
- //
- // Tracking issue: https://github.com/knative/serving/issues/643
- //
- // +optional
- DeprecatedGeneration int64 `json:"generation,omitempty"`
-
- // DeprecatedRunLatest defines a simple Service. It will automatically
- // configure a route that keeps the latest ready revision
- // from the supplied configuration running.
- // +optional
- DeprecatedRunLatest *RunLatestType `json:"runLatest,omitempty"`
-
- // DeprecatedPinned is DEPRECATED in favor of ReleaseType
- // +optional
- DeprecatedPinned *PinnedType `json:"pinned,omitempty"`
-
- // DeprecatedManual mode enables users to start managing the underlying Route and Configuration
- // resources directly. This advanced usage is intended as a path for users to graduate
- // from the limited capabilities of Service to the full power of Route.
- // +optional
- DeprecatedManual *ManualType `json:"manual,omitempty"`
-
- // Release enables gradual promotion of new revisions by allowing traffic
- // to be split between two revisions. This type replaces the deprecated Pinned type.
- // +optional
- DeprecatedRelease *ReleaseType `json:"release,omitempty"`
-
// We are moving to a shape where the Configuration and Route specifications
// are inlined into the Service, which gives them compatible shapes. We are
// staging this change here as a path to this in v1beta1, which drops the
