kubectl apply
on a apps/v1beta2 Deployment renders as extensions/v1beta1
#59362
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
/kind bug
Running
kubectl apply
on aapps/v1beta2
deployment creates a deployment with apiVersion set toextensions/v1beta1
, but the version inkubectl.kubernetes.io/last-applied-configuration
isv1beta2
. I'm not sure if the transformation is a bug or a feature. I expected the deployed resource to be of typeapps/v1beta2
, as requested.Reproducing the error can be done on both v1.8 and v1.9 clusters, with the respective
kubectl
client version matching the cluster version.Environment:
kubectl version
): 1.8/1.9The text was updated successfully, but these errors were encountered: