Skip to content

Commit

Permalink
Corrected secret incstructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredeen committed Apr 29, 2024
1 parent 4f4af04 commit c2e56b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ dmypy.json
cython_debug/

# Locust deployment
auth
locust-auth

# Locust output files
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ $ ./run_test_plan.sh

Create a new ArgoCD app using the application manifest ./argocd/application.yaml

Create the secret locust-ui-secret (see section below) in namespace locust.

### Using CLI kubectl

Create a deployment named locust-deployment in a new namespace locust:
Expand All @@ -173,10 +175,12 @@ Create a deployment named locust-deployment in a new namespace locust:
### Create a secret for the Locust web UI

Create a secret named locust-ui-secret.
Required apache2-utils
Requires apache2-utils

sudo apt install apache2-utils

htpasswd -bc locust-auth locust <pwd>
Then create a password file. Specify the password when prompted.

htpasswd -c auth locust

kubectl -n locust create secret generic locust-ui-secret --from-file=locust-auth
kubectl -n locust create secret generic locust-ui-secret --from-file=auth

0 comments on commit c2e56b5

Please sign in to comment.