-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Pipeline v1beta1 transformed to v1 #6674
Comments
@rh-hectormartinezdev this is a bit confusing but we are actually still storing resources in v1beta1 not v1 in etcd. What is happening is kubectl is choosing the latest stable version "v1" by default. See here for more details. You can request the v1beta1 representation by Kubernetes does require that one apiversion should be convertible to another apiversion without any loss of information - we have conversion webhooks setup which allow us to do so. |
@dibyom, the real problem with this is that we are seeing the following behavior now. Previously, when we created a
@rh-hectormartinezdev did some digging an I believe he determined that if the API version was So we're looking for some sort of explanation about what changed and is causing this issue, and whether we can or should pursue either #1 or #2 above. And we'll need some instructions on what to do in either case. |
And incidentally, I can't get a |
Note that the |
Expected Behavior
A
Pipeline
intekton.dev/v1beta1
version is created.Actual Behavior
A
Pipeline
intekton.dev/v1
version is created instead.Steps to Reproduce the Problem
minikube start --driver=kvm2 --cpus=4 --memory=6g --disk-size=30GB --kubernetes-version=1.26.1 --embed-certs
kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.47.0/release.yaml
kubectl apply -f pipeline.yaml
kubectl get pipeline dummy -o yaml
:Additional Info
Kubernetes version: 1.26.1
Output of
kubectl version
:Tekton Pipeline version:
Output of
tkn version
orkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
I'm trying to understand why it is transforming it into
v1
.The text was updated successfully, but these errors were encountered: