-
jq should be present
-
Export an environment variable by name
ODF_PULL_SECRET
having the odf pull secret.For example:
# Edit bashrc bash vi ~/.bashrc #Add pull secret ODF_PULL_SECRET export ODF_PULL_SECRET=<odf-pull-secret> # source ~/.bashrc
Note: Make sure to use ODF_PULL_SECRET
as the name of the variable in order to get the script working
- Download the file install-ocs.sh
wget https://raw.githubusercontent.com/afreen23/dev-setup/main/install-ocs.sh
chmod +x install-ocs.sh
- Login to your OCP cluster
- Run the file as
./install-ocs.sh
- Go to the console > Operator hub > Storage > Choose the non-GA version to install ODF
Note: It can take upto 7-10 minutes to get the pull secret updated and hence the ODF catalog to appear in hub