From b399190299cea9fbb4f97aebed79c9a00582319b Mon Sep 17 00:00:00 2001 From: Karthik Satchitanand Date: Sat, 15 Aug 2020 23:22:07 +0530 Subject: [PATCH] (chore)namespaced_operator: update namespaced operator to 1.7.0 (#1876) Signed-off-by: ksatchit --- .../litmus-namespaced-crds.yaml | 98 +++++++++++++++++-- .../litmus-namespaced-operator.yaml | 8 +- 2 files changed, 97 insertions(+), 9 deletions(-) diff --git a/docs/litmus-namespaced-scope/litmus-namespaced-crds.yaml b/docs/litmus-namespaced-scope/litmus-namespaced-crds.yaml index ac57a6c68..4abb66b1e 100644 --- a/docs/litmus-namespaced-scope/litmus-namespaced-crds.yaml +++ b/docs/litmus-namespaced-scope/litmus-namespaced-crds.yaml @@ -48,8 +48,8 @@ spec: type: string pattern: ^(deployment|statefulset|daemonset|deploymentconfig)$ applabel: - type: string pattern: ([a-z0-9A-Z_\.-/]+)=([a-z0-9A-Z_\.-/_]+) + type: string appns: type: string auxiliaryAppInfo: @@ -69,7 +69,7 @@ spec: type: string type: type: string - pattern: ^(go|ansible)$ + pattern: ^(go)$ runnerannotation: type: object additionalProperties: @@ -93,6 +93,94 @@ spec: spec: type: object properties: + k8sProbe: + type: array + items: + type: object + properties: + name: + type: string + inputs: + type: object + properties: + command: + type: object + properties: + group: + type: string + version: + type: string + resource: + type: string + namespace: + type: string + fieldSelector: + type: string + expectedResult: + type: string + runProperties: + type: object + properties: + probeTimeout: + type: integer + interval: + type: integer + retry: + type: integer + mode: + type: string + cmdProbe: + type: array + items: + type: object + properties: + name: + type: string + inputs: + type: object + properties: + command: + type: string + expectedResult: + type: string + source: + type: string + runProperties: + type: object + properties: + probeTimeout: + type: integer + interval: + type: integer + retry: + type: integer + mode: + type: string + httpProbe: + type: array + items: + type: object + properties: + name: + type: string + inputs: + type: object + properties: + url: + type: string + expectedResponseCode: + type: string + runProperties: + type: object + properties: + probeTimeout: + type: integer + interval: + type: integer + retry: + type: integer + mode: + type: string components: type: object properties: @@ -100,9 +188,9 @@ spec: type: object properties: delay: - type: int + type: integer timeout: - type: int + type: integer nodeSelector: type: object minLength: 1 @@ -121,7 +209,6 @@ spec: type: array items: type: object - minProperties: 2 properties: name: type: string @@ -131,7 +218,6 @@ spec: type: array items: type: object - minProperties: 2 properties: name: type: string diff --git a/docs/litmus-namespaced-scope/litmus-namespaced-operator.yaml b/docs/litmus-namespaced-scope/litmus-namespaced-operator.yaml index 7894f4005..a9a197a0f 100644 --- a/docs/litmus-namespaced-scope/litmus-namespaced-operator.yaml +++ b/docs/litmus-namespaced-scope/litmus-namespaced-operator.yaml @@ -52,15 +52,17 @@ spec: serviceAccountName: litmus containers: - name: chaos-operator - image: litmuschaos/chaos-operator:1.6.2 + image: litmuschaos/chaos-operator:1.7.0 command: - chaos-operator imagePullPolicy: Always env: - name: CHAOS_RUNNER_IMAGE - value: "litmuschaos/chaos-runner:1.6.2" + value: "litmuschaos/chaos-runner:1.7.0" - name: WATCH_NAMESPACE - value: "default" + valueFrom: + fieldRef: + fieldPath: metadata.namespace - name: POD_NAME valueFrom: fieldRef: