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

View File

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

View File

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