disable streams in chart

This commit is contained in:
Felix Kunde 2021-12-15 13:46:46 +01:00
parent dfec6fd6b0
commit 284649500e
3 changed files with 19 additions and 14 deletions

View File

@ -35,6 +35,7 @@ rules:
- list
- watch
# all verbs allowed for event streams
{{- if .Values.enableStreams }}
- apiGroups:
- zalando.org
resources:
@ -48,6 +49,7 @@ rules:
- patch
- update
- watch
{{- end }}
# to create or get/update CRDs when starting up
- apiGroups:
- apiextensions.k8s.io

View File

@ -362,6 +362,9 @@ configConnectionPooler:
connection_pooler_default_cpu_limit: "1"
connection_pooler_default_memory_limit: 100Mi
# Zalando's internal CDC stream feature
enableStreams: false
rbac:
# Specifies whether RBAC resources should be created
create: true

View File

@ -35,20 +35,20 @@ rules:
- get
- list
- watch
# all verbs allowed for event streams
- apiGroups:
- zalando.org
resources:
- fabriceventstreams
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
# all verbs allowed for event streams (Zalando-internal feature)
#- apiGroups:
# - zalando.org
# resources:
# - fabriceventstreams
# verbs:
# - create
# - delete
# - deletecollection
# - get
# - list
# - patch
# - update
# - watch
# to create or get/update CRDs when starting up
- apiGroups:
- apiextensions.k8s.io