-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.needs discussiontriage/supportIndicates an issue that is a support question.Indicates an issue that is a support question.
Description
When we execute the command operator-sdk new to create an API and operator, then the go project is created using the go dependencies defined within the upstream sdk project
I would like to suggest to add a parameter to tell the version to be used for openshift/kubernets clients 3.10 to 3.11 to be populated within the gopkg.toml file
e.g
operator-sdk new spring-boot-operator --version=3.11 --api-version=springboot.snowdrop.me/v1alpha1 --kind=SpringBoot
For 3.11, then we should get such versions
[[override]]
name = "k8s.io/code-generator"
# revision for tag "kubernetes-1.11.2"
revision = "6702109cc68eb6fe6350b83e14407c8d7309fd1a"
[[override]]
name = "k8s.io/api"
# revision for tag "kubernetes-1.11.2"
revision = "2d6f90ab1293a1fb871cf149423ebb72aa7423aa"
[[override]]
name = "k8s.io/apiextensions-apiserver"
# revision for tag "kubernetes-1.11.2"
revision = "408db4a50408e2149acbd657bceb2480c13cb0a4"
[[override]]
name = "k8s.io/apimachinery"
# revision for tag "kubernetes-1.11.2"
revision = "103fd098999dc9c0c88536f5c9ad2e5da39373ae"
[[override]]
name = "k8s.io/client-go"
# revision for tag "kubernetes-1.11.2"
revision = "1f13a808da65775f22cbf47862c4e5898d8f4ca1"
[[override]]
name="github.com/openshift/client-go"
branch="release-3.11"
Metadata
Metadata
Assignees
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.needs discussiontriage/supportIndicates an issue that is a support question.Indicates an issue that is a support question.