Skip to content

Commit 1144129

Browse files
authored
make rbac configurable (#70)
Signed-off-by: Frank Kloeker <frank.kloeker@telekom.de>
1 parent 60fd72e commit 1144129

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

chart/kepler/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ annotations:
2222
url: https://keybase.io/bradmccoydev/pgp_keys.asc
2323
2424
type: application
25-
version: 0.5.11
25+
version: 0.5.12
2626
appVersion: release-0.7.12

chart/kepler/templates/rolebinding.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.rbac.create -}}
12
---
23
apiVersion: rbac.authorization.k8s.io/v1
34
kind: ClusterRole
@@ -28,3 +29,4 @@ subjects:
2829
- kind: ServiceAccount
2930
name: {{ include "kepler.serviceAccountName" . }}
3031
namespace: {{ .Release.Namespace }}
32+
{{- end }}

chart/kepler/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ service:
7272
type: ClusterIP
7373
port: 9102
7474

75+
76+
rbac:
77+
# Specifies whether rbac should be created
78+
create: true
79+
7580
serviceAccount:
7681
# Specifies whether a service account should be created
7782
create: true

0 commit comments

Comments
 (0)