From 0b8ec27d32d6234c8ecff5c596f3c11af6e6f02e Mon Sep 17 00:00:00 2001 From: Shubham Chaudhary Date: Mon, 24 Jun 2024 15:07:28 +0530 Subject: [PATCH] Added crd changes for defaultMode (#48) * Added crd changes for defaultMode Signed-off-by: Shubham Chaudhary * chore: [CHAOS-5727]: Remove `allowEmptyValue` from chaosengine and chaosexperiment crds Signed-off-by: Shubham Chaudhary --------- Signed-off-by: Shubham Chaudhary --- hce-saas/QA/hce-saas-crds.yaml | 17 ++++++----------- hce-saas/QA/hce-saas-litmus-crds.yaml | 17 ++++++----------- hce-saas/hce-saas-crds.yaml | 17 ++++++----------- hce-saas/hce-saas-litmus-crds.yaml | 17 ++++++----------- 4 files changed, 24 insertions(+), 44 deletions(-) diff --git a/hce-saas/QA/hce-saas-crds.yaml b/hce-saas/QA/hce-saas-crds.yaml index cb0c29a..7e2ea11 100644 --- a/hce-saas/QA/hce-saas-crds.yaml +++ b/hce-saas/QA/hce-saas-crds.yaml @@ -3444,11 +3444,9 @@ spec: key: type: string minLength: 1 - allowEmptyValue: false value: type: string minLength: 1 - allowEmptyValue: false experimentImage: type: string env: @@ -3571,6 +3569,9 @@ spec: items: type: object properties: + defaultMode: + type: integer + format: int32 name: type: string mountPath: @@ -3580,6 +3581,9 @@ spec: items: type: object properties: + defaultMode: + type: integer + format: int32 name: type: string mountPath: @@ -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: @@ -4212,11 +4214,9 @@ spec: properties: name: type: string - allowEmptyValue: false minLength: 1 mountPath: type: string - allowEmptyValue: false minLength: 1 secrets: type: array @@ -4226,11 +4226,9 @@ spec: properties: name: type: string - allowEmptyValue: false minLength: 1 mountPath: type: string - allowEmptyValue: false minLength: 1 hostFileVolumes: type: array @@ -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 diff --git a/hce-saas/QA/hce-saas-litmus-crds.yaml b/hce-saas/QA/hce-saas-litmus-crds.yaml index 45ac456..b697fa6 100644 --- a/hce-saas/QA/hce-saas-litmus-crds.yaml +++ b/hce-saas/QA/hce-saas-litmus-crds.yaml @@ -2613,11 +2613,9 @@ spec: key: type: string minLength: 1 - allowEmptyValue: false value: type: string minLength: 1 - allowEmptyValue: false experimentImage: type: string env: @@ -2740,6 +2738,9 @@ spec: items: type: object properties: + defaultMode: + type: integer + format: int32 name: type: string mountPath: @@ -2749,6 +2750,9 @@ spec: items: type: object properties: + defaultMode: + type: integer + format: int32 name: type: string mountPath: @@ -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: @@ -3381,11 +3383,9 @@ spec: properties: name: type: string - allowEmptyValue: false minLength: 1 mountPath: type: string - allowEmptyValue: false minLength: 1 secrets: type: array @@ -3395,11 +3395,9 @@ spec: properties: name: type: string - allowEmptyValue: false minLength: 1 mountPath: type: string - allowEmptyValue: false minLength: 1 hostFileVolumes: type: array @@ -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 diff --git a/hce-saas/hce-saas-crds.yaml b/hce-saas/hce-saas-crds.yaml index cb0c29a..7e2ea11 100644 --- a/hce-saas/hce-saas-crds.yaml +++ b/hce-saas/hce-saas-crds.yaml @@ -3444,11 +3444,9 @@ spec: key: type: string minLength: 1 - allowEmptyValue: false value: type: string minLength: 1 - allowEmptyValue: false experimentImage: type: string env: @@ -3571,6 +3569,9 @@ spec: items: type: object properties: + defaultMode: + type: integer + format: int32 name: type: string mountPath: @@ -3580,6 +3581,9 @@ spec: items: type: object properties: + defaultMode: + type: integer + format: int32 name: type: string mountPath: @@ -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: @@ -4212,11 +4214,9 @@ spec: properties: name: type: string - allowEmptyValue: false minLength: 1 mountPath: type: string - allowEmptyValue: false minLength: 1 secrets: type: array @@ -4226,11 +4226,9 @@ spec: properties: name: type: string - allowEmptyValue: false minLength: 1 mountPath: type: string - allowEmptyValue: false minLength: 1 hostFileVolumes: type: array @@ -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 diff --git a/hce-saas/hce-saas-litmus-crds.yaml b/hce-saas/hce-saas-litmus-crds.yaml index 45ac456..b697fa6 100644 --- a/hce-saas/hce-saas-litmus-crds.yaml +++ b/hce-saas/hce-saas-litmus-crds.yaml @@ -2613,11 +2613,9 @@ spec: key: type: string minLength: 1 - allowEmptyValue: false value: type: string minLength: 1 - allowEmptyValue: false experimentImage: type: string env: @@ -2740,6 +2738,9 @@ spec: items: type: object properties: + defaultMode: + type: integer + format: int32 name: type: string mountPath: @@ -2749,6 +2750,9 @@ spec: items: type: object properties: + defaultMode: + type: integer + format: int32 name: type: string mountPath: @@ -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: @@ -3381,11 +3383,9 @@ spec: properties: name: type: string - allowEmptyValue: false minLength: 1 mountPath: type: string - allowEmptyValue: false minLength: 1 secrets: type: array @@ -3395,11 +3395,9 @@ spec: properties: name: type: string - allowEmptyValue: false minLength: 1 mountPath: type: string - allowEmptyValue: false minLength: 1 hostFileVolumes: type: array @@ -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