You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
517 B
24 lines
517 B
# First time
|
|
## generate
|
|
```
|
|
htpasswd -c subspace-basicauth-htpasswd subspace
|
|
```
|
|
|
|
## Upload pass
|
|
```
|
|
kubectl create secret generic subspace-basicauth-htpasswd --from-file=subspace-basicauth-htpasswd -n kilosubspace
|
|
```
|
|
|
|
# Update or add password
|
|
## add user
|
|
```
|
|
htpasswd subspace-basicauth-htpasswd new-user
|
|
```
|
|
|
|
## Upload pass
|
|
```
|
|
kubectl delete secret/subspace-basicauth-htpasswd
|
|
kubectl create secret generic subspace-basicauth-htpasswd --from-file=subspace-basicauth-htpasswd -n kilosubspace
|
|
```
|
|
|