kafka-cluster
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{{- if .Values.kafkaConnect.enabled }}
|
||||
apiVersion: kafka.strimzi.io/v1beta2
|
||||
kind: KafkaUser
|
||||
metadata:
|
||||
name: service-account-{{ .Values.oauth.keycloakClientId }}-kafka-connect
|
||||
namespace: {{ include "kafka-cluster.namespace" . }}
|
||||
labels:
|
||||
strimzi.io/cluster: {{ include "kafka-cluster.fullname" . }}
|
||||
{{- include "kafka-cluster.labels" . | nindent 4 }}
|
||||
spec:
|
||||
authorization:
|
||||
type: simple
|
||||
acls:
|
||||
- resource:
|
||||
type: topic
|
||||
name: "*"
|
||||
patternType: literal
|
||||
operations:
|
||||
- Read
|
||||
- Describe
|
||||
- DescribeConfigs
|
||||
- Write
|
||||
- resource:
|
||||
type: group
|
||||
name: "*"
|
||||
patternType: literal
|
||||
operations:
|
||||
- Read
|
||||
- Write
|
||||
- Describe
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user