Added reponse body, content type and encoding fields; Removed trailing whitespaces for some files (#567)

Signed-off-by: avaakash <as86414@gmail.com>

Signed-off-by: avaakash <as86414@gmail.com>
This commit is contained in:
Akash Shrivastava
2022-09-15 18:30:47 +05:30
committed by GitHub
parent 86e3e1b239
commit 16ceadeea4
10 changed files with 90 additions and 65 deletions

View File

@@ -22,7 +22,7 @@ spec:
# set chaos interval (in sec) as desired
- name: CHAOS_INTERVAL
value: '10'
# modified status code for the http response
# if no value is provided, a random status code from the supported code list will selected
# if an invalid status code is provided, the experiment will fail
@@ -33,7 +33,10 @@ spec:
# whether to modify the body as per the status code provided
- name: "MODIFY_RESPONSE_BODY"
value: "true"
# provide the body string to overwrite the response body. This will be used only if MODIFY_RESPONSE_BODY is set to true
- name: RESPONSE_BODY
value: ''
# port of the target service
- name: TARGET_SERVICE_PORT
value: "80"
@@ -51,4 +54,3 @@ spec:
- name: PODS_AFFECTED_PERC
value: ''