kafka-cluster
This commit is contained in:
@@ -127,7 +127,6 @@ logging:
|
||||
|
||||
| Name | 설명 | 기본값 |
|
||||
| ------------------------ | -------------------------- | ------------------------------ |
|
||||
| `oauth.enabled` | OAuth 2.0 인증 활성화 여부 | `true` |
|
||||
| `oauth.keycloakUrl` | Keycloak 서버 URL | `https://keycloak.example.com` |
|
||||
| `oauth.keycloakRealm` | Keycloak Realm 이름 | `your-realm` |
|
||||
| `oauth.keycloakClientId` | Keycloak Client ID | `kafka-client` |
|
||||
@@ -136,7 +135,6 @@ logging:
|
||||
|
||||
| Name | 설명 | 기본값 |
|
||||
| ----------------------- | ------------------------- | -------------------------- |
|
||||
| `kafkaConnect.enabled` | Kafka Connect 활성화 여부 | `true` |
|
||||
| `kafkaConnect.image` | Kafka Connect 이미지 | `paasup/kafka-connect:0.2` |
|
||||
| `kafkaConnect.replicas` | Kafka Connect 워커 수 | `1` |
|
||||
|
||||
|
||||
@@ -28,13 +28,11 @@ config:
|
||||
deleteTopicEnable: true
|
||||
|
||||
oauth:
|
||||
enabled: true
|
||||
keycloakUrl: "https://keycloak.example.com"
|
||||
keycloakRealm: "your-realm"
|
||||
keycloakClientId: "kafka-client"
|
||||
|
||||
kafkaConnect:
|
||||
enabled: true
|
||||
image: paasup/kafka-connect:0.2
|
||||
replicas: 1
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
{{- if .Values.kafkaConnect.enabled }}
|
||||
apiVersion: kafka.strimzi.io/v1beta2
|
||||
kind: KafkaConnect
|
||||
metadata:
|
||||
@@ -22,7 +21,6 @@ spec:
|
||||
value.converter: org.apache.kafka.connect.json.JsonConverter
|
||||
plugin.path: /opt/kafka/plugins
|
||||
topic.creation.enable: "true"
|
||||
{{- if .Values.oauth.enabled }}
|
||||
authentication:
|
||||
type: oauth
|
||||
tokenEndpointUri: {{ .Values.oauth.keycloakUrl }}/realms/{{ .Values.oauth.keycloakRealm }}/protocol/openid-connect/token
|
||||
@@ -33,7 +31,6 @@ spec:
|
||||
tlsTrustedCertificates:
|
||||
- secretName: {{ .Values.oauth.tlsSecretName }}
|
||||
pattern: {{ .Values.oauth.tlsCertificate | quote }}
|
||||
{{- end }}
|
||||
template:
|
||||
connectContainer:
|
||||
volumeMounts:
|
||||
@@ -50,4 +47,3 @@ spec:
|
||||
type: inline
|
||||
loggers:
|
||||
rootLogger.level: {{ .Values.logging.connect.rootLoggerLevel }}
|
||||
{{- end }}
|
||||
@@ -1,5 +1,3 @@
|
||||
{{- if .Values.kafkaConnect.enabled }}
|
||||
---
|
||||
apiVersion: kafka.strimzi.io/v1beta2
|
||||
kind: KafkaTopic
|
||||
metadata:
|
||||
@@ -50,4 +48,3 @@ spec:
|
||||
cleanup.policy: {{ .Values.connectTopics.config.cleanupPolicy }}
|
||||
retention.ms: {{ .Values.connectTopics.config.retentionMs }}
|
||||
segment.bytes: {{ .Values.connectTopics.config.segmentBytes }}
|
||||
{{- end }}
|
||||
@@ -1,4 +1,3 @@
|
||||
{{- if .Values.kafkaConnect.enabled }}
|
||||
apiVersion: kafka.strimzi.io/v1beta2
|
||||
kind: KafkaUser
|
||||
metadata:
|
||||
@@ -28,4 +27,3 @@ spec:
|
||||
- Read
|
||||
- Write
|
||||
- Describe
|
||||
{{- end }}
|
||||
@@ -22,7 +22,6 @@ spec:
|
||||
type: cluster-ip
|
||||
port: {{ .Values.listener.port }}
|
||||
tls: {{ .Values.listener.tls }}
|
||||
{{- if .Values.oauth.enabled }}
|
||||
authentication:
|
||||
type: oauth
|
||||
clientId: {{ .Values.oauth.keycloakClientId | quote }}
|
||||
@@ -41,7 +40,6 @@ spec:
|
||||
tlsTrustedCertificates:
|
||||
- secretName: {{ .Values.oauth.tlsSecretName }}
|
||||
certificate: {{ .Values.oauth.tlsCertificate }}
|
||||
{{- end }}
|
||||
config:
|
||||
offsets.topic.replication.factor: {{ .Values.config.offsetsTopicReplicationFactor }}
|
||||
transaction.state.log.replication.factor: {{ .Values.config.transactionStateLogReplicationFactor }}
|
||||
|
||||
@@ -53,7 +53,6 @@ listener:
|
||||
|
||||
# OAuth/Keycloak configuration
|
||||
oauth:
|
||||
enabled: true
|
||||
keycloakUrl: ""
|
||||
keycloakRealm: ""
|
||||
keycloakClientId: ""
|
||||
@@ -64,7 +63,6 @@ oauth:
|
||||
|
||||
# Kafka Connect configuration
|
||||
kafkaConnect:
|
||||
enabled: true
|
||||
image: paasup/kafka-connect:0.2
|
||||
replicas: 1
|
||||
oauthSecretName: kafka-connect-oauth-secret
|
||||
|
||||
Reference in New Issue
Block a user