mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Fix README registry error
This commit is contained in:
parent
7209cb76bb
commit
f573fc5bce
@ -49,7 +49,7 @@ With the "registry" action that is part for the kubernetes-worker charm, you can
|
|||||||
|
|
||||||
Create the relevant authentication files. Let's say you want user `userA` to authenticate with the password `passwordA`. Then you'll do :
|
Create the relevant authentication files. Let's say you want user `userA` to authenticate with the password `passwordA`. Then you'll do :
|
||||||
|
|
||||||
echo "userA:passwordA" > htpasswd-plain
|
echo -n "userA:passwordA" > htpasswd-plain
|
||||||
htpasswd -c -b -B htpasswd userA passwordA
|
htpasswd -c -b -B htpasswd userA passwordA
|
||||||
|
|
||||||
(the `htpasswd` program comes with the `apache2-utils` package)
|
(the `htpasswd` program comes with the `apache2-utils` package)
|
||||||
|
Loading…
Reference in New Issue
Block a user