mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Mark replacement APIs for deprecated extensions/v1beta1 APIs
This commit is contained in:
parent
d0babe2613
commit
2fa1d202b3
@ -77,6 +77,7 @@ type Scale struct {
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.8
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.8
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=apps,v1,Deployment
|
||||||
|
|
||||||
// DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for
|
// DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for
|
||||||
// more information.
|
// more information.
|
||||||
@ -313,6 +314,7 @@ type DeploymentCondition struct {
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.8
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.8
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=apps,v1,DeploymentList
|
||||||
|
|
||||||
// DeploymentList is a list of Deployments.
|
// DeploymentList is a list of Deployments.
|
||||||
type DeploymentList struct {
|
type DeploymentList struct {
|
||||||
@ -490,6 +492,7 @@ type DaemonSetCondition struct {
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.8
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.8
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=apps,v1,DaemonSet
|
||||||
|
|
||||||
// DEPRECATED - This group version of DaemonSet is deprecated by apps/v1beta2/DaemonSet. See the release notes for
|
// DEPRECATED - This group version of DaemonSet is deprecated by apps/v1beta2/DaemonSet. See the release notes for
|
||||||
// more information.
|
// more information.
|
||||||
@ -532,6 +535,7 @@ const (
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.8
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.8
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=apps,v1,DaemonSetList
|
||||||
|
|
||||||
// DaemonSetList is a collection of daemon sets.
|
// DaemonSetList is a collection of daemon sets.
|
||||||
type DaemonSetList struct {
|
type DaemonSetList struct {
|
||||||
@ -550,6 +554,7 @@ type DaemonSetList struct {
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.14
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.14
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.22
|
// +k8s:prerelease-lifecycle-gen:removed=1.22
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=networking.k8s.io,v1beta1,Ingress
|
||||||
|
|
||||||
// Ingress is a collection of rules that allow inbound connections to reach the
|
// Ingress is a collection of rules that allow inbound connections to reach the
|
||||||
// endpoints defined by a backend. An Ingress can be configured to give services
|
// endpoints defined by a backend. An Ingress can be configured to give services
|
||||||
@ -578,6 +583,7 @@ type Ingress struct {
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.14
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.14
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.22
|
// +k8s:prerelease-lifecycle-gen:removed=1.22
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=networking.k8s.io,v1beta1,IngressList
|
||||||
|
|
||||||
// IngressList is a collection of Ingress.
|
// IngressList is a collection of Ingress.
|
||||||
type IngressList struct {
|
type IngressList struct {
|
||||||
@ -803,6 +809,7 @@ type IngressBackend struct {
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.2
|
// +k8s:prerelease-lifecycle-gen:introduced=1.2
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.8
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.8
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=apps,v1,ReplicaSet
|
||||||
|
|
||||||
// DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for
|
// DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for
|
||||||
// more information.
|
// more information.
|
||||||
@ -834,6 +841,7 @@ type ReplicaSet struct {
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.2
|
// +k8s:prerelease-lifecycle-gen:introduced=1.2
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.8
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.8
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=apps,v1,ReplicaSetList
|
||||||
|
|
||||||
// ReplicaSetList is a collection of ReplicaSets.
|
// ReplicaSetList is a collection of ReplicaSets.
|
||||||
type ReplicaSetList struct {
|
type ReplicaSetList struct {
|
||||||
@ -939,6 +947,7 @@ type ReplicaSetCondition struct {
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.2
|
// +k8s:prerelease-lifecycle-gen:introduced=1.2
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.11
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.11
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=policy,v1beta1,PodSecurityPolicy
|
||||||
|
|
||||||
// PodSecurityPolicy governs the ability to make requests that affect the Security Context
|
// PodSecurityPolicy governs the ability to make requests that affect the Security Context
|
||||||
// that will be applied to a pod and container.
|
// that will be applied to a pod and container.
|
||||||
@ -1300,6 +1309,7 @@ const AllowAllRuntimeClassNames = "*"
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.2
|
// +k8s:prerelease-lifecycle-gen:introduced=1.2
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.11
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.11
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=policy,v1beta1,PodSecurityPolicyList
|
||||||
|
|
||||||
// PodSecurityPolicyList is a list of PodSecurityPolicy objects.
|
// PodSecurityPolicyList is a list of PodSecurityPolicy objects.
|
||||||
// Deprecated: use PodSecurityPolicyList from policy API Group instead.
|
// Deprecated: use PodSecurityPolicyList from policy API Group instead.
|
||||||
@ -1319,6 +1329,7 @@ type PodSecurityPolicyList struct {
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.3
|
// +k8s:prerelease-lifecycle-gen:introduced=1.3
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.9
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.9
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=networking.k8s.io,v1,NetworkPolicy
|
||||||
|
|
||||||
// DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy.
|
// DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy.
|
||||||
// NetworkPolicy describes what network traffic is allowed for a set of Pods
|
// NetworkPolicy describes what network traffic is allowed for a set of Pods
|
||||||
@ -1492,6 +1503,7 @@ type NetworkPolicyPeer struct {
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.3
|
// +k8s:prerelease-lifecycle-gen:introduced=1.3
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.9
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.9
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
// +k8s:prerelease-lifecycle-gen:removed=1.18
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=networking.k8s.io,v1,NetworkPolicyList
|
||||||
|
|
||||||
// DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList.
|
// DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList.
|
||||||
// Network Policy List is a list of NetworkPolicy objects.
|
// Network Policy List is a list of NetworkPolicy objects.
|
||||||
|
Loading…
Reference in New Issue
Block a user