Skip to content

Commit

Permalink
updates roles
Browse files Browse the repository at this point in the history
  • Loading branch information
boskey committed Sep 27, 2021
1 parent c70826b commit cc269eb
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 8 deletions.
2 changes: 1 addition & 1 deletion resources/training-portal.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: training.eduk8s.io/v1alpha1
kind: TrainingPortal
metadata:
name: tce-worksops
name: tce-workshops
spec:
portal:
registration:
Expand Down
70 changes: 67 additions & 3 deletions resources/workshop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,76 @@ spec:
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: $(session_namespace)-cluster-admin
name: $(session_namespace)-tanzu-addons-manager
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
name: tanzu-addons-manager-clusterrole
subjects:
- kind: ServiceAccount
namespace: $(workshop_namespace)
name: $(service_account)
name: $(service_account)
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: $(session_namespace)-tanzu-capabilities-manager
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: tanzu-capabilities-manager-clusterrole
subjects:
- kind: ServiceAccount
namespace: $(workshop_namespace)
name: $(service_account)
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: $(session_namespace)-data-packagemanager-carvel
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: $(workshop_namespace)-data-packagemanager-carvel
subjects:
- kind: ServiceAccount
namespace: $(workshop_namespace)
name: $(service_account)
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: $(session_namespace)-monitorns-view
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: $(workshop_namespace)-monitorns-view
subjects:
- kind: ServiceAccount
namespace: $(workshop_namespace)
name: $(service_account)
environment:
objects:
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: $(workshop_namespace)-data-packagemanager-carvel
rules:
- apiGroups:
- data.packaging.carvel.dev
resources:
- packagemetadatas
verbs:
- get
- list
- watch
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: $(workshop_namespace)-monitorns-view
rules:
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- list
- watch
7 changes: 4 additions & 3 deletions workshop/content/summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ It also helps installing additional tooling needed to Update, Manage and Monitor

To learn More about Tanzu Community Edition:

Website: **tanzucommunityedition.io**
Github: **vmware-tanzu/community-edition**
- Website: tanzucommunityedition.io
- Github: vmware-tanzu/community-edition

Learn more about Tanzu via various interactive environments on https://learn.tanzu.io

Thank you!
Thank you!
2 changes: 1 addition & 1 deletion workshop/workshop.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Cloud Native Runtimes
name: tce dev guide

modules:
activate:
Expand Down

0 comments on commit cc269eb

Please sign in to comment.