Skip to content

Commit

Permalink
fix: generate secret from json string
Browse files Browse the repository at this point in the history
  • Loading branch information
FushuWang committed Aug 18, 2023
1 parent 88f836d commit c89145b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/sn-platform/templates/broker/broker-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{{- if .Values.auth.oauth.enabled }}
apiVersion: v1
data:
broker_client_credential.json: {{ .Values.auth.oauth.brokerClientCredential | toJson | b64enc | quote }}
broker_client_credential.json: {{ .Values.auth.oauth.brokerClientCredential | fromYaml | toJson | b64enc | quote }}
kind: Secret
metadata:
name: "{{ template "pulsar.fullname" . }}-oauth-broker-secret"
Expand Down

0 comments on commit c89145b

Please sign in to comment.