Skip to content

Commit b488419

Browse files
author
Vinay Devadiga
committed
feat(rolling-update): add hyperpod-patching subchart with RBAC for pod eviction
1 parent 84963ab commit b488419

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v2
2+
name: hyperpod-patching
3+
description: A subchart for RBAC used by HyperPod patching workflows
4+
version: 0.1.0
5+
appVersion: "1.0"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
name: hyperpod-patching
5+
rules:
6+
- apiGroups: [""]
7+
resources: ["pods"]
8+
verbs: ["list"]
9+
- apiGroups: [""]
10+
resources: ["pods/eviction"]
11+
verbs: ["create"]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRoleBinding
3+
metadata:
4+
name: hyperpod-patching
5+
subjects:
6+
- kind: User
7+
name: hyperpod-service-linked-role
8+
apiGroup: rbac.authorization.k8s.io
9+
roleRef:
10+
kind: ClusterRole
11+
name: hyperpod-patching
12+
apiGroup: rbac.authorization.k8s.io

helm_chart/HyperPodHelmChart/charts/hyperpod-patching/values.yaml

Whitespace-only changes.

0 commit comments

Comments
 (0)