using kubectl to apply resources
if [ -d config-root/customresourcedefinitions ]; then \
kubectl apply --server-side=true --force-conflicts --prune -l=gitops.jenkins-x.io/pipeline=customresourcedefinitions -R -f config-root/customresourcedefinitions; \
fi
error: --prune is in alpha and doesn't currently work on objects created by server-side apply
make: *** [versionStream/src/Makefile.mk:322: kubectl-apply] Error 1
# kubectl version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.27.6
Kustomize Version: v5.0.1
Server Version: v1.27.6