Fix deprecation check failure in pipeline
Pipeline fails a deprecation check for PodDisruptionBudget due to it defaulting to v1beta
when its not connected to a cluster. Add an additional check for v1beta1
and if it fails to find v1
or v1beta
, default to v1
. For Helm templating, which is used by the deprecation checker, this should make it pass.