Skip to content

Commit

Permalink
[stable/locust]: Updates locust chart configmap files glog statement (#…
Browse files Browse the repository at this point in the history
…636)

* Updates locust chart configmap files glog statement

* Adds back the old configmap if statements for examples
  • Loading branch information
byronmansfield authored Dec 9, 2024
1 parent 20e23cf commit b9b34cd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion stable/locust/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: locust
version: "0.32.1"
version: "0.32.2"
appVersion: 2.32.2
home: https://github.com/locustio/locust
icon: https://locust.io/static/img/logo.png
Expand Down
4 changes: 2 additions & 2 deletions stable/locust/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# locust

![Version: 0.32.1](https://img.shields.io/badge/Version-0.32.1-informational?style=flat-square) ![AppVersion: 2.32.2](https://img.shields.io/badge/AppVersion-2.32.2-informational?style=flat-square)
![Version: 0.32.2](https://img.shields.io/badge/Version-0.32.2-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.32.1
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/locust --version 0.32.2
```

To install the chart with the release name `my-release`:
Expand Down
2 changes: 1 addition & 1 deletion stable/locust/templates/configmap-locust-lib.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.loadtest.locust_lib_configmap }}
{{- if eq .Values.loadtest.locust_lib_configmap "example-lib" }}
apiVersion: v1
kind: ConfigMap
metadata:
Expand Down
4 changes: 3 additions & 1 deletion stable/locust/templates/configmap-locust-locustfile.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{{- if eq .Values.loadtest.locust_locustfile_configmap "example-locustfile" }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Values.loadtest.locust_locustfile_configmap }}
labels:
{{ include "locust.labels" . | indent 4 }}
data:
{{ ($.Files.Glob (printf "locustfiles/%s/%s" .Values.loadtest.name .Values.loadtest.locust_locustfile)).AsConfig | indent 2 }}
{{ (.Files.Glob (printf "locustfiles/%s/%s" .Values.loadtest.name .Values.loadtest.locust_locustfile)).AsConfig | indent 2 }}
{{- end }}

0 comments on commit b9b34cd

Please sign in to comment.