Skip to content

Commit d0d980b

Browse files
authored
Merge pull request #9170 from zalando-incubator/opa-styra-timeout
Configure response header timeouts for styra calls
2 parents f578c4b + 068eca1 commit d0d980b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

cluster/config-defaults.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,9 @@ skipper_ingress_routegroup_crd_require_hosts: "true"
375375
skipper_open_policy_agent_enabled: "false"
376376
skipper_open_policy_agent_styra_token: ""
377377

378+
# Default timeout value in seconds for outgoing http calls from Open Policy Agent in a skipper filter
379+
skipper_open_policy_agent_styra_response_header_timeout: "2"
380+
378381
#
379382
# FabricGateway controller config
380383
#

cluster/manifests/skipper/configmap-open-policy-agent.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ data:
2323
token: "{{ `{{ .Env.STYRA_TOKEN }}` }}"
2424
name: styra
2525
url: "{{ .Cluster.ConfigItems.skipper_open_policy_agent_observability_url }}"
26+
response_header_timeout_seconds: {{ .Cluster.ConfigItems.skipper_open_policy_agent_styra_response_header_timeout }}
2627
- credentials:
2728
s3_signing:
2829
web_identity_credentials:

0 commit comments

Comments
 (0)