Skip to content

Commit 1cf5492

Browse files
committed
chore(charts): remove rbac
1 parent 4a86626 commit 1cf5492

5 files changed

Lines changed: 0 additions & 12 deletions

File tree

charts/builder/templates/builder-clusterrole.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- if (.Values.global.rbac) -}}
21
kind: ClusterRole
32
apiVersion: rbac.authorization.k8s.io/v1
43
metadata:
@@ -13,4 +12,3 @@ rules:
1312
- apiGroups: [""]
1413
resources: ["secrets"]
1514
verbs: ["list","get"]
16-
{{- end -}}

charts/builder/templates/builder-clusterrolebinding.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- if (.Values.global.rbac) -}}
21
kind: ClusterRoleBinding
32
apiVersion: rbac.authorization.k8s.io/v1
43
metadata:
@@ -14,4 +13,3 @@ subjects:
1413
- kind: ServiceAccount
1514
name: drycc-builder
1615
namespace: {{ .Release.Namespace }}
17-
{{- end -}}

charts/builder/templates/builder-role.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- if (.Values.global.rbac) -}}
21
kind: Role
32
apiVersion: rbac.authorization.k8s.io/v1
43
metadata:
@@ -19,4 +18,3 @@ rules:
1918
- apiGroups: ["batch"]
2019
resources: ["jobs"]
2120
verbs: ["create"]
22-
{{- end -}}

charts/builder/templates/builder-rolebinding.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- if (.Values.global.rbac) -}}
21
kind: RoleBinding
32
apiVersion: rbac.authorization.k8s.io/v1
43
metadata:
@@ -13,4 +12,3 @@ roleRef:
1312
subjects:
1413
- kind: ServiceAccount
1514
name: drycc-builder
16-
{{- end -}}

charts/builder/values.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,3 @@ ttlSecondsAfterFinished: 21600
5353
# host port for the registry proxy in the daemonset
5454
registry:
5555
proxyPort: 5555
56-
57-
global:
58-
# Role-Based Access Control for Kubernetes >= 1.5
59-
rbac: false

0 commit comments

Comments
 (0)