Skip to content

Commit

Permalink
fix pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-Rookie committed Oct 28, 2024
1 parent 207fd4e commit abb8e1e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addons/kafka/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,6 @@ kafka-client-secret
{{/*
Define kafka default superuser system account secret name
*/}}
{{- define "kafka.defaultSpuerUserSystemAccountSecretName" -}}
{{- define "kafka.defaultSuperUserSystemAccountSecretName" -}}
kafka-superusers-secret
{{- end -}}
2 changes: 1 addition & 1 deletion addons/kafka/templates/account-superusers.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ include "kafka.defaultSpuerUserSystemAccountSecretName" . }}
name: {{ include "kafka.defaultSuperUserSystemAccountSecretName" . }}
type: Opaque
stringData:
password: "kubeblocks"
2 changes: 1 addition & 1 deletion addons/kafka/templates/cmpd-broker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ spec:
namespace: {{ .Release.Namespace }}
- name: admin
secretRef:
name: {{ include "kafka.defaultSpuerUserSystemAccountSecretName" . }}
name: {{ include "kafka.defaultSuperUserSystemAccountSecretName" . }}
namespace: {{ .Release.Namespace }}
## serial is not used because rsm currently does not support kafka's role detection. The lack of role label during restart will affect the pod restart.
updateStrategy: BestEffortParallel
Expand Down
2 changes: 1 addition & 1 deletion addons/kafka/templates/cmpd-combine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
namespace: {{ .Release.Namespace }}
- name: admin
secretRef:
name: {{ include "kafka.defaultSpuerUserSystemAccountSecretName" . }}
name: {{ include "kafka.defaultSuperUserSystemAccountSecretName" . }}
namespace: {{ .Release.Namespace }}
## serial is not used because rsm currently does not support kafka's role detection. The lack of role label during restart will affect the pod restart.
updateStrategy: BestEffortParallel
Expand Down

0 comments on commit abb8e1e

Please sign in to comment.