Skip to content

Commit

Permalink
Propagate ALLOWED_SLOW_API_CALLS to access tokens config
Browse files Browse the repository at this point in the history
  • Loading branch information
Argh4k committed Aug 17, 2022
1 parent 59ee553 commit 482aafc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clusterloader2/testing/access-tokens/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
{{$ENABLE_RESTART_COUNT_CHECK := DefaultParam .ENABLE_RESTART_COUNT_CHECK true}}
{{$RESTART_COUNT_THRESHOLD_OVERRIDES:= DefaultParam .RESTART_COUNT_THRESHOLD_OVERRIDES ""}}

# Configs
{{$ALLOWED_SLOW_API_CALLS := DefaultParam .CL2_ALLOWED_SLOW_API_CALLS 0}}

name: access-tokens
namespace:
number: {{$namespaces}}
Expand All @@ -61,6 +64,7 @@ steps:
systemPodMetricsEnabled: {{$ENABLE_SYSTEM_POD_METRICS}}
restartCountThresholdOverrides: {{YamlQuote $RESTART_COUNT_THRESHOLD_OVERRIDES 4}}
enableRestartCountCheck: {{$ENABLE_RESTART_COUNT_CHECK}}
allowedSlowCalls: {{$ALLOWED_SLOW_API_CALLS}}

- name: Creating ServiceAccounts
phases:
Expand Down

0 comments on commit 482aafc

Please sign in to comment.