Skip to content

Commit

Permalink
upgrade(litmus): updating graphql manifests (#3797)
Browse files Browse the repository at this point in the history
* upgrade(litmus): updating graphql manifests

Signed-off-by: Shubham Chaudhary <[email protected]>

* changing retry to optional field

Signed-off-by: Shubham Chaudhary <[email protected]>

Signed-off-by: Shubham Chaudhary <[email protected]>
  • Loading branch information
ispeakc0de authored Oct 19, 2022
1 parent cd1775a commit e46df65
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,14 +337,12 @@ const AddProbe: React.FC<AddProbeProps> = ({
<div className={classes.formField}>
<InputLabel className={classes.formLabel} htmlFor="retry">
{t('createWorkflow.tuneWorkflow.addProbe.labels.retry')}(times)
<span className={classes.required}>*</span>
</InputLabel>
<InputField
variant="primary"
width="50%"
id="retry"
name="retry"
required
type="number"
value={runProperties.retry}
onChange={handleRunProps}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
annotationCheck:
type: string
pattern: ^(true|false)$
defaultAppHealthCheck:
defaultHealthCheck:
type: string
pattern: ^(true|false)$
appinfo:
Expand Down Expand Up @@ -77,6 +77,8 @@ spec:
type:
type: string
pattern: ^(go)$
runnerLabels:
type: object
runnerAnnotations:
type: object
additionalProperties:
Expand Down Expand Up @@ -315,6 +317,11 @@ spec:
of the external pod it supports boolean values
and default value is false
type: boolean
inheritInputs:
description: InheritInputs define to inherit experiment
details in probe pod it supports boolean values
and default value is false.
type: boolean
image:
description: Image for the source pod
type: string
Expand Down Expand Up @@ -1957,8 +1964,6 @@ spec:
minLength: 1
insecureSkipVerify:
type: boolean
responseTimeout:
type: integer
method:
type: object
minProperties: 1
Expand Down Expand Up @@ -2006,11 +2011,10 @@ spec:
type: string
runProperties:
type: object
minProperties: 3
minProperties: 2
required:
- probeTimeout
- interval
- retry
properties:
probeTimeout:
type: integer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ rules:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines/finalizers"]
verbs: ["update"]
- apiGroups: [ "coordination.k8s.io" ]
resources: [ "leases" ]
verbs: [ "get","create","list","update","delete" ]

---
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ spec:
image: #{LITMUS-CHAOS-OPERATOR}
command:
- chaos-operator
args:
- -leader-elect=true
imagePullPolicy: Always
securityContext:
runAsUser: 2000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ rules:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines/finalizers"]
verbs: ["update"]
- apiGroups: [ "coordination.k8s.io" ]
resources: [ "leases" ]
verbs: [ "get","create","list","update","delete" ]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ spec:
memory: 250Mi
command:
- chaos-operator
args:
- -leader-elect=true
imagePullPolicy: Always
env:
- name: CHAOS_RUNNER_IMAGE
Expand Down

0 comments on commit e46df65

Please sign in to comment.