manifests/longhorn/create_auth.sh
2025-04-12 13:11:34 +08:00

4 lines
190 B
Bash

USER=songtianlun; PASSWORD=sotilu,LH2025; echo "${USER}:$(openssl passwd -stdin -apr1 <<< ${PASSWORD})" >> auth
kubectl -n longhorn-system create secret generic basic-auth --from-file=auth