-
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.
feat: Argo workflows RBAC chart (#165)
- Loading branch information
1 parent
41b0d93
commit 8ba95db
Showing
5 changed files
with
86 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: v2 | ||
name: argo-workflows-rbac | ||
description: A Helm chart for creating an Argo Workflows rbac resources to allow access to workflow templates. | ||
|
||
type: application | ||
|
||
version: 0.0.1 | ||
|
||
appVersion: "0.0.1" |
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,6 @@ | ||
# Argo Workflows RBAC helm chart | ||
|
||
A Helm chart for creating an Argo Workflows rbac resources to allow access to workflow templates. | ||
|
||
## Parameters | ||
|
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,6 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: {{ .Values.clusterRole.name }} | ||
rules: | ||
{{ toYaml .Values.clusterRole.rules | indent 2 }} |
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,46 @@ | ||
{ | ||
"title": "Chart Values", | ||
"type": "object", | ||
"properties": { | ||
"clusterRole": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"description": "Cluster Role name to create", | ||
"default": "czi-argo-workflows-server-cluster-template" | ||
}, | ||
"rules": { | ||
"type": "array", | ||
"description": "ApiGroups API groups to apply the rules to", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"apiGroups": { | ||
"type": "array", | ||
"description": "ApiGroups API groups to apply the rules to", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"resources": { | ||
"type": "array", | ||
"description": "Resources to apply the rules to", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"verbs": { | ||
"type": "array", | ||
"description": "Verbs to apply the rules to", | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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,19 @@ | ||
clusterRole: | ||
## @param clusterRole.name Cluster Role name to create | ||
name: czi-argo-workflows-server-cluster-template | ||
rules: | ||
## @param clusterRole.rules[0].apiGroups ApiGroups API groups to apply the rules to | ||
- apiGroups: | ||
- argoproj.io | ||
## @param clusterRole.rules[0].resources Resources to apply the rules to | ||
resources: | ||
- clusterworkflowtemplates | ||
## @param clusterRole.rules[0].verbs Verbs to apply the rules to | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete |