forked from argoproj/argo-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aggregate workflow RBAC roles to built-in admin/edit/view clusterroles (
resolves argoproj#960)
- Loading branch information
Showing
15 changed files
with
148 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Argo Install Manifests | ||
|
||
Two | ||
| File | Description | | ||
|------|-------------| | ||
| install.yaml | Standard argo cluster-wide installation. Controller operates on all namespaces | | ||
| namespace-install.yaml | Installation of argo which operates on a single namespace. Controller does not require to be run with clusterrole | |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: argo-aggregate-to-view | ||
labels: | ||
rbac.authorization.k8s.io/aggregate-to-view: "true" | ||
rules: | ||
- apiGroups: | ||
- argoproj.io | ||
resources: | ||
- workflows | ||
- workflows/finalizers | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
|
||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: argo-aggregate-to-edit | ||
labels: | ||
rbac.authorization.k8s.io/aggregate-to-edit: "true" | ||
rules: | ||
- apiGroups: | ||
- argoproj.io | ||
resources: | ||
- workflows | ||
- workflows/finalizers | ||
verbs: | ||
- create | ||
- delete | ||
- deletecollection | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
|
||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: argo-aggregate-to-admin | ||
labels: | ||
rbac.authorization.k8s.io/aggregate-to-admin: "true" | ||
rules: | ||
- apiGroups: | ||
- argoproj.io | ||
resources: | ||
- workflows | ||
- workflows/finalizers | ||
verbs: | ||
- create | ||
- delete | ||
- deletecollection | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
namespace: argo | ||
|
||
resources: | ||
- ../base/01_workflow-crd.yaml | ||
- ../base/01a_workflow-crd.yaml | ||
- ../base/01b_workflow-aggregate-roles.yaml | ||
- ../base/02a_workflow-controller-sa.yaml | ||
- ../base/02b_workflow-controller-cluster-role.yaml | ||
- ../base/02c_workflow-controller-cluster-rolebinding.yaml | ||
- ../base/02b_workflow-controller-clusterrole.yaml | ||
- ../base/02c_workflow-controller-clusterrolebinding.yaml | ||
- ../base/02d_workflow-controller-configmap.yaml | ||
- ../base/02e_workflow-controller-deployment.yaml | ||
- ../base/03a_argo-ui-sa.yaml | ||
- ../base/03b_argo-ui-cluster-role.yaml | ||
- ../base/03c_argo-ui-cluster-rolebinding.yaml | ||
- ../base/03b_argo-ui-clusterrole.yaml | ||
- ../base/03c_argo-ui-clusterrolebinding.yaml | ||
- ../base/03d_argo-ui-deployment.yaml | ||
- ../base/03e_argo-ui-service.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters