Chore(ec2): Update rbac permission and add managed nodegroup (#425)

Signed-off-by: udit <udit@chaosnative.com>

Co-authored-by: udit <udit@chaosnative.com>
This commit is contained in:
Udit Gaurav
2021-03-15 19:51:21 +05:30
committed by GitHub
parent eedfedcd94
commit 6641a0897d
5 changed files with 12 additions and 7 deletions

View File

@@ -26,4 +26,8 @@ spec:
# provide the region name of the instace
- name: REGION
value: ''
value: ''
# enable it if the target instance is a part of self-managed nodegroup.
- name: MANAGED_NODEGROUP
value: 'disable'

View File

@@ -50,6 +50,10 @@ spec:
- name: RAMP_TIME
value: ''
# enable it if the target instance is a part of self-managed nodegroup.
- name: MANAGED_NODEGROUP
value: 'disable'
- name: EC2_INSTANCE_ID
value: ''

View File

@@ -28,6 +28,9 @@ rules:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["patch","get","list"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding