Skip to content

Commit

Permalink
Support extra rules for the role
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed Feb 15, 2024
1 parent dd2ea5e commit 80f213f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/localstack/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ rules:
- apiGroups: [""] # "" indicates the core API group
resources: ["pods"]
verbs: ["*"]
{{- if .Values.role.extraRules }}
{{ toYaml .Values.role.extraRules }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/localstack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ role:
# The name of the role and rolebinding to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
# Assign the role extra permissions if required
extraRules: []

podLabels: {}

Expand Down

0 comments on commit 80f213f

Please sign in to comment.