(enhancement)charts: add standard kubernetes labels to experiments (#346)

Signed-off-by: ksatchit <karthik.s@mayadata.io>
This commit is contained in:
Karthik Satchitanand
2020-10-09 14:04:38 +05:30
committed by GitHub
parent 59a9726e7f
commit f765b7438c
95 changed files with 196 additions and 9 deletions

View File

@@ -67,3 +67,4 @@ spec:
labels:
name: disk-fill
app.kubernetes.io/part-of: litmus

View File

@@ -6,6 +6,7 @@ metadata:
namespace: default
labels:
name: disk-fill-sa
app.kubernetes.io/part-of: litmus
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
@@ -13,6 +14,7 @@ metadata:
name: disk-fill-sa
labels:
name: disk-fill-sa
app.kubernetes.io/part-of: litmus
rules:
- apiGroups: ["","apps","litmuschaos.io","batch"]
resources: ["pods","jobs","pods/exec","events","pods/log","chaosengines","chaosexperiments","chaosresults"]
@@ -24,6 +26,7 @@ metadata:
name: disk-fill-sa
labels:
name: disk-fill-sa
app.kubernetes.io/part-of: litmus
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
@@ -31,4 +34,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: disk-fill-sa
namespace: default
namespace: default