3.3. Locking version for the Knative CLI installed with RPM package manager
You might require to use Knative (kn) CLI version that is not the most recent, but is in Maintenance Phase. You can achieve that by locking the version of kn, which prevents it from being upgraded.
Procedure
Install the
versionlockplugin for the DNF package manager:# dnf install 'dnf-command(versionlock)'Lock the version of
knby running:# dnf versionlock add --raw 'openshift-serverless-clients-1.7.*'This command locks
knto be the version based on Knative 1.7, which is in Maintenance Phase at the time of release of OpenShift Serverless 1.29.