-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCPBUGS-16418: Show more clear info about the DeploymentConfig is deprecated #1837
Open
sanchezl
wants to merge
1
commit into
openshift:master
Choose a base branch
from
sanchezl:deploymentconfig
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,9 @@ import ( | |
// +genclient:method=GetScale,verb=get,subresource=scale,result=k8s.io/api/extensions/v1beta1.Scale | ||
// +genclient:method=UpdateScale,verb=update,subresource=scale,input=k8s.io/api/extensions/v1beta1.Scale,result=k8s.io/api/extensions/v1beta1.Scale | ||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object | ||
// +k8s:prerelease-lifecycle-gen:introduced=3.0 | ||
// +k8s:prerelease-lifecycle-gen:deprecated=4.14 | ||
// +k8s:prerelease-lifecycle-gen:removed=4.10000 | ||
// +k8s:prerelease-lifecycle-gen:introduced=1.1 | ||
// +k8s:prerelease-lifecycle-gen:deprecated=1.27 | ||
// +k8s:prerelease-lifecycle-gen:removed=0.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, if this removes the removed part in the message => ++ |
||
|
||
// Deployment Configs define the template for a pod and manages deploying new images or configuration changes. | ||
// A single deployment configuration is usually analogous to a single micro-service. Can support many different | ||
|
@@ -396,9 +396,9 @@ type DeploymentCondition struct { | |
} | ||
|
||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object | ||
// +k8s:prerelease-lifecycle-gen:introduced=3.0 | ||
// +k8s:prerelease-lifecycle-gen:deprecated=4.14 | ||
// +k8s:prerelease-lifecycle-gen:removed=4.10000 | ||
// +k8s:prerelease-lifecycle-gen:introduced=1.1 | ||
// +k8s:prerelease-lifecycle-gen:deprecated=1.27 | ||
// +k8s:prerelease-lifecycle-gen:removed=0.0 | ||
|
||
// DeploymentConfigList is a collection of deployment configs. | ||
// | ||
|
@@ -416,9 +416,9 @@ type DeploymentConfigList struct { | |
} | ||
|
||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object | ||
// +k8s:prerelease-lifecycle-gen:introduced=3.0 | ||
// +k8s:prerelease-lifecycle-gen:deprecated=4.14 | ||
// +k8s:prerelease-lifecycle-gen:removed=4.10000 | ||
// +k8s:prerelease-lifecycle-gen:introduced=1.1 | ||
// +k8s:prerelease-lifecycle-gen:deprecated=1.27 | ||
// +k8s:prerelease-lifecycle-gen:removed=0.0 | ||
|
||
// DeploymentConfigRollback provides the input to rollback generation. | ||
// | ||
|
@@ -451,9 +451,9 @@ type DeploymentConfigRollbackSpec struct { | |
} | ||
|
||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object | ||
// +k8s:prerelease-lifecycle-gen:introduced=3.0 | ||
// +k8s:prerelease-lifecycle-gen:deprecated=4.14 | ||
// +k8s:prerelease-lifecycle-gen:removed=4.10000 | ||
// +k8s:prerelease-lifecycle-gen:introduced=1.1 | ||
// +k8s:prerelease-lifecycle-gen:deprecated=1.27 | ||
// +k8s:prerelease-lifecycle-gen:removed=0.0 | ||
|
||
// DeploymentRequest is a request to a deployment config for a new deployment. | ||
// | ||
|
@@ -475,9 +475,9 @@ type DeploymentRequest struct { | |
} | ||
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: the versioning was originally intentionally set to follow the openshift versioning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understood, but we are making use of upstream functionality that only truly understands kubernetes versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DCs is an OpenShift resource. It's kinda strange to claim an OpenShift resources was deprecated in Kubernetes.