Skip to content

Commit

Permalink
fix: add rbac
Browse files Browse the repository at this point in the history
  • Loading branch information
Twwy committed Jun 7, 2023
1 parent 4930fff commit 83b0749
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chart/sreworks-chart/charts/appmanager/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: ["get", "list", "watch"]
- apiGroups: ["apps.abm.io"]
resources: ["*"]
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down
6 changes: 6 additions & 0 deletions chart/sreworks-chart/templates/ext-namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ metadata:
namespace: {{ template "dataops.namespace" . }}
rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: ["get", "list", "watch"]
- apiGroups: ["apps.abm.io"]
resources: ["*"]
verbs: ["*"]

Expand All @@ -32,6 +35,9 @@ metadata:
namespace: {{ template "aiops.namespace" . }}
rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: ["get", "list", "watch"]
- apiGroups: ["apps.abm.io"]
resources: ["*"]
verbs: ["*"]

Expand Down

0 comments on commit 83b0749

Please sign in to comment.