Skip to content

Commit 3322bf8

Browse files
committed
chore(charts): remove rbac
1 parent 2c986eb commit 3322bf8

3 files changed

Lines changed: 1 addition & 9 deletions

File tree

Lines changed: 1 addition & 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:
@@ -9,5 +8,4 @@ metadata:
98
rules:
109
- apiGroups: [""]
1110
resources: ["pods", "namespaces"]
12-
verbs: ["list", "get", "watch"]
13-
{{- end -}}
11+
verbs: ["list", "get", "watch"]

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

charts/fluentbit/values.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,3 @@ config:
9292
plugins: |
9393
[PLUGINS]
9494
Path ${FLUENT_BIT_PLUGINS_PATH}/out_drycc.so
95-
96-
# Role-Based Access Control for Kubernetes >= 1.5
97-
global:
98-
rbac: false

0 commit comments

Comments
 (0)