Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
changes after tim talk
Browse files Browse the repository at this point in the history
  • Loading branch information
s1cyan committed Jun 15, 2020
1 parent 27adb56 commit 310d08e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config/orchestrations/cli-services/0.2/kabanero-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ rules:
verbs:
- '*'
- apiGroups:
- kabanero.io
- apps
resources:
- deployments
verbs:
Expand Down
7 changes: 2 additions & 5 deletions deploy/kabanero-customresources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -565,13 +565,10 @@ metadata:
namespace: kabanero
labels:
kabanero.io/install: 27-cli-service-role
subjects:
- kind: ServiceAccount
- name: kabanero-cli
- namespace: kabanero
rules:
- apiGroups:
- rbac.authorization.k8s.io
- extensions
- apps
resources:
- deployments
verbs:
Expand Down
1 change: 0 additions & 1 deletion pkg/controller/kabaneroplatform/targetnamespaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ func createBindingTemplates(saNamespace string) []targetNamespaceRoleBindingTemp
saNamespace: saNamespace,
clusterRoleName: "kabanero-pipeline-deploy-role",
},
// TODO: Second role binding for CLI service
{
name: "kabanero-cli-deploy-rolebinding",
saName: "kabanero-cli",
Expand Down

0 comments on commit 310d08e

Please sign in to comment.