1385287487: version upgraded for chaos-charts
This commit is contained in:
@@ -14,28 +14,34 @@ spec:
|
|||||||
definition:
|
definition:
|
||||||
scope: Cluster
|
scope: Cluster
|
||||||
permissions:
|
permissions:
|
||||||
- apiGroups:
|
# Create and monitor the experiment & helper pods
|
||||||
- ""
|
- apiGroups: [""]
|
||||||
- "batch"
|
resources: ["pods"]
|
||||||
- "litmuschaos.io"
|
verbs: ["create","delete","get","list","patch","update", "deletecollection"]
|
||||||
resources:
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- "jobs"
|
- apiGroups: [""]
|
||||||
- "pods"
|
resources: ["events"]
|
||||||
- "events"
|
verbs: ["create","get","list","patch","update"]
|
||||||
- "pods/log"
|
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
|
||||||
- "pods/exec"
|
- apiGroups: [""]
|
||||||
- "secrets"
|
resources: ["secrets","configmaps"]
|
||||||
- "configmaps"
|
verbs: ["get","list",]
|
||||||
- "chaosengines"
|
# Track and get the runner, experiment, and helper pods log
|
||||||
- "chaosexperiments"
|
- apiGroups: [""]
|
||||||
- "chaosresults"
|
resources: ["pods/log"]
|
||||||
verbs:
|
verbs: ["get","list","watch"]
|
||||||
- "create"
|
# for creating and managing to execute comands inside target container
|
||||||
- "list"
|
- apiGroups: [""]
|
||||||
- "get"
|
resources: ["pods/exec"]
|
||||||
- "patch"
|
verbs: ["get","list","create"]
|
||||||
- "update"
|
# for configuring and monitor the experiment job by the chaos-runner pod
|
||||||
- "delete"
|
- apiGroups: ["batch"]
|
||||||
|
resources: ["jobs"]
|
||||||
|
verbs: ["create","list","get","delete","deletecollection"]
|
||||||
|
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
|
||||||
|
- apiGroups: ["litmuschaos.io"]
|
||||||
|
resources: ["chaosengines","chaosexperiments","chaosresults"]
|
||||||
|
verbs: ["create","list","get","patch","update","delete"]
|
||||||
image: "litmuschaos/go-runner:ci"
|
image: "litmuschaos/go-runner:ci"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
@@ -139,28 +145,34 @@ spec:
|
|||||||
definition:
|
definition:
|
||||||
scope: Cluster
|
scope: Cluster
|
||||||
permissions:
|
permissions:
|
||||||
- apiGroups:
|
# Create and monitor the experiment & helper pods
|
||||||
- ""
|
- apiGroups: [""]
|
||||||
- "batch"
|
resources: ["pods"]
|
||||||
- "litmuschaos.io"
|
verbs: ["create","delete","get","list","patch","update", "deletecollection"]
|
||||||
resources:
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- "jobs"
|
- apiGroups: [""]
|
||||||
- "pods"
|
resources: ["events"]
|
||||||
- "events"
|
verbs: ["create","get","list","patch","update"]
|
||||||
- "pods/log"
|
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
|
||||||
- "pods/exec"
|
- apiGroups: [""]
|
||||||
- "secrets"
|
resources: ["secrets","configmaps"]
|
||||||
- "configmaps"
|
verbs: ["get","list",]
|
||||||
- "chaosengines"
|
# Track and get the runner, experiment, and helper pods log
|
||||||
- "chaosexperiments"
|
- apiGroups: [""]
|
||||||
- "chaosresults"
|
resources: ["pods/log"]
|
||||||
verbs:
|
verbs: ["get","list","watch"]
|
||||||
- "create"
|
# for creating and managing to execute comands inside target container
|
||||||
- "list"
|
- apiGroups: [""]
|
||||||
- "get"
|
resources: ["pods/exec"]
|
||||||
- "patch"
|
verbs: ["get","list","create"]
|
||||||
- "update"
|
# for configuring and monitor the experiment job by the chaos-runner pod
|
||||||
- "delete"
|
- apiGroups: ["batch"]
|
||||||
|
resources: ["jobs"]
|
||||||
|
verbs: ["create","list","get","delete","deletecollection"]
|
||||||
|
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
|
||||||
|
- apiGroups: ["litmuschaos.io"]
|
||||||
|
resources: ["chaosengines","chaosexperiments","chaosresults"]
|
||||||
|
verbs: ["create","list","get","patch","update","delete"]
|
||||||
image: "litmuschaos/go-runner:ci"
|
image: "litmuschaos/go-runner:ci"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
|
@@ -14,27 +14,34 @@ spec:
|
|||||||
definition:
|
definition:
|
||||||
scope: Cluster
|
scope: Cluster
|
||||||
permissions:
|
permissions:
|
||||||
- apiGroups:
|
# Create and monitor the experiment & helper pods
|
||||||
- ""
|
- apiGroups: [""]
|
||||||
- "batch"
|
resources: ["pods"]
|
||||||
- "litmuschaos.io"
|
verbs: ["create","delete","get","list","patch","update", "deletecollection"]
|
||||||
resources:
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- "jobs"
|
- apiGroups: [""]
|
||||||
- "pods"
|
resources: ["events"]
|
||||||
- "events"
|
verbs: ["create","get","list","patch","update"]
|
||||||
- "pods/log"
|
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
|
||||||
- "pods/exec"
|
- apiGroups: [""]
|
||||||
- "secrets"
|
resources: ["secrets","configmaps"]
|
||||||
- "chaosengines"
|
verbs: ["get","list",]
|
||||||
- "chaosexperiments"
|
# Track and get the runner, experiment, and helper pods log
|
||||||
- "chaosresults"
|
- apiGroups: [""]
|
||||||
verbs:
|
resources: ["pods/log"]
|
||||||
- "create"
|
verbs: ["get","list","watch"]
|
||||||
- "list"
|
# for creating and managing to execute comands inside target container
|
||||||
- "get"
|
- apiGroups: [""]
|
||||||
- "patch"
|
resources: ["pods/exec"]
|
||||||
- "update"
|
verbs: ["get","list","create"]
|
||||||
- "delete"
|
# for configuring and monitor the experiment job by the chaos-runner pod
|
||||||
|
- apiGroups: ["batch"]
|
||||||
|
resources: ["jobs"]
|
||||||
|
verbs: ["create","list","get","delete","deletecollection"]
|
||||||
|
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
|
||||||
|
- apiGroups: ["litmuschaos.io"]
|
||||||
|
resources: ["chaosengines","chaosexperiments","chaosresults"]
|
||||||
|
verbs: ["create","list","get","patch","update","delete"]
|
||||||
image: "litmuschaos/go-runner:ci"
|
image: "litmuschaos/go-runner:ci"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
@@ -105,31 +112,34 @@ spec:
|
|||||||
definition:
|
definition:
|
||||||
scope: Cluster
|
scope: Cluster
|
||||||
permissions:
|
permissions:
|
||||||
- apiGroups:
|
# Create and monitor the experiment & helper pods
|
||||||
- ""
|
- apiGroups: [""]
|
||||||
- "batch"
|
resources: ["pods"]
|
||||||
- "apps"
|
verbs: ["create","delete","get","list","patch","update", "deletecollection"]
|
||||||
- "litmuschaos.io"
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
resources:
|
- apiGroups: [""]
|
||||||
- "jobs"
|
resources: ["events"]
|
||||||
- "pods"
|
verbs: ["create","get","list","patch","update"]
|
||||||
- "pods/log"
|
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
|
||||||
- "events"
|
- apiGroups: [""]
|
||||||
- "deployments"
|
resources: ["secrets","configmaps"]
|
||||||
- "replicasets"
|
verbs: ["get","list",]
|
||||||
- "pods/exec"
|
# Track and get the runner, experiment, and helper pods log
|
||||||
- "chaosengines"
|
- apiGroups: [""]
|
||||||
- "chaosexperiments"
|
resources: ["pods/log"]
|
||||||
- "chaosresults"
|
verbs: ["get","list","watch"]
|
||||||
- "secrets"
|
# for creating and managing to execute comands inside target container
|
||||||
verbs:
|
- apiGroups: [""]
|
||||||
- "create"
|
resources: ["pods/exec"]
|
||||||
- "list"
|
verbs: ["get","list","create"]
|
||||||
- "get"
|
# for configuring and monitor the experiment job by the chaos-runner pod
|
||||||
- "patch"
|
- apiGroups: ["batch"]
|
||||||
- "update"
|
resources: ["jobs"]
|
||||||
- "delete"
|
verbs: ["create","list","get","delete","deletecollection"]
|
||||||
- "deletecollection"
|
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
|
||||||
|
- apiGroups: ["litmuschaos.io"]
|
||||||
|
resources: ["chaosengines","chaosexperiments","chaosresults"]
|
||||||
|
verbs: ["create","list","get","patch","update","delete"]
|
||||||
image: "litmuschaos/go-runner:latest"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
|
@@ -14,31 +14,42 @@ spec:
|
|||||||
definition:
|
definition:
|
||||||
scope: Namespaced
|
scope: Namespaced
|
||||||
permissions:
|
permissions:
|
||||||
- apiGroups:
|
# Create and monitor the experiment & helper pods
|
||||||
- ""
|
- apiGroups: [""]
|
||||||
- "apps"
|
resources: ["pods"]
|
||||||
- "batch"
|
verbs: ["create","delete","get","list","patch","update", "deletecollection"]
|
||||||
- "litmuschaos.io"
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
resources:
|
- apiGroups: [""]
|
||||||
- "deployments"
|
resources: ["events"]
|
||||||
- "statefulsets"
|
verbs: ["create","get","list","patch","update"]
|
||||||
- "jobs"
|
# Create and manage the liveness and target application services
|
||||||
- "pods"
|
- apiGroups: [""]
|
||||||
- "pods/log"
|
resources: ["services"]
|
||||||
- "pods/exec"
|
verbs: ["create","delete","get","list", "deletecollection"]
|
||||||
- "services"
|
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
|
||||||
- "events"
|
- apiGroups: [""]
|
||||||
- "chaosengines"
|
resources: ["secrets","configmaps"]
|
||||||
- "chaosexperiments"
|
verbs: ["get","list",]
|
||||||
- "chaosresults"
|
# Track and get the runner, experiment, and helper pods log
|
||||||
verbs:
|
- apiGroups: [""]
|
||||||
- "create"
|
resources: ["pods/log"]
|
||||||
- "list"
|
verbs: ["get","list","watch"]
|
||||||
- "get"
|
# for creating and managing to execute comands inside target container
|
||||||
- "patch"
|
- apiGroups: [""]
|
||||||
- "update"
|
resources: ["pods/exec"]
|
||||||
- "delete"
|
verbs: ["get","list","create"]
|
||||||
- "deletecollection"
|
# for deriving the parent/owner details of the pod
|
||||||
|
- apiGroups: ["apps"]
|
||||||
|
resources: ["deployments","statefulsets"]
|
||||||
|
verbs: ["list","get"]
|
||||||
|
# for configuring and monitor the experiment job by the chaos-runner pod
|
||||||
|
- apiGroups: ["batch"]
|
||||||
|
resources: ["jobs"]
|
||||||
|
verbs: ["create","list","get","delete","deletecollection"]
|
||||||
|
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
|
||||||
|
- apiGroups: ["litmuschaos.io"]
|
||||||
|
resources: ["chaosengines","chaosexperiments","chaosresults"]
|
||||||
|
verbs: ["create","list","get","patch","update","delete"]
|
||||||
image: "litmuschaos/go-runner:latest"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
|
@@ -14,28 +14,34 @@ spec:
|
|||||||
definition:
|
definition:
|
||||||
scope: Cluster
|
scope: Cluster
|
||||||
permissions:
|
permissions:
|
||||||
- apiGroups:
|
# Create and monitor the experiment & helper pods
|
||||||
- ""
|
- apiGroups: [""]
|
||||||
- "batch"
|
resources: ["pods"]
|
||||||
- "litmuschaos.io"
|
verbs: ["create","delete","get","list","patch","update", "deletecollection"]
|
||||||
resources:
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- "jobs"
|
- apiGroups: [""]
|
||||||
- "pods"
|
resources: ["events"]
|
||||||
- "pods/log"
|
verbs: ["create","get","list","patch","update"]
|
||||||
- "events"
|
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
|
||||||
- "secrets"
|
- apiGroups: [""]
|
||||||
- "pods/exec"
|
resources: ["secrets","configmaps"]
|
||||||
- "chaosengines"
|
verbs: ["get","list",]
|
||||||
- "chaosexperiments"
|
# Track and get the runner, experiment, and helper pods log
|
||||||
- "chaosresults"
|
- apiGroups: [""]
|
||||||
verbs:
|
resources: ["pods/log"]
|
||||||
- "create"
|
verbs: ["get","list","watch"]
|
||||||
- "list"
|
# for creating and managing to execute comands inside target container
|
||||||
- "get"
|
- apiGroups: [""]
|
||||||
- "patch"
|
resources: ["pods/exec"]
|
||||||
- "update"
|
verbs: ["get","list","create"]
|
||||||
- "delete"
|
# for configuring and monitor the experiment job by the chaos-runner pod
|
||||||
- "deletecollection"
|
- apiGroups: ["batch"]
|
||||||
|
resources: ["jobs"]
|
||||||
|
verbs: ["create","list","get","delete","deletecollection"]
|
||||||
|
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
|
||||||
|
- apiGroups: ["litmuschaos.io"]
|
||||||
|
resources: ["chaosengines","chaosexperiments","chaosresults"]
|
||||||
|
verbs: ["create","list","get","patch","update","delete"]
|
||||||
image: "litmuschaos/go-runner:ci"
|
image: "litmuschaos/go-runner:ci"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
@@ -109,29 +115,38 @@ spec:
|
|||||||
definition:
|
definition:
|
||||||
scope: Cluster
|
scope: Cluster
|
||||||
permissions:
|
permissions:
|
||||||
- apiGroups:
|
# Create and monitor the experiment & helper pods
|
||||||
- ""
|
- apiGroups: [""]
|
||||||
- "batch"
|
resources: ["pods"]
|
||||||
- "litmuschaos.io"
|
verbs: ["create","delete","get","list","patch","update", "deletecollection"]
|
||||||
resources:
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- "jobs"
|
- apiGroups: [""]
|
||||||
- "pods"
|
resources: ["events"]
|
||||||
- "pods/log"
|
verbs: ["create","get","list","patch","update"]
|
||||||
- "events"
|
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
|
||||||
- "secrets"
|
- apiGroups: [""]
|
||||||
- "pods/exec"
|
resources: ["secrets","configmaps"]
|
||||||
- "chaosengines"
|
verbs: ["get","list",]
|
||||||
- "chaosexperiments"
|
# Track and get the runner, experiment, and helper pods log
|
||||||
- "chaosresults"
|
- apiGroups: [""]
|
||||||
- "nodes"
|
resources: ["pods/log"]
|
||||||
verbs:
|
verbs: ["get","list","watch"]
|
||||||
- "create"
|
# for creating and managing to execute comands inside target container
|
||||||
- "list"
|
- apiGroups: [""]
|
||||||
- "get"
|
resources: ["pods/exec"]
|
||||||
- "patch"
|
verbs: ["get","list","create"]
|
||||||
- "update"
|
# for configuring and monitor the experiment job by the chaos-runner pod
|
||||||
- "delete"
|
- apiGroups: ["batch"]
|
||||||
- "deletecollection"
|
resources: ["jobs"]
|
||||||
|
verbs: ["create","list","get","delete","deletecollection"]
|
||||||
|
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
|
||||||
|
- apiGroups: ["litmuschaos.io"]
|
||||||
|
resources: ["chaosengines","chaosexperiments","chaosresults"]
|
||||||
|
verbs: ["create","list","get","patch","update","delete"]
|
||||||
|
# for experiment to perform node status checks
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["nodes"]
|
||||||
|
verbs: ["get","list"]
|
||||||
image: "litmuschaos/go-runner:ci"
|
image: "litmuschaos/go-runner:ci"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -134,38 +134,38 @@ spec:
|
|||||||
definition:
|
definition:
|
||||||
scope: Cluster
|
scope: Cluster
|
||||||
permissions:
|
permissions:
|
||||||
- apiGroups:
|
# Create and monitor the experiment & helper pods
|
||||||
- ""
|
- apiGroups: [""]
|
||||||
- "apps"
|
resources: ["pods"]
|
||||||
- "batch"
|
verbs: ["create","delete","get","list","patch","update", "deletecollection"]
|
||||||
- "litmuschaos.io"
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
resources:
|
- apiGroups: [""]
|
||||||
- "statefulsets"
|
resources: ["events"]
|
||||||
- "deployments"
|
verbs: ["create","get","list","patch","update"]
|
||||||
- "events"
|
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
|
||||||
- "pods/log"
|
- apiGroups: [""]
|
||||||
- "configmaps"
|
resources: ["secrets","configmaps"]
|
||||||
- "jobs"
|
verbs: ["get","list",]
|
||||||
- "pods"
|
# Track and get the runner, experiment, and helper pods log
|
||||||
- "pods/exec"
|
- apiGroups: [""]
|
||||||
- "chaosengines"
|
resources: ["pods/log"]
|
||||||
- "chaosexperiments"
|
verbs: ["get","list","watch"]
|
||||||
- "chaosresults"
|
# for creating and managing to execute comands inside target container
|
||||||
verbs:
|
- apiGroups: [""]
|
||||||
- "create"
|
resources: ["pods/exec"]
|
||||||
- "get"
|
verbs: ["get","list","create"]
|
||||||
- "delete"
|
# for deriving the parent/owner details of the pod
|
||||||
- "list"
|
- apiGroups: ["apps"]
|
||||||
- "update"
|
resources: ["deployments","statefulsets"]
|
||||||
- "patch"
|
verbs: ["list","get"]
|
||||||
- "deletecollection"
|
# for configuring and monitor the experiment job by the chaos-runner pod
|
||||||
- apiGroups:
|
- apiGroups: ["batch"]
|
||||||
- ""
|
resources: ["jobs"]
|
||||||
resources:
|
verbs: ["create","list","get","delete","deletecollection"]
|
||||||
- "nodes"
|
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
|
||||||
verbs:
|
- apiGroups: ["litmuschaos.io"]
|
||||||
- "get"
|
resources: ["chaosengines","chaosexperiments","chaosresults"]
|
||||||
- "list"
|
verbs: ["create","list","get","patch","update","delete"]
|
||||||
image: "litmuschaos/go-runner:latest"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
|
@@ -14,27 +14,38 @@ spec:
|
|||||||
definition:
|
definition:
|
||||||
scope: Cluster
|
scope: Cluster
|
||||||
permissions:
|
permissions:
|
||||||
- apiGroups:
|
# Create and monitor the experiment & helper pods
|
||||||
- ""
|
- apiGroups: [""]
|
||||||
- "batch"
|
resources: ["pods"]
|
||||||
- "litmuschaos.io"
|
verbs: ["create","delete","get","list","patch","update", "deletecollection"]
|
||||||
resources:
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- "jobs"
|
- apiGroups: [""]
|
||||||
- "pods"
|
resources: ["events"]
|
||||||
- "events"
|
verbs: ["create","get","list","patch","update"]
|
||||||
- "pods/log"
|
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
|
||||||
- "pods/exec"
|
- apiGroups: [""]
|
||||||
- "secrets"
|
resources: ["secrets","configmaps"]
|
||||||
- "chaosengines"
|
verbs: ["get","list",]
|
||||||
- "chaosexperiments"
|
# Track and get the runner, experiment, and helper pods log
|
||||||
- "chaosresults"
|
- apiGroups: [""]
|
||||||
verbs:
|
resources: ["pods/log"]
|
||||||
- "create"
|
verbs: ["get","list","watch"]
|
||||||
- "list"
|
# for creating and managing to execute comands inside target container
|
||||||
- "get"
|
- apiGroups: [""]
|
||||||
- "patch"
|
resources: ["pods/exec"]
|
||||||
- "update"
|
verbs: ["get","list","create"]
|
||||||
- "delete"
|
# for configuring and monitor the experiment job by the chaos-runner pod
|
||||||
|
- apiGroups: ["batch"]
|
||||||
|
resources: ["jobs"]
|
||||||
|
verbs: ["create","list","get","delete","deletecollection"]
|
||||||
|
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
|
||||||
|
- apiGroups: ["litmuschaos.io"]
|
||||||
|
resources: ["chaosengines","chaosexperiments","chaosresults"]
|
||||||
|
verbs: ["create","list","get","patch","update","delete"]
|
||||||
|
# for experiment to perform node status checks
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["nodes"]
|
||||||
|
verbs: ["get","list"]
|
||||||
image: "litmuschaos/go-runner:latest"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
@@ -105,27 +116,38 @@ spec:
|
|||||||
definition:
|
definition:
|
||||||
scope: Cluster
|
scope: Cluster
|
||||||
permissions:
|
permissions:
|
||||||
- apiGroups:
|
# Create and monitor the experiment & helper pods
|
||||||
- ""
|
- apiGroups: [""]
|
||||||
- "batch"
|
resources: ["pods"]
|
||||||
- "litmuschaos.io"
|
verbs: ["create","delete","get","list","patch","update", "deletecollection"]
|
||||||
resources:
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- "jobs"
|
- apiGroups: [""]
|
||||||
- "pods"
|
resources: ["events"]
|
||||||
- "events"
|
verbs: ["create","get","list","patch","update"]
|
||||||
- "pods/log"
|
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
|
||||||
- "pods/exec"
|
- apiGroups: [""]
|
||||||
- "secrets"
|
resources: ["secrets","configmaps"]
|
||||||
- "chaosengines"
|
verbs: ["get","list",]
|
||||||
- "chaosexperiments"
|
# Track and get the runner, experiment, and helper pods log
|
||||||
- "chaosresults"
|
- apiGroups: [""]
|
||||||
verbs:
|
resources: ["pods/log"]
|
||||||
- "create"
|
verbs: ["get","list","watch"]
|
||||||
- "list"
|
# for creating and managing to execute comands inside target container
|
||||||
- "get"
|
- apiGroups: [""]
|
||||||
- "patch"
|
resources: ["pods/exec"]
|
||||||
- "update"
|
verbs: ["get","list","create"]
|
||||||
- "delete"
|
# for configuring and monitor the experiment job by the chaos-runner pod
|
||||||
|
- apiGroups: ["batch"]
|
||||||
|
resources: ["jobs"]
|
||||||
|
verbs: ["create","list","get","delete","deletecollection"]
|
||||||
|
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
|
||||||
|
- apiGroups: ["litmuschaos.io"]
|
||||||
|
resources: ["chaosengines","chaosexperiments","chaosresults"]
|
||||||
|
verbs: ["create","list","get","patch","update","delete"]
|
||||||
|
# for experiment to perform node status checks
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["nodes"]
|
||||||
|
verbs: ["get","list"]
|
||||||
image: "litmuschaos/go-runner:latest"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
@@ -194,27 +216,34 @@ spec:
|
|||||||
definition:
|
definition:
|
||||||
scope: Cluster
|
scope: Cluster
|
||||||
permissions:
|
permissions:
|
||||||
- apiGroups:
|
# Create and monitor the experiment & helper pods
|
||||||
- ""
|
- apiGroups: [""]
|
||||||
- "batch"
|
resources: ["pods"]
|
||||||
- "litmuschaos.io"
|
verbs: ["create","delete","get","list","patch","update", "deletecollection"]
|
||||||
resources:
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- "jobs"
|
- apiGroups: [""]
|
||||||
- "pods"
|
resources: ["events"]
|
||||||
- "events"
|
verbs: ["create","get","list","patch","update"]
|
||||||
- "pods/log"
|
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
|
||||||
- "pods/exec"
|
- apiGroups: [""]
|
||||||
- "secrets"
|
resources: ["secrets","configmaps"]
|
||||||
- "chaosengines"
|
verbs: ["get","list",]
|
||||||
- "chaosexperiments"
|
# Track and get the runner, experiment, and helper pods log
|
||||||
- "chaosresults"
|
- apiGroups: [""]
|
||||||
verbs:
|
resources: ["pods/log"]
|
||||||
- "create"
|
verbs: ["get","list","watch"]
|
||||||
- "list"
|
# for creating and managing to execute comands inside target container
|
||||||
- "get"
|
- apiGroups: [""]
|
||||||
- "patch"
|
resources: ["pods/exec"]
|
||||||
- "update"
|
verbs: ["get","list","create"]
|
||||||
- "delete"
|
# for configuring and monitor the experiment job by the chaos-runner pod
|
||||||
|
- apiGroups: ["batch"]
|
||||||
|
resources: ["jobs"]
|
||||||
|
verbs: ["create","list","get","delete","deletecollection"]
|
||||||
|
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
|
||||||
|
- apiGroups: ["litmuschaos.io"]
|
||||||
|
resources: ["chaosengines","chaosexperiments","chaosresults"]
|
||||||
|
verbs: ["create","list","get","patch","update","delete"]
|
||||||
image: "litmuschaos/go-runner:latest"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
@@ -277,27 +306,34 @@ spec:
|
|||||||
definition:
|
definition:
|
||||||
scope: Cluster
|
scope: Cluster
|
||||||
permissions:
|
permissions:
|
||||||
- apiGroups:
|
# Create and monitor the experiment & helper pods
|
||||||
- ""
|
- apiGroups: [""]
|
||||||
- "batch"
|
resources: ["pods"]
|
||||||
- "litmuschaos.io"
|
verbs: ["create","delete","get","list","patch","update", "deletecollection"]
|
||||||
resources:
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- "jobs"
|
- apiGroups: [""]
|
||||||
- "pods"
|
resources: ["events"]
|
||||||
- "events"
|
verbs: ["create","get","list","patch","update"]
|
||||||
- "pods/log"
|
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
|
||||||
- "pods/exec"
|
- apiGroups: [""]
|
||||||
- "secrets"
|
resources: ["secrets","configmaps"]
|
||||||
- "chaosengines"
|
verbs: ["get","list",]
|
||||||
- "chaosexperiments"
|
# Track and get the runner, experiment, and helper pods log
|
||||||
- "chaosresults"
|
- apiGroups: [""]
|
||||||
verbs:
|
resources: ["pods/log"]
|
||||||
- "create"
|
verbs: ["get","list","watch"]
|
||||||
- "list"
|
# for creating and managing to execute comands inside target container
|
||||||
- "get"
|
- apiGroups: [""]
|
||||||
- "patch"
|
resources: ["pods/exec"]
|
||||||
- "update"
|
verbs: ["get","list","create"]
|
||||||
- "delete"
|
# for configuring and monitor the experiment job by the chaos-runner pod
|
||||||
|
- apiGroups: ["batch"]
|
||||||
|
resources: ["jobs"]
|
||||||
|
verbs: ["create","list","get","delete","deletecollection"]
|
||||||
|
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
|
||||||
|
- apiGroups: ["litmuschaos.io"]
|
||||||
|
resources: ["chaosengines","chaosexperiments","chaosresults"]
|
||||||
|
verbs: ["create","list","get","patch","update","delete"]
|
||||||
image: "litmuschaos/go-runner:latest"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
|
@@ -14,27 +14,34 @@ spec:
|
|||||||
definition:
|
definition:
|
||||||
scope: Cluster
|
scope: Cluster
|
||||||
permissions:
|
permissions:
|
||||||
- apiGroups:
|
# Create and monitor the experiment & helper pods
|
||||||
- ""
|
- apiGroups: [""]
|
||||||
- "batch"
|
resources: ["pods"]
|
||||||
- "litmuschaos.io"
|
verbs: ["create","delete","get","list","patch","update", "deletecollection"]
|
||||||
resources:
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- "jobs"
|
- apiGroups: [""]
|
||||||
- "events"
|
resources: ["events"]
|
||||||
- "pods/log"
|
verbs: ["create","get","list","patch","update"]
|
||||||
- "pods/exec"
|
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
|
||||||
- "secrets"
|
- apiGroups: [""]
|
||||||
- "pods"
|
resources: ["secrets","configmaps"]
|
||||||
- "chaosengines"
|
verbs: ["get","list",]
|
||||||
- "chaosexperiments"
|
# Track and get the runner, experiment, and helper pods log
|
||||||
- "chaosresults"
|
- apiGroups: [""]
|
||||||
verbs:
|
resources: ["pods/log"]
|
||||||
- "create"
|
verbs: ["get","list","watch"]
|
||||||
- "list"
|
# for creating and managing to execute comands inside target container
|
||||||
- "get"
|
- apiGroups: [""]
|
||||||
- "update"
|
resources: ["pods/exec"]
|
||||||
- "patch"
|
verbs: ["get","list","create"]
|
||||||
- "delete"
|
# for configuring and monitor the experiment job by the chaos-runner pod
|
||||||
|
- apiGroups: ["batch"]
|
||||||
|
resources: ["jobs"]
|
||||||
|
verbs: ["create","list","get","delete","deletecollection"]
|
||||||
|
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
|
||||||
|
- apiGroups: ["litmuschaos.io"]
|
||||||
|
resources: ["chaosengines","chaosexperiments","chaosresults"]
|
||||||
|
verbs: ["create","list","get","patch","update","delete"]
|
||||||
image: "litmuschaos/go-runner:latest"
|
image: "litmuschaos/go-runner:latest"
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
|
Reference in New Issue
Block a user