bentoml/Yatai

[bug, docs] Error from server (NotFound): secrets "env" not found

cosmicBboy opened this issue · 1 comments

When following the installation guide: https://docs.bentoml.org/projects/yatai/en/latest/installation/yatai.html

The last command to get an initialization link doesn't work:

When installing Yatai for the first time, run the following command to get an initialzation link for creating your admin account:

  export YATAI_INITIALIZATION_TOKEN=$(kubectl get secret env --namespace yatai-system -o jsonpath="{.data.YATAI_INITIALIZATION_TOKEN}" | base64 --decode)

  echo "Create admin account at: http://127.0.0.1:8080/setup?token=$YATAI_INITIALIZATION_TOKEN" && kubectl --namespace yatai-system port-forward svc/yatai 8080:80

The command should be kubectl get secret yatai-env instead of kubectl get secret env

Thanks for your report! I just fixed it now