mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-01 01:08:55 +00:00
Merge pull request #51102 from juju-solutions/bug/worker-readme
Automatic merge from submit-queue Fix README registry error on juju worker **What this PR does / why we need it**: Update instructions on Juju Kubernetes Worker. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/384 **Special notes for your reviewer**: **Release note**: ```NONE ```
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user