Skip to content

Commit

Permalink
add cron rbac (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
heluocs authored Jun 1, 2021
1 parent 3453b57 commit a3f3694
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
4 changes: 4 additions & 0 deletions charts/user/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@

* support to create user

### 0.1.1

* support cron job

2 changes: 1 addition & 1 deletion charts/user/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
13 changes: 13 additions & 0 deletions charts/user/templates/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,19 @@ rules:
- jobs
verbs:
- '*'
- apiGroups:
- "apps.kubedl.io"
resources:
- crons
- crons/status
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
{{- with .Values.roles }}
{{- toYaml . | nindent 2 }}
{{- end }}

0 comments on commit a3f3694

Please sign in to comment.