(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
@@ -71,3 +71,4 @@ spec:
|
||||
|
||||
labels:
|
||||
name: node-cpu-hog
|
||||
app.kubernetes.io/part-of: litmus
|
||||
|
@@ -6,6 +6,7 @@ metadata:
|
||||
namespace: default
|
||||
labels:
|
||||
name: node-cpu-hog-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
@@ -13,6 +14,7 @@ metadata:
|
||||
name: node-cpu-hog-sa
|
||||
labels:
|
||||
name: node-cpu-hog-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
rules:
|
||||
- apiGroups: ["","litmuschaos.io","batch","apps"]
|
||||
resources: ["pods","jobs","events","chaosengines","pods/log","chaosexperiments","chaosresults"]
|
||||
@@ -27,6 +29,7 @@ metadata:
|
||||
name: node-cpu-hog-sa
|
||||
labels:
|
||||
name: node-cpu-hog-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
|
@@ -72,3 +72,4 @@ spec:
|
||||
|
||||
labels:
|
||||
name: node-cpu-hog
|
||||
app.kubernetes.io/part-of: litmus
|
||||
|
@@ -6,6 +6,7 @@ metadata:
|
||||
namespace: default
|
||||
labels:
|
||||
name: node-cpu-hog-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
@@ -13,6 +14,7 @@ metadata:
|
||||
name: node-cpu-hog-sa
|
||||
labels:
|
||||
name: node-cpu-hog-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
rules:
|
||||
- apiGroups: ["","litmuschaos.io","batch","apps"]
|
||||
resources: ["pods","jobs","events","chaosengines","pods/log","chaosexperiments","chaosresults"]
|
||||
@@ -27,6 +29,7 @@ metadata:
|
||||
name: node-cpu-hog-sa
|
||||
labels:
|
||||
name: node-cpu-hog-sa
|
||||
app.kubernetes.io/part-of: litmus
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
|
Reference in New Issue
Block a user