Skip to content

Commit

Permalink
Merge pull request #1411 from indrajra/patch-2
Browse files Browse the repository at this point in the history
SB-18656 - Onboard certreg read and search
  • Loading branch information
SMYALTAMASH authored Apr 21, 2020
2 parents e2f802f + 67510ef commit 35804e2
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3932,6 +3932,40 @@ kong_apis:
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: searchRegCertificate
request_path: "{{ cert_registry_service_prefix }}/v1/certs/search"
upstream_url: "{{ cert_registry_service_url }}/certs/v1/registry/search"
strip_request_path: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist: "{{ searchRegCertificate_ACL | default(['publicUser']) }}"
- name: rate-limiting
config.policy: local
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: readRegCertificate
request_path: "{{ cert_registry_service_prefix }}/v1/certs/read"
upstream_url: "{{ cert_registry_service_url }}/certs/v1/registry/read"
strip_request_path: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist: "{{ readRegCertificate_ACL | default(['publicUser']) }}"
- name: rate-limiting
config.policy: local
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: updateDesktopApp
request_path: "{{ desktop_app_prefix }}/v1/update"
Expand Down

0 comments on commit 35804e2

Please sign in to comment.