diff --git a/charts/sn-platform-slim/templates/_helpers.tpl b/charts/sn-platform-slim/templates/_helpers.tpl index 3ea577c0e..b537d8374 100644 --- a/charts/sn-platform-slim/templates/_helpers.tpl +++ b/charts/sn-platform-slim/templates/_helpers.tpl @@ -345,7 +345,7 @@ Define function for get authenticaiton secret {{- define "pulsar.authSecret" }} {{- if .Values.auth.authentication.enabled }} {{- if and .Values.auth.oauth.enabled .Values.auth.oauth.brokerClientCredentialSecret }} -- mountPath: /mnt/secrets/oauth +- mountPath: /mnt/secrets-oauth secretName: "{{ .Values.auth.oauth.brokerClientCredentialSecret }}" {{- end }} {{- if .Values.auth.authentication.jwt.enabled }} diff --git a/charts/sn-platform-slim/values.yaml b/charts/sn-platform-slim/values.yaml index ce31d7fd1..1f1464dae 100644 --- a/charts/sn-platform-slim/values.yaml +++ b/charts/sn-platform-slim/values.yaml @@ -338,7 +338,7 @@ auth: # --from-literal=broker_client_credential.json=$(echo -n '{"client_id":"your-client-id","client_secret":"your-client-secret","issuer_url":"http://your-issuer-url/"}') \ # -n your-namespace # brokerClientCredentialSecret: "my-secret" - # brokerClientAuthenticationParameters: {"privateKey":"file:///mnt/secrets/oauth/broker_client_credential.json", "issuerUrl":"https://login.microsoftonline.com/your-tenant-id/v2.0", "audience":"your-audience", "scope":"your-scope"} + # brokerClientAuthenticationParameters: {"privateKey":"file:///mnt/secrets-oauth/broker_client_credential.json", "issuerUrl":"https://login.microsoftonline.com/your-tenant-id/v2.0", "audience":"your-audience", "scope":"your-scope"} authenticationProvider: "io.streamnative.pulsar.broker.authentication.AuthenticationProviderOAuth" authorizationProvider: "io.streamnative.pulsar.broker.authorization.AuthorizationProviderOAuth" diff --git a/charts/sn-platform/templates/_helpers.tpl b/charts/sn-platform/templates/_helpers.tpl index b75497501..85552cb19 100644 --- a/charts/sn-platform/templates/_helpers.tpl +++ b/charts/sn-platform/templates/_helpers.tpl @@ -369,7 +369,7 @@ Define function for get authenticaiton secret {{- define "pulsar.authSecret" }} {{- if .Values.auth.authentication.enabled }} {{- if and .Values.auth.oauth.enabled .Values.auth.oauth.brokerClientCredentialSecret }} -- mountPath: /mnt/secrets/oauth +- mountPath: /mnt/secrets-oauth secretName: "{{ .Values.auth.oauth.brokerClientCredentialSecret }}" {{- end }} {{- if and .Values.auth.vault.enabled (or .Values.broker.readPublicKeyFromFile .Values.proxy.readPublicKeyFromFile) }} diff --git a/charts/sn-platform/values.yaml b/charts/sn-platform/values.yaml index a550f6ab5..c5976a101 100644 --- a/charts/sn-platform/values.yaml +++ b/charts/sn-platform/values.yaml @@ -398,7 +398,7 @@ auth: # --from-literal=broker_client_credential.json=$(echo -n '{"client_id":"your-client-id","client_secret":"your-client-secret","issuer_url":"http://your-issuer-url/"}') \ # -n your-namespace # brokerClientCredentialSecret: "my-secret" - # brokerClientAuthenticationParameters: {"privateKey":"file:///mnt/secrets/oauth/broker_client_credential.json", "issuerUrl":"https://login.microsoftonline.com/your-tenant-id/v2.0", "audience":"your-audience", "scope":"your-scope"} + # brokerClientAuthenticationParameters: {"privateKey":"file:///mnt/secrets-oauth/broker_client_credential.json", "issuerUrl":"https://login.microsoftonline.com/your-tenant-id/v2.0", "audience":"your-audience", "scope":"your-scope"} authenticationProvider: "io.streamnative.pulsar.broker.authentication.AuthenticationProviderOAuth" authorizationProvider: "io.streamnative.pulsar.broker.authorization.AuthorizationProviderOAuth"