Skip to content

Commit

Permalink
Added crd changes for defaultMode (#48)
Browse files Browse the repository at this point in the history
* Added crd changes for defaultMode

Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>

* chore: [CHAOS-5727]: Remove `allowEmptyValue` from chaosengine and chaosexperiment crds

Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>

---------

Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
  • Loading branch information
ispeakc0de authored Jun 24, 2024
1 parent c1b35f7 commit 0b8ec27
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 44 deletions.
17 changes: 6 additions & 11 deletions hce-saas/QA/hce-saas-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3444,11 +3444,9 @@ spec:
key:
type: string
minLength: 1
allowEmptyValue: false
value:
type: string
minLength: 1
allowEmptyValue: false
experimentImage:
type: string
env:
Expand Down Expand Up @@ -3571,6 +3569,9 @@ spec:
items:
type: object
properties:
defaultMode:
type: integer
format: int32
name:
type: string
mountPath:
Expand All @@ -3580,6 +3581,9 @@ spec:
items:
type: object
properties:
defaultMode:
type: integer
format: int32
name:
type: string
mountPath:
Expand All @@ -3592,11 +3596,9 @@ spec:
key:
type: string
minLength: 1
allowEmptyValue: false
value:
type: string
minLength: 1
allowEmptyValue: false
tolerations:
description: Pod's tolerations.
items:
Expand Down Expand Up @@ -4212,11 +4214,9 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
secrets:
type: array
Expand All @@ -4226,11 +4226,9 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
hostFileVolumes:
type: array
Expand All @@ -4240,15 +4238,12 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
nodePath:
type: string
allowEmptyValue: false
minLength: 1
securityContext:
x-kubernetes-preserve-unknown-fields: true
Expand Down
17 changes: 6 additions & 11 deletions hce-saas/QA/hce-saas-litmus-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2613,11 +2613,9 @@ spec:
key:
type: string
minLength: 1
allowEmptyValue: false
value:
type: string
minLength: 1
allowEmptyValue: false
experimentImage:
type: string
env:
Expand Down Expand Up @@ -2740,6 +2738,9 @@ spec:
items:
type: object
properties:
defaultMode:
type: integer
format: int32
name:
type: string
mountPath:
Expand All @@ -2749,6 +2750,9 @@ spec:
items:
type: object
properties:
defaultMode:
type: integer
format: int32
name:
type: string
mountPath:
Expand All @@ -2761,11 +2765,9 @@ spec:
key:
type: string
minLength: 1
allowEmptyValue: false
value:
type: string
minLength: 1
allowEmptyValue: false
tolerations:
description: Pod's tolerations.
items:
Expand Down Expand Up @@ -3381,11 +3383,9 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
secrets:
type: array
Expand All @@ -3395,11 +3395,9 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
hostFileVolumes:
type: array
Expand All @@ -3409,15 +3407,12 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
nodePath:
type: string
allowEmptyValue: false
minLength: 1
securityContext:
x-kubernetes-preserve-unknown-fields: true
Expand Down
17 changes: 6 additions & 11 deletions hce-saas/hce-saas-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3444,11 +3444,9 @@ spec:
key:
type: string
minLength: 1
allowEmptyValue: false
value:
type: string
minLength: 1
allowEmptyValue: false
experimentImage:
type: string
env:
Expand Down Expand Up @@ -3571,6 +3569,9 @@ spec:
items:
type: object
properties:
defaultMode:
type: integer
format: int32
name:
type: string
mountPath:
Expand All @@ -3580,6 +3581,9 @@ spec:
items:
type: object
properties:
defaultMode:
type: integer
format: int32
name:
type: string
mountPath:
Expand All @@ -3592,11 +3596,9 @@ spec:
key:
type: string
minLength: 1
allowEmptyValue: false
value:
type: string
minLength: 1
allowEmptyValue: false
tolerations:
description: Pod's tolerations.
items:
Expand Down Expand Up @@ -4212,11 +4214,9 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
secrets:
type: array
Expand All @@ -4226,11 +4226,9 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
hostFileVolumes:
type: array
Expand All @@ -4240,15 +4238,12 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
nodePath:
type: string
allowEmptyValue: false
minLength: 1
securityContext:
x-kubernetes-preserve-unknown-fields: true
Expand Down
17 changes: 6 additions & 11 deletions hce-saas/hce-saas-litmus-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2613,11 +2613,9 @@ spec:
key:
type: string
minLength: 1
allowEmptyValue: false
value:
type: string
minLength: 1
allowEmptyValue: false
experimentImage:
type: string
env:
Expand Down Expand Up @@ -2740,6 +2738,9 @@ spec:
items:
type: object
properties:
defaultMode:
type: integer
format: int32
name:
type: string
mountPath:
Expand All @@ -2749,6 +2750,9 @@ spec:
items:
type: object
properties:
defaultMode:
type: integer
format: int32
name:
type: string
mountPath:
Expand All @@ -2761,11 +2765,9 @@ spec:
key:
type: string
minLength: 1
allowEmptyValue: false
value:
type: string
minLength: 1
allowEmptyValue: false
tolerations:
description: Pod's tolerations.
items:
Expand Down Expand Up @@ -3381,11 +3383,9 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
secrets:
type: array
Expand All @@ -3395,11 +3395,9 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
hostFileVolumes:
type: array
Expand All @@ -3409,15 +3407,12 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
nodePath:
type: string
allowEmptyValue: false
minLength: 1
securityContext:
x-kubernetes-preserve-unknown-fields: true
Expand Down

0 comments on commit 0b8ec27

Please sign in to comment.