puzzle / jenkins-pipeline-shared-libraries

Shared functionality for Jenkins Pipeline Groovy scripts.
GNU General Public License v3.0
10 stars 13 forks source link

kubectl convert is DEPRECATED and will be removed in a future version. #37

Closed SylivanKenobi closed 3 years ago

SylivanKenobi commented 3 years ago

openshiftApply uses oc convert which will be removed in future releases.

SylivanKenobi commented 3 years ago

convert on Openshift 4 doesn't work with Openshift specific ressources like buildconfigs.

To validate the template in the future the validation has to be oc version specific.

For oc3 the validation doesn't have to change. In oc4 the validation should be done with oc apply --dry-run=server --validate=true.