Skip to content

Commit

Permalink
feat(module): fix roles #2
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Tishkov <[email protected]>
  • Loading branch information
fl64 committed Nov 29, 2024
1 parent 54bd937 commit e4fbd6f
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 122 deletions.
99 changes: 0 additions & 99 deletions docs.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions rbac.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions templates/rbacv2/manage/permissions/manage_internals.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
heritage: deckhouse
module: virtualization
rbac.deckhouse.io/aggregate-to-virtualization-as: super-admin
rbac.deckhouse.io/kind: manage
rbac.deckhouse.io/level: module
rbac.deckhouse.io/namespace: d8-virtualization
name: d8:manage:permission:virtualization:manage_internals
name: d8:manage:permission:subsystem:virtualization:manage_internals
rules:
- apiGroups:
- cdi.internal.virtualization.deckhouse.io
Expand Down
3 changes: 1 addition & 2 deletions templates/rbacv2/manage/permissions/manage_resources.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
heritage: deckhouse
module: virtualization
rbac.deckhouse.io/aggregate-to-virtualization-as: manager
rbac.deckhouse.io/kind: manage
rbac.deckhouse.io/level: module
rbac.deckhouse.io/namespace: d8-virtualization
name: d8:manage:permission:virtualization:manage_resources
name: d8:manage:permission:subsystem:virtualization:manage_resources
rules:
- apiGroups:
- virtualization.deckhouse.io
Expand Down
3 changes: 1 addition & 2 deletions templates/rbacv2/manage/permissions/view_resources.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
heritage: deckhouse
module: virtualization
rbac.deckhouse.io/aggregate-to-virtualization-as: viewer
rbac.deckhouse.io/kind: manage
rbac.deckhouse.io/level: module
rbac.deckhouse.io/namespace: d8-virtualization
name: d8:manage:permission:virtualization:view_resources
name: d8:manage:permission:subsystem:virtualization:view_resources
rules:
- apiGroups:
- virtualization.deckhouse.io
Expand Down
1 change: 0 additions & 1 deletion templates/rbacv2/use/capabilities/access_console.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
heritage: deckhouse
module: virtualization
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
heritage: deckhouse
module: virtualization
Expand Down
1 change: 0 additions & 1 deletion templates/rbacv2/use/capabilities/forward_port.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
heritage: deckhouse
module: virtualization
Expand Down
2 changes: 0 additions & 2 deletions templates/rbacv2/use/capabilities/manage_internals.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
heritage: deckhouse
module: virtualization
# TODO
rbac.deckhouse.io/aggregate-to-virtualization-as: super-admin
rbac.deckhouse.io/kind: use
name: d8:use:capability:virtualization:manage_internals
Expand Down
1 change: 0 additions & 1 deletion templates/rbacv2/use/capabilities/manage_resources.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
heritage: deckhouse
module: virtualization
Expand Down
1 change: 0 additions & 1 deletion templates/rbacv2/use/capabilities/view_resources.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
heritage: deckhouse
module: virtualization
Expand Down

0 comments on commit e4fbd6f

Please sign in to comment.