4 lines
190 B
Bash
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
|