Skip to content

Commit 1bbcc8a

Browse files
marcusrambergMarcus Ramberg
andauthored
Support SASL in burrow toml config (#18)
Co-authored-by: Marcus Ramberg <[email protected]>
1 parent b2994ce commit 1bbcc8a

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

charts/burrow/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v1
22
appVersion: "1.3.3"
33
description: A Helm chart for Kubernetes
44
name: burrow
5-
version: 0.1.6
5+
version: 0.1.7
66
icon: https://media.licdn.com/dms/image/C4D0BAQEj-Fx1qtIAKQ/company-logo_200_200/0?e=2159024400&v=beta&t=90Cva_S5-k44uPf_P11ZdHQ6WnUCjuSrTGQshbTvWVo

charts/burrow/templates/burrow-configmap.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ data:
3030
{{- if $root.Values.burrow.config.tls }}
3131
tls="{{ $value.tls | default "" }}"
3232
{{- end }}
33+
{{- if $root.Values.burrow.config.sasl }}
34+
sasl="{{ $value.sasl | default "" }}"
35+
{{- end }}
3336
{{ end }}
3437
3538
{{ range $key, $value := .Values.burrow.config.tls }}
@@ -40,6 +43,14 @@ data:
4043
noverify={{ $value.noverify | default false }}
4144
{{ end }}
4245
46+
{{ range $key, $value := .Values.burrow.config.sasl }}
47+
[sasl.{{ $key }}]
48+
username="{{ $value.username | default "burrow" }}"
49+
password="{{ $value.password | default "burrow" }}"
50+
handshake-first={{ $value.handshake_first | default false }}
51+
algorithm="{{ $value.algorithm | default "SCRAM-SHA-512" }}"
52+
{{ end }}
53+
4354
{{ range $key, $value := .Values.burrow.config.cluster }}
4455
[cluster.{{ default $key }}]
4556
class-name={{ $value.className | default "kafka" | quote }}

charts/burrow/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ burrow:
3434
## Maps to [tls] section in burrow.toml
3535
tls: {}
3636

37+
## Maps to [sasl] section in burrow.toml
38+
sasl: {}
39+
3740
## Maps to [general] section in burrow.toml
3841
general: {}
3942
# pidfile: burrow.pid

0 commit comments

Comments
 (0)