Skip to content

Commit

Permalink
Merge pull request #15 from openfga/feat/configurable_setup_timeout
Browse files Browse the repository at this point in the history
feat: configurable k6 setup timeout
  • Loading branch information
adriantam authored Apr 13, 2023
2 parents a5778f5 + 0d24f3c commit 16d6fcd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
.idea
.vscode
/charts/*/charts
/charts/*/charts
.github/workflows/*.tgz
4 changes: 2 additions & 2 deletions charts/benchmark/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: benchmark
description: A Kubernetes Helm chart to deploy OpenFGA and run the standard benchmark suite against it.

type: application
version: 0.0.3
appVersion: "v0.4.2"
version: 0.0.4
appVersion: "v0.4.3"

home: "https://openfga.github.io/helm-charts/charts/benchmark"
icon: https://github.com/openfga/community/raw/main/brand-assets/icon/color/openfga-icon-color.svg
Expand Down
2 changes: 2 additions & 0 deletions charts/benchmark/templates/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ spec:
secretKeyRef:
name: "{{ .Values.k6.secretKeyName }}"
key: "{{ .Values.k6.secretKeyToken }}"
- name: K6_SETUP_TIMEOUT
value: "{{ .values.k6.setupTimeoutInSeconds }}"
volumes:
- name: benchmark-script
configMap:
Expand Down
3 changes: 2 additions & 1 deletion charts/benchmark/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ k6:
projectID:
secretKeyName: k6-cloud-token
secretKeyToken: token
setupTimeoutInSeconds: 1200

Nparam: 1
Mparam: 1
Kparam: 1
testCase: 1
testCheck: true
testListObject: false
testListObject: false

0 comments on commit 16d6fcd

Please sign in to comment.