Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable/locust]: Updates master.auth.enabled to fix newer login method #627

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stable/locust/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: locust
version: "0.31.8"
appVersion: 2.32.1
version: "0.31.9"
appVersion: 2.32.2
home: https://github.com/locustio/locust
icon: https://locust.io/static/img/logo.png
maintainers:
Expand Down
8 changes: 4 additions & 4 deletions stable/locust/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# locust

![Version: 0.31.8](https://img.shields.io/badge/Version-0.31.8-informational?style=flat-square) ![AppVersion: 2.32.1](https://img.shields.io/badge/AppVersion-2.32.1-informational?style=flat-square)
![Version: 0.31.9](https://img.shields.io/badge/Version-0.31.9-informational?style=flat-square) ![AppVersion: 2.32.2](https://img.shields.io/badge/AppVersion-2.32.2-informational?style=flat-square)

A chart to install Locust, a scalable load testing tool written in Python.

Expand Down Expand Up @@ -37,7 +37,7 @@ helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/locust
To install a specific version of this chart:

```console
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/locust --version 0.31.8
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/locust --version 0.31.9
```

To install the chart with the release name `my-release`:
Expand Down Expand Up @@ -70,7 +70,7 @@ helm install my-release oci://ghcr.io/deliveryhero/helm-charts/locust -f values.
| hostAliases | list | `[]` | List of entries added to the /etc/hosts file on the pod to resolve custom hosts |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"locustio/locust"` | |
| image.tag | string | `"2.32.1"` | |
| image.tag | string | `"2.32.2"` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | |
Expand All @@ -96,7 +96,7 @@ helm install my-release oci://ghcr.io/deliveryhero/helm-charts/locust -f values.
| loadtest.tags | string | `""` | whether to run locust with `--tags [TAG [TAG ...]]` options, so only tasks with any matching tags will be executed |
| master.affinity | object | `{}` | Overwrites affinity from global |
| master.args | list | `[]` | Any extra command args for the master |
| master.auth.enabled | bool | `false` | When enabled, UI basic auth will be enforced with the given username and password |
| master.auth.enabled | bool | `false` | When enabled using image tag 2.21.0 or later you do not need username or pass word. Older image tags you are required to |
| master.auth.password | string | `""` | |
| master.auth.username | string | `""` | |
| master.command[0] | string | `"sh"` | |
Expand Down
2 changes: 1 addition & 1 deletion stable/locust/templates/master-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
{{- end }}
{{- if .Values.master.auth.enabled }}
{{- if or (semverCompare ">=2.21.0" .Values.image.tag) (semverCompare ">=2.21.0" .Values.master.image.tag) (semverCompare ">=2.21.0" .Values.worker.image.tag)}}
- --web-login={{ .Values.master.auth.username }}:{{ .Values.master.auth.password }}
- --web-login
{{ else }}
- --web-auth={{ .Values.master.auth.username }}:{{ .Values.master.auth.password }}
{{- end }}
Expand Down
5 changes: 3 additions & 2 deletions stable/locust/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ loadtest:

image:
repository: locustio/locust
tag: 2.32.1
tag: 2.32.2
pullPolicy: IfNotPresent

service:
Expand Down Expand Up @@ -79,7 +79,8 @@ master:
# master.pdb.enabled -- Whether to create a PodDisruptionBudget for the master pod
pdb:
enabled: false
# master.auth.enabled -- When enabled, UI basic auth will be enforced with the given username and password
# master.auth.enabled -- When enabled using image tag 2.21.0 or later you do
# not need username or pass word. Older image tags you are required to
auth:
enabled: false
username: ""
Expand Down
Loading