(enhancement)charts: add standard kubernetes labels to experiments (#346)
Signed-off-by: ksatchit <karthik.s@mayadata.io>
This commit is contained in:
committed by
GitHub
parent
59a9726e7f
commit
f765b7438c
@@ -70,3 +70,4 @@ spec:
|
||||
|
||||
labels:
|
||||
name: openebs-control-plane-chaos
|
||||
app.kubernetes.io/part-of: litmus
|
||||
|
@@ -6,6 +6,7 @@ metadata:
|
||||
namespace: openebs
|
||||
labels:
|
||||
name: control-plane-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
@@ -14,6 +15,7 @@ metadata:
|
||||
namespace: openebs
|
||||
labels:
|
||||
name: control-plane-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
rules:
|
||||
- apiGroups: ["","litmuschaos.io","batch","apps"]
|
||||
resources: ["pods","deployments","pods/log","events","jobs","configmaps","chaosengines","chaosexperiments","chaosresults"]
|
||||
@@ -29,6 +31,7 @@ metadata:
|
||||
namespace: openebs
|
||||
labels:
|
||||
name: control-plane-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
|
@@ -88,6 +88,7 @@ spec:
|
||||
|
||||
labels:
|
||||
name: openebs-nfs-provisioner-kill
|
||||
app.kubernetes.io/part-of: litmus
|
||||
configmaps:
|
||||
- name: openebs-nfs-provisioner-kill
|
||||
mountPath: /mnt/
|
||||
|
@@ -6,6 +6,7 @@ metadata:
|
||||
namespace: default
|
||||
labels:
|
||||
name: nfs-chaos-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
@@ -13,6 +14,7 @@ metadata:
|
||||
name: nfs-chaos-sa
|
||||
labels:
|
||||
name: nfs-chaos-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
rules:
|
||||
- apiGroups: ["","apps","litmuschaos.io","batch","extensions","storage.k8s.io"]
|
||||
resources: ["pods","pods/exec","pods/log", "deployments","events","jobs","configmaps","services","persistentvolumeclaims","storageclasses","persistentvolumes","chaosexperiments","chaosresults","chaosengines"]
|
||||
@@ -24,6 +26,7 @@ metadata:
|
||||
name: nfs-chaos-sa
|
||||
labels:
|
||||
name: nfs-chaos-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
|
@@ -85,6 +85,7 @@ spec:
|
||||
|
||||
labels:
|
||||
name: openebs-pool-container-failure
|
||||
app.kubernetes.io/part-of: litmus
|
||||
#configmaps:
|
||||
#- name: openebs-pool-container-failure
|
||||
# mountPath: /mnt
|
||||
|
@@ -6,6 +6,7 @@ metadata:
|
||||
namespace: default
|
||||
labels:
|
||||
name: pool-container-failure-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
---
|
||||
# Source: openebs/templates/clusterrole.yaml
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
@@ -14,6 +15,7 @@ metadata:
|
||||
name: pool-container-failure-sa
|
||||
labels:
|
||||
name: pool-container-failure-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
rules:
|
||||
- apiGroups: ["","apps","litmuschaos.io","batch","extensions","storage.k8s.io","openebs.io"]
|
||||
resources: ["pods","jobs","events","pods/log","replicasets","pods/exec","configmaps","secrets","persistentvolumeclaims","cstorvolumereplicas","chaosexperiments","chaosresults","chaosengines"]
|
||||
@@ -25,6 +27,7 @@ metadata:
|
||||
name: pool-container-failure-sa
|
||||
labels:
|
||||
name: pool-container-failure-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
@@ -32,4 +35,4 @@ roleRef:
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: pool-container-failure-sa
|
||||
namespace: default
|
||||
namespace: default
|
||||
|
@@ -94,6 +94,7 @@ spec:
|
||||
|
||||
labels:
|
||||
name: openebs-pool-disk-loss
|
||||
app.kubernetes.io/part-of: litmus
|
||||
|
||||
configmaps:
|
||||
- name: openebs-pool-disk-loss
|
||||
|
@@ -6,6 +6,7 @@ metadata:
|
||||
namespace: default
|
||||
labels:
|
||||
name: pool-disk-loss-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
---
|
||||
# Source: openebs/templates/clusterrole.yaml
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
@@ -14,6 +15,7 @@ metadata:
|
||||
name: pool-disk-loss-sa
|
||||
labels:
|
||||
name: pool-disk-loss-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
rules:
|
||||
- apiGroups: ["","apps","litmuschaos.io","batch","extensions","storage.k8s.io","openebs.io"]
|
||||
resources: ["pods", "pods/log", "jobs", "events", "pods/exec", "cstorpools", "configmaps", "secrets", "storageclasses", "persistentvolumes", "persistentvolumeclaims", "cstorvolumereplicas", "chaosexperiments", "chaosresults", "chaosengines"]
|
||||
@@ -25,6 +27,7 @@ metadata:
|
||||
name: pool-disk-loss-sa
|
||||
labels:
|
||||
name: pool-disk-loss-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
@@ -32,4 +35,4 @@ roleRef:
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: pool-disk-loss-sa
|
||||
namespace: default
|
||||
namespace: default
|
||||
|
@@ -84,3 +84,4 @@ spec:
|
||||
|
||||
labels:
|
||||
name: openebs-pool-network-delay
|
||||
app.kubernetes.io/part-of: litmus
|
||||
|
@@ -83,3 +83,4 @@ spec:
|
||||
|
||||
labels:
|
||||
name: openebs-pool-network-loss
|
||||
app.kubernetes.io/part-of: litmus
|
||||
|
@@ -84,6 +84,7 @@ spec:
|
||||
|
||||
labels:
|
||||
name: openebs-pool-pod-failure
|
||||
app.kubernetes.io/part-of: litmus
|
||||
#configmaps:
|
||||
#- name: openebs-pool-pod-failure
|
||||
# mountPath: /mnt
|
||||
|
@@ -101,6 +101,7 @@ spec:
|
||||
|
||||
labels:
|
||||
name: openebs-target-container-failure
|
||||
app.kubernetes.io/part-of: litmus
|
||||
#configmaps:
|
||||
#- name: openebs-target-container-failure
|
||||
# mountPath: /mnt
|
||||
|
@@ -6,6 +6,7 @@ metadata:
|
||||
namespace: default
|
||||
labels:
|
||||
name: target-container-failure-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
---
|
||||
# Source: openebs/templates/clusterrole.yaml
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
@@ -14,6 +15,7 @@ metadata:
|
||||
name: target-container-failure-sa
|
||||
labels:
|
||||
name: target-container-failure-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
rules:
|
||||
- apiGroups: ["","litmuschaos.io","batch","apps","storage.k8s.io"]
|
||||
resources: ["pods","jobs","pods/log","pods/exec","events","configmaps","secrets","persistentvolumeclaims","storageclasses","persistentvolumes","chaosengines","chaosexperiments","chaosresults"]
|
||||
@@ -25,6 +27,7 @@ metadata:
|
||||
name: target-container-failure-sa
|
||||
labels:
|
||||
name: target-container-failure-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
|
@@ -82,6 +82,7 @@ spec:
|
||||
|
||||
labels:
|
||||
name: openebs-target-network-delay
|
||||
app.kubernetes.io/part-of: litmus
|
||||
#configmaps:
|
||||
#- name: openebs-target-network-delay
|
||||
# mountPath: /mnt
|
||||
|
@@ -6,6 +6,7 @@ metadata:
|
||||
namespace: default
|
||||
labels:
|
||||
name: target-network-delay-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
---
|
||||
# Source: openebs/templates/clusterrole.yaml
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
@@ -14,6 +15,7 @@ metadata:
|
||||
name: target-network-delay-sa
|
||||
labels:
|
||||
name: target-network-delay-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
rules:
|
||||
- apiGroups: ["","apps","litmuschaos.io","batch","extensions","storage.k8s.io"]
|
||||
resources: ["pods","pods/exec","pods/log","events","jobs","configmaps","secrets","services","persistentvolumeclaims","storageclasses","persistentvolumes","chaosexperiments","chaosresults","chaosengines"]
|
||||
@@ -25,6 +27,7 @@ metadata:
|
||||
name: target-network-delay-sa
|
||||
labels:
|
||||
name: target-network-delay-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
|
@@ -82,6 +82,7 @@ spec:
|
||||
|
||||
labels:
|
||||
name: openebs-target-network-loss
|
||||
app.kubernetes.io/part-of: litmus
|
||||
#configmaps:
|
||||
#- name: openebs-target-network-loss
|
||||
# mountPath: /mnt
|
||||
|
@@ -6,6 +6,7 @@ metadata:
|
||||
namespace: default
|
||||
labels:
|
||||
name: target-network-loss-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
---
|
||||
# Source: openebs/templates/clusterrole.yaml
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
@@ -14,6 +15,7 @@ metadata:
|
||||
name: target-network-loss-sa
|
||||
labels:
|
||||
name: target-network-loss-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
rules:
|
||||
- apiGroups: ["","apps","litmuschaos.io","batch","extensions","storage.k8s.io"]
|
||||
resources: ["pods","pods/exec","pods/log","events","jobs","configmaps","secrets","services","persistentvolumeclaims","storageclasses","persistentvolumes","chaosexperiments","chaosresults","chaosengines"]
|
||||
@@ -25,6 +27,7 @@ metadata:
|
||||
name: target-network-loss-sa
|
||||
labels:
|
||||
name: target-network-loss-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
|
@@ -93,6 +93,7 @@ spec:
|
||||
|
||||
labels:
|
||||
name: openebs-target-pod-failure
|
||||
app.kubernetes.io/part-of: litmus
|
||||
#configmaps:
|
||||
#- name: openebs-target-pod-failure
|
||||
# mountPath: /mnt
|
||||
|
@@ -6,6 +6,7 @@ metadata:
|
||||
namespace: default
|
||||
labels:
|
||||
name: target-pod-failure-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
---
|
||||
# Source: openebs/templates/clusterrole.yaml
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
@@ -14,6 +15,7 @@ metadata:
|
||||
name: target-pod-failure-sa
|
||||
labels:
|
||||
name: target-pod-failure-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
rules:
|
||||
- apiGroups: ["","apps","litmuschaos.io","batch","extensions","storage.k8s.io"]
|
||||
resources: ["pods","jobs","pods/log","deployments","pods/exec","events","chaosexperiments","chaosresults","chaosengines","configmaps","secrets","services","persistentvolumeclaims","storageclasses","persistentvolumes"]
|
||||
@@ -28,6 +30,7 @@ metadata:
|
||||
name: target-pod-failure-sa
|
||||
labels:
|
||||
name: target-pod-failure-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
|
Reference in New Issue
Block a user