Kubectl is prompting for username and password

Hi,

I am learning k8s and OpenShift and I am following the below link to do a small hands-on.

As per the instructions I have executed the below commands replacing with my credentials.

kubectl config set-credentials {username}/{cluster_name} --token={token}
kubectl config set-cluster {cluster_name} --server={api_server_url}
kubectl config set-context {context} --user={username}/{cluster_name} /
–namespace={username}-dev --cluster={cluster_name}
kubectl config use-context {context}

The next step is to execute the below command which is prompting me enter username and password. Though I am entering my username and password, I keep getting the error as “Error from server (Forbidden): unknown”. Can someone help me what I am missing here?

kubectl create -f quotes-deployment.yaml