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:
committed by
GitHub
parent
86e3e1b239
commit
16ceadeea4
@@ -39,4 +39,3 @@ spec:
|
|||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ''
|
||||||
|
|
@@ -79,6 +79,16 @@ spec:
|
|||||||
- name: RESPONSE_BODY
|
- name: RESPONSE_BODY
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
# provide the encoding type for the response body
|
||||||
|
# currently supported value are gzip, deflate
|
||||||
|
# if empty no encoding will be applied
|
||||||
|
- name: CONTENT_ENCODING
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
# provide the content type for the response body
|
||||||
|
- name: CONTENT_TYPE
|
||||||
|
value: 'text/plain'
|
||||||
|
|
||||||
# port of the target service
|
# port of the target service
|
||||||
- name: TARGET_SERVICE_PORT
|
- name: TARGET_SERVICE_PORT
|
||||||
value: "80"
|
value: "80"
|
||||||
|
@@ -34,6 +34,9 @@ spec:
|
|||||||
- name: "MODIFY_RESPONSE_BODY"
|
- name: "MODIFY_RESPONSE_BODY"
|
||||||
value: "true"
|
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
|
# port of the target service
|
||||||
- name: TARGET_SERVICE_PORT
|
- name: TARGET_SERVICE_PORT
|
||||||
value: "80"
|
value: "80"
|
||||||
@@ -51,4 +54,3 @@ spec:
|
|||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
|
@@ -86,6 +86,20 @@ spec:
|
|||||||
- name: "MODIFY_RESPONSE_BODY"
|
- name: "MODIFY_RESPONSE_BODY"
|
||||||
value: "true"
|
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: ''
|
||||||
|
|
||||||
|
# provide the encoding type for the response body
|
||||||
|
# currently supported value are gzip, deflate
|
||||||
|
# if empty no encoding will be applied
|
||||||
|
- name: CONTENT_ENCODING
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
# provide the content type for the response body
|
||||||
|
- name: CONTENT_TYPE
|
||||||
|
value: 'text/plain'
|
||||||
|
|
||||||
# port of the target service
|
# port of the target service
|
||||||
- name: TARGET_SERVICE_PORT
|
- name: TARGET_SERVICE_PORT
|
||||||
value: "80"
|
value: "80"
|
||||||
|
Reference in New Issue
Block a user