operator icon indicating copy to clipboard operation
operator copied to clipboard

Set minimum Kubernetes version in operator CSV

Open adambkaplan opened this issue 2 years ago • 4 comments

Feature request

Set the minimum Kubernetes version supported by the operator. API deprecations and additions may alter which version of Kubernetes the operator can deploy on.

Use case

  • Deploying the operator on Kubernetes versions that may no longer be supported by the upstream community
  • Ensuring the operator is not deployed on Kubernetes clusters that are missing required APIs.

adambkaplan avatar Nov 02 '23 13:11 adambkaplan

From validation warning in operatorhubio repo: https://github.com/k8s-operatorhub/community-operators/pull/3484#issuecomment-1787735556

adambkaplan avatar Nov 02 '23 13:11 adambkaplan

@vdemeester where can I get minimum kubernetes supported version of pipeline v0.50.x? I do not see v0.50.x from the list here: https://github.com/tektoncd/pipeline#required-kubernetes-version

I think we have to use that version as minimum supported k8s version in operator, right?

jkandasa avatar Nov 02 '23 16:11 jkandasa

Starting from the v0.45.x release of Tekton: Kubernetes version 1.24 or later Starting from the v0.51.x release of Tekton: Kubernetes version 1.25 or later

'Starting from' is the key piece here, this list only shows the releases where the minimum Kubernetes version changed.

Since v0.50.x falls between these two, the minimum supported version would be 1.24

AlanGreene avatar Nov 20 '23 14:11 AlanGreene

Thanks @AlanGreene !!

jkandasa avatar Nov 21 '23 07:11 jkandasa