Skip to content

Commit

Permalink
Merge pull request #1172 from uniemimu/namealign
Browse files Browse the repository at this point in the history
align gpu kustomize object naming with operator naming
  • Loading branch information
mythi authored Sep 27, 2022
2 parents 694f63c + 1d09cd6 commit d491f46
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
spec:
template:
spec:
serviceAccountName: resource-reader-sa
serviceAccountName: gpu-manager-sa
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: resource-reader
name: gpu-manager-role
rules:
- apiGroups: [""]
resources: ["pods"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: resource-reader-rb
name: gpu-manager-rolebinding
subjects:
- kind: ServiceAccount
name: resource-reader-sa
name: gpu-manager-sa
namespace: default
roleRef:
kind: ClusterRole
name: resource-reader
name: gpu-manager-role
apiGroup: rbac.authorization.k8s.io
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: resource-reader-sa
name: gpu-manager-sa
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
bases:
- ../../base
resources:
- resource-cluster-role-binding.yaml
- resource-cluster-role.yaml
- resource-reader-sa.yaml
- gpu-manager-rolebinding.yaml
- gpu-manager-role.yaml
- gpu-manager-sa.yaml
patches:
- path: add-serviceaccount.yaml
- path: add-podresource-mount.yaml
Expand Down

0 comments on commit d491f46

Please sign in to comment.