Skip to content

Commit 63efe5a

Browse files
committed
chore(charts): remove rbac
1 parent 3d5b1f0 commit 63efe5a

3 files changed

Lines changed: 0 additions & 9 deletions

File tree

charts/controller/templates/controller-clusterrole.yaml

Lines changed: 0 additions & 3 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:
@@ -88,5 +87,3 @@ rules:
8887
- apiGroups: ["batch"]
8988
resources: ["jobs"]
9089
verbs: ["create"]
91-
{{- end -}}
92-

charts/controller/templates/controller-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-controller
1615
namespace: {{ .Release.Namespace }}
17-
{{- end -}}

charts/controller/values.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,8 @@ global:
162162
# - on-cluster: Run registry within the Kubernetes cluster
163163
# - off-cluster: Use registry outside the Kubernetes cluster (example: drycc registry,self-hosted)
164164
registryLocation: "on-cluster"
165-
# The host port to which registry proxy binds to
166-
registryProxyPort: 5555
167165
# Prefix for the imagepull secret created when using private registry
168166
registrySecretPrefix: "private-registry"
169-
# Role-Based Access Control for Kubernetes >= 1.5
170-
rbac: false
171167
# GatewayClass is cluster-scoped resource defined by the infrastructure provider.
172168
gatewayClass: ""
173169
# Please check `kubernetes.io/ingress.class`

0 commit comments

Comments
 (0)