Skip to content

Commit a33d1cb

Browse files
author
suaas21
committed
remove rbac flag from helm chart
1 parent c7b307e commit a33d1cb

File tree

6 files changed

+0
-14
lines changed

6 files changed

+0
-14
lines changed

chart/stash/templates/apiregistration.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ data:
6666
tls.key: {{ b64enc $cert.Key }}
6767
---
6868
{{- end }}
69-
{{ if .Values.rbac.create }}
7069
# to read the config for terminating authentication
7170
apiVersion: rbac.authorization.k8s.io/v1
7271
kind: RoleBinding
@@ -99,4 +98,3 @@ subjects:
9998
- kind: ServiceAccount
10099
name: {{ template "stash.serviceAccountName" . }}
101100
namespace: {{ .Release.Namespace }}
102-
{{ end }}

chart/stash/templates/cluster-role-binding.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{ if .Values.rbac.create }}
21
apiVersion: rbac.authorization.k8s.io/v1
32
kind: ClusterRoleBinding
43
metadata:
@@ -13,4 +12,3 @@ subjects:
1312
- kind: ServiceAccount
1413
name: {{ template "stash.serviceAccountName" . }}
1514
namespace: {{ .Release.Namespace }}
16-
{{ end }}

chart/stash/templates/cluster-role.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{ if .Values.rbac.create }}
21
apiVersion: rbac.authorization.k8s.io/v1
32
kind: ClusterRole
43
metadata:
@@ -86,4 +85,3 @@ rules:
8685
- roles
8786
- rolebindings
8887
verbs: ["get", "create", "delete", "patch"]
89-
{{ end }}

chart/stash/templates/deployment.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ spec:
4444
args:
4545
- run
4646
- --v={{ .Values.logLevel }}
47-
- --rbac={{ .Values.rbac.create }}
4847
- --docker-registry={{ .Values.operator.registry }}
4948
- --secure-port=8443
5049
- --audit-log-path=-

chart/stash/templates/user-roles.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{ if .Values.rbac.create }}
21
apiVersion: rbac.authorization.k8s.io/v1
32
kind: ClusterRole
43
metadata:
@@ -45,4 +44,3 @@ rules:
4544
resources:
4645
- snapshots
4746
verbs: ["get", "list"]
48-
{{ end }}

chart/stash/values.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ tolerations: {}
5353
##
5454
affinity: {}
5555

56-
## Install Default RBAC roles and bindings
57-
rbac:
58-
# Specifies whether RBAC resources should be created
59-
create: true
60-
6156
serviceAccount:
6257
# Specifies whether a ServiceAccount should be created
6358
create: true

0 commit comments

Comments
 (0)