updated the tags to latest
Signed-off-by: Saranya-jena <saranya.jena@harness.io>
This commit is contained in:
@@ -18,7 +18,16 @@ spec:
|
||||
# Create and monitor the experiment & helper pods
|
||||
- apiGroups: [""]
|
||||
resources: ["pods"]
|
||||
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
|
||||
verbs:
|
||||
[
|
||||
"create",
|
||||
"delete",
|
||||
"get",
|
||||
"list",
|
||||
"patch",
|
||||
"update",
|
||||
"deletecollection",
|
||||
]
|
||||
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||
- apiGroups: [""]
|
||||
resources: ["events"]
|
||||
@@ -59,7 +68,7 @@ spec:
|
||||
- apiGroups: ["litmuschaos.io"]
|
||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
||||
image: "litmuschaos/go-runner:latest"
|
||||
imagePullPolicy: Always
|
||||
args:
|
||||
- -c
|
||||
@@ -68,18 +77,18 @@ spec:
|
||||
- /bin/bash
|
||||
env:
|
||||
- name: TARGET_CONTAINER
|
||||
value: ''
|
||||
value: ""
|
||||
|
||||
# provide lib image
|
||||
- name: LIB_IMAGE
|
||||
value: 'chaosnative/go-runner:ci'
|
||||
value: "chaosnative/go-runner:ci"
|
||||
|
||||
# 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
|
||||
# supported status code list: [200, 201, 202, 204, 300, 301, 302, 304, 307, 400, 401, 403, 404, 500, 501, 502, 503, 504]
|
||||
- name: STATUS_CODE
|
||||
value: ''
|
||||
value: ""
|
||||
|
||||
# whether to modify the body as per the status code provided
|
||||
- name: "MODIFY_RESPONSE_BODY"
|
||||
@@ -87,17 +96,17 @@ spec:
|
||||
|
||||
# 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: ''
|
||||
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: ''
|
||||
value: ""
|
||||
|
||||
# provide the content type for the response body
|
||||
- name: CONTENT_TYPE
|
||||
value: 'text/plain'
|
||||
value: "text/plain"
|
||||
|
||||
# port of the target service
|
||||
- name: TARGET_SERVICE_PORT
|
||||
@@ -118,40 +127,40 @@ spec:
|
||||
value: "eth0"
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60' # in seconds
|
||||
value: "60" # in seconds
|
||||
|
||||
# Time period to wait before and after injection of chaos in sec
|
||||
- name: RAMP_TIME
|
||||
value: ''
|
||||
value: ""
|
||||
|
||||
- name: DEFAULT_HEALTH_CHECK
|
||||
value: 'false'
|
||||
value: "false"
|
||||
|
||||
# percentage of total pods to target
|
||||
- name: PODS_AFFECTED_PERC
|
||||
value: ''
|
||||
value: ""
|
||||
|
||||
- name: TARGET_PODS
|
||||
value: ''
|
||||
value: ""
|
||||
|
||||
# provide the name of container runtime
|
||||
# for litmus LIB, it supports docker, containerd, crio
|
||||
# for pumba LIB, it supports docker only
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'containerd'
|
||||
value: "containerd"
|
||||
|
||||
# provide the socket file path
|
||||
- name: SOCKET_PATH
|
||||
value: '/run/containerd/containerd.sock'
|
||||
value: "/run/containerd/containerd.sock"
|
||||
|
||||
# To select pods on specific node(s)
|
||||
- name: NODE_LABEL
|
||||
value: ''
|
||||
value: ""
|
||||
|
||||
## it defines the sequence of chaos execution for multiple target pods
|
||||
## supported values: serial, parallel
|
||||
- name: SEQUENCE
|
||||
value: 'parallel'
|
||||
value: "parallel"
|
||||
|
||||
labels:
|
||||
name: pod-http-status-code
|
||||
|
Reference in New Issue
Block a user