Skip to content

Commit

Permalink
Merge pull request kubernetes#2120 from Argh4k/slow-calls-access
Browse files Browse the repository at this point in the history
Propagate ALLOWED_SLOW_API_CALLS to access tokens config
  • Loading branch information
k8s-ci-robot committed Aug 17, 2022
2 parents 59ee553 + 482aafc commit 7730401
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 7730401

Please sign in to comment.