Skip to content

Commit

Permalink
align with openyurt charts refs/heads/master from commit 7c1198a16fd7…
Browse files Browse the repository at this point in the history
…edd3a0364e4d02a7936f8b3495d3
  • Loading branch information
openyurt-bot committed Oct 24, 2023
1 parent 797ce46 commit 3729f6d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 33 deletions.
54 changes: 22 additions & 32 deletions charts/yurt-manager/templates/yurt-manager-auto-generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,43 @@

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
kind: Role
metadata:
creationTimestamp: null
name: yurt-manager-role
namespace: {{ .Release.Namespace }}
rules:
- apiGroups:
- ""
resources:
- configmaps
- secrets
verbs:
- create
- get
- list
- watch
- patch
- update
- apiGroups:
- ""
resources:
- secret
- secrets
verbs:
- create
- get
- list
- patch
- update
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: yurt-manager-role
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
- apiGroups:
- admissionregistration.k8s.io
resources:
Expand Down Expand Up @@ -317,18 +331,6 @@ rules:
- patch
- update
- watch
- apiGroups:
- ""
resources:
- persistentvolumeclaims
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
Expand All @@ -347,18 +349,6 @@ rules:
- pods/status
verbs:
- update
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
Expand Down
21 changes: 20 additions & 1 deletion charts/yurt-manager/templates/yurt-manager.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
apiVersion: v1
kind: Secret
metadata:
name: yurt-manager-webhook-certs
namespace: {{ .Release.Namespace }}
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: yurt-manager
Expand All @@ -19,7 +25,20 @@ subjects:
name: yurt-manager
namespace: {{ .Release.Namespace }}
---

apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: yurt-manager-role-binding
namespace: {{ .Release.Namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: yurt-manager-role
subjects:
- kind: ServiceAccount
name: yurt-manager
namespace: {{ .Release.Namespace }}
---
apiVersion: v1
kind: Service
metadata:
Expand Down

0 comments on commit 3729f6d

Please sign in to comment.