Skip to content

Commit 3c7ae4f

Browse files
committed
#1290 Add Security Configuration Options to KafkaConnector Env
1 parent 7f99d7f commit 3c7ae4f

File tree

1 file changed

+64
-50
lines changed

1 file changed

+64
-50
lines changed

helm/values.yaml

Lines changed: 64 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@ parseable:
99
## Please note that highAvailability is not supported in local mode
1010
highAvailability:
1111
enabled: false
12-
ingestor:
13-
affinity: {}
12+
ingestor:
13+
affinity: { }
1414
# podAntiAffinity:
1515
# requiredDuringSchedulingIgnoredDuringExecution:
1616
# - labelSelector:
1717
# matchLabels:
1818
# app: parseable
19-
# component: ingestor
20-
# topologyKey: kubernetes.io/hostname
19+
# component: ingestor
20+
# topologyKey: kubernetes.io/hostname
2121
port: 8000
2222
extraLabels:
2323
app: parseable
24-
podAnnotations: {}
25-
nodeSelector: {}
26-
tolerations: []
24+
podAnnotations: { }
25+
nodeSelector: { }
26+
tolerations: [ ]
2727
labels:
2828
app: parseable
2929
component: ingestor
3030
count: 3
31-
env:
31+
env:
3232
RUST_LOG: warn
3333
## Use this endpoint to send events to ingestors
3434
## Console (UI) is available on the other service (that points to the query pod)
@@ -85,8 +85,8 @@ parseable:
8585
storageClass: ""
8686
accessMode: ReadWriteOnce
8787
size: 5Gi
88-
## enabling the disk on querier adds the hot-tier.
89-
## local-store is not supported on hot-tier.
88+
## enabling the disk on querier adds the hot-tier.
89+
## local-store is not supported on hot-tier.
9090
querier:
9191
enabled: false
9292
storageClass: ""
@@ -155,16 +155,16 @@ parseable:
155155
serviceAccount:
156156
create: true
157157
name: "parseable"
158-
annotations: {}
159-
nodeSelector: {}
158+
annotations: { }
159+
nodeSelector: { }
160160
service:
161161
type: ClusterIP
162162
port: 80
163163
readinessProbe:
164164
httpGet:
165165
path: /api/v1/readiness
166166
port: 8000
167-
toleration: []
167+
toleration: [ ]
168168
resources:
169169
limits:
170170
cpu: 500m
@@ -181,9 +181,9 @@ parseable:
181181
repository: busybox
182182
tag: latest
183183
pullPolicy: IfNotPresent
184-
command: []
185-
args: []
186-
env:
184+
command: [ ]
185+
args: [ ]
186+
env:
187187
RUST_LOG: warn
188188
ports: 8000
189189
volumeMounts:
@@ -217,50 +217,47 @@ parseable:
217217
fsGroupChangePolicy: "Always"
218218
nameOverride: ""
219219
fullnameOverride: ""
220-
affinity: {}
220+
affinity: { }
221221
podLabels:
222222
app: parseable
223223
component: query
224-
tolerations: []
224+
tolerations: [ ]
225225
## Use this section to create ServiceMonitor object for
226226
## this Parseable deployment. Read more on ServiceMonitor
227227
## here: https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.ServiceMonitor
228228
metrics:
229229
serviceMonitor:
230230
enabled: false
231-
labels: {}
231+
labels: { }
232232
namespace: ""
233233
spec:
234234
jobLabel: ""
235-
targetLabels: []
236-
podTargetLabels: []
237-
endpoints: []
238-
selector: {}
239-
namespaceSelector: {}
235+
targetLabels: [ ]
236+
podTargetLabels: [ ]
237+
endpoints: [ ]
238+
selector: { }
239+
namespaceSelector: { }
240240
sampleLimit: 0
241-
scrapeProtocols: []
241+
scrapeProtocols: [ ]
242242
targetLimit: 0
243243
labelLimit: 0
244244
labelNameLengthLimit: 0
245245
labelValueLengthLimit: 0
246246
keepDroppedTargets: 0
247-
attachMetadata: {}
247+
attachMetadata: { }
248248
scrapeClass: ""
249-
bodySizeLimit: {}
249+
bodySizeLimit: { }
250250
kafkaConnector:
251251
enabled: false
252252
env:
253253
# General Kafka Configuration
254254
P_KAFKA_BOOTSTRAP_SERVERS: "my-kafka.kafka.svc.cluster.local:9092" # Comma-separated list of Kafka bootstrap servers
255255
P_KAFKA_PARTITION_LISTENER_CONCURRENCY: "2" # Number of parallel threads for Kafka partition listeners
256256
P_KAFKA_CONSUMER_TOPICS: "test-log-stream-0,test-log-stream-1"
257-
258-
# Default values. Change only if necessary.
259-
260257
# P_KAFKA_CLIENT_ID: "parseable-connect" # Client ID for Kafka connection
261258
# P_CONNECTOR_BAD_DATA_POLICY: "fail" # Default Policy for handling bad data
262259

263-
# Consumer Configuration
260+
# Consumer Configurations. These config are Default Parseable KafkaConnector configs. Change only if necessary.
264261
# P_KAFKA_CONSUMER_GROUP_ID: "parseable-connect-cg"
265262
# P_KAFKA_CONSUMER_BUFFER_SIZE: "10000"
266263
# P_KAFKA_CONSUMER_BUFFER_TIMEOUT: "10000ms"
@@ -282,20 +279,37 @@ parseable:
282279
# P_KAFKA_CONSUMER_FETCH_MESSAGE_MAX_BYTES: "1048576"
283280
# P_KAFKA_CONSUMER_STATS_INTERVAL: "10000"
284281

285-
# Security Configuration - commented out but available if needed
286-
# P_KAFKA_SECURITY_PROTOCOL: "SSL" # Security protocol used for communication (e.g., SSL, SASL_SSL, SASL_PLAINTEXT)
287-
# P_KAFKA_SSL_CA_LOCATION: "/etc/ssl/certs/ca-certificates.crt" # CA certificate file path
288-
# P_KAFKA_SSL_CERTIFICATE_LOCATION: "/etc/ssl/certs/client-cert.pem" # Client certificate file path
289-
# P_KAFKA_SSL_KEY_LOCATION: "/etc/ssl/private/client-key.pem" # Client key file path
290-
# P_KAFKA_SSL_KEY_PASSWORD: "" # Password for the client key file
282+
# Security Configuration Options - By Default PLAINTEXT
283+
284+
# Option 1: SSL Encryption Only
285+
# P_KAFKA_SECURITY_PROTOCOL: "SSL"
286+
# P_KAFKA_SSL_CA_LOCATION: "/etc/ssl/certs/ca-certificates.crt"
287+
# P_KAFKA_SSL_CERTIFICATE_LOCATION: "/etc/ssl/certs/client-cert.pem"
288+
# P_KAFKA_SSL_KEY_LOCATION: "/etc/ssl/private/client-key.pem"
289+
# P_KAFKA_SSL_KEY_PASSWORD: "my-key-password" # Optional: only if key is password protected
291290

292-
# Security Configuration with SASL_SSL example
291+
# Option 2: SASL Authentication with SSL Encryption
293292
# P_KAFKA_SECURITY_PROTOCOL: "SASL_SSL"
294293
# P_KAFKA_SSL_CA_LOCATION: "/etc/ssl/certs/ca-certificates.crt"
295-
# P_KAFKA_SASL_MECHANISM: "SCRAM-SHA-512" # Can also be PLAIN, SCRAM-SHA-256, GSSAPI, etc.
294+
# P_KAFKA_SASL_MECHANISM: "SCRAM-SHA-512" # Can also be PLAIN, SCRAM-SHA-256, or GSSAPI
295+
# P_KAFKA_SASL_USERNAME: "kafka-user"
296+
# P_KAFKA_SASL_PASSWORD: "kafka-password"
297+
298+
# Option 3: SASL Authentication without Encryption
299+
# P_KAFKA_SECURITY_PROTOCOL: "SASL_PLAINTEXT"
300+
# P_KAFKA_SASL_MECHANISM: "PLAIN" # Can also be SCRAM-SHA-256, SCRAM-SHA-512, or GSSAPI
296301
# P_KAFKA_SASL_USERNAME: "kafka-user"
302+
# P_KAFKA_SASL_PASSWORD: "kafka-password"
303+
304+
# Option 4: OAuth Bearer Token Authentication (Not supported yet)
305+
# P_KAFKA_SECURITY_PROTOCOL: "SASL_SSL"
306+
# P_KAFKA_SASL_MECHANISM: "OAUTHBEARER"
307+
# P_KAFKA_OAUTH_TOKEN_ENDPOINT: "https://oauth.example.com/token"
308+
# P_KAFKA_OAUTH_CLIENT_ID: "kafka-client"
309+
# P_KAFKA_OAUTH_CLIENT_SECRET: "client-secret"
310+
# P_KAFKA_OAUTH_SCOPE: "kafka-access" # Optional: only if required by OAuth provider
297311

298-
# Default values for Vector
312+
## Default values for Vector
299313
# See Vector helm documentation to learn more:
300314
# https://vector.dev/docs/setup/installation/package-managers/helm/
301315
vector:
@@ -305,7 +319,7 @@ vector:
305319
image:
306320
repository: timberio/vector
307321
pullPolicy: IfNotPresent
308-
pullSecrets: []
322+
pullSecrets: [ ]
309323
tag: ""
310324
sha: ""
311325
replicas: 1
@@ -318,7 +332,7 @@ vector:
318332
create: true
319333
serviceAccount:
320334
create: true
321-
annotations: {}
335+
annotations: { }
322336
name:
323337
automountToken: true
324338
podLabels:
@@ -330,13 +344,13 @@ vector:
330344
service:
331345
enabled: true
332346
type: "ClusterIP"
333-
annotations: {}
334-
topologyKeys: []
335-
ports: []
347+
annotations: { }
348+
topologyKeys: [ ]
349+
ports: [ ]
336350
externalTrafficPolicy: ""
337351
loadBalancerIP: ""
338352
ipFamilyPolicy: ""
339-
ipFamilies: []
353+
ipFamilies: [ ]
340354
serviceHeadless:
341355
enabled: true
342356
dnsPolicy: ClusterFirst
@@ -399,7 +413,7 @@ fluent-bit:
399413
tag: latest
400414
serviceAccount:
401415
create: true
402-
annotations: {}
416+
annotations: { }
403417
name:
404418
rbac:
405419
create: true
@@ -410,8 +424,8 @@ fluent-bit:
410424
type: ClusterIP
411425
port: 2020
412426
loadBalancerClass:
413-
loadBalancerSourceRanges: []
414-
labels: {}
427+
loadBalancerSourceRanges: [ ]
428+
labels: { }
415429
livenessProbe:
416430
httpGet:
417431
path: /
@@ -503,7 +517,7 @@ fluent-bit:
503517
Password {{ .Values.serverPassword }}
504518
Stream k8s-events
505519
506-
upstream: {}
520+
upstream: { }
507521

508522
customParsers: |
509523
[PARSER]

0 commit comments

Comments
 (0)