Skip to content

Commit

Permalink
fix(alpha): add missing auth for grpc api
Browse files Browse the repository at this point in the history
  • Loading branch information
aabouzaid committed Dec 13, 2024
1 parent 7ef728e commit fb4c6f0
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
13 changes: 12 additions & 1 deletion charts/camunda-platform-alpha/templates/core/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ data:
redirect-uri: "{{ tpl .Values.global.identity.auth.core.redirectUrl $ | default $redirectURIDefault }}/login/oauth2/code/core"
provider: oidcclient
scope: openid,profile
{{- else }}
spring:
profiles:
Expand Down Expand Up @@ -70,6 +69,18 @@ data:
# zeebe.broker.gateway
gateway:
enable: true
# zeebe.broker.gateway.security
security:
authentication:
{{- if .Values.global.identity.auth.enabled }}
mode: identity
{{- $issuerURIDefault := (include "camundaPlatform.authIssuerBackendUrl" . | replace ":80" "") }}
issuerBackendUrl: {{ (include "camundaPlatform.authIssuerUrl" .) | default $issuerURIDefault | quote }}
audience: {{ include "core.authClientId" . | quote }}
type: {{ lower .Values.global.identity.auth.type | default "keycloak" }}
{{- else }}
mode: none
{{- end }}
network:
host: 0.0.0.0
port: {{ .Values.core.service.grpcPort }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ data:
# zeebe.broker.gateway
gateway:
enable: true
# zeebe.broker.gateway.security
security:
authentication:
mode: identity
issuerBackendUrl: "http://localhost:18080/auth/realms/camunda-platform"
audience: "core"
type: keycloak
network:
host: 0.0.0.0
port: 26500
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ data:
# zeebe.broker.gateway
gateway:
enable: true
# zeebe.broker.gateway.security
security:
authentication:
mode: identity
issuerBackendUrl: "http://localhost:18080/auth/realms/camunda-platform"
audience: "core"
type: keycloak
network:
host: 0.0.0.0
port: 26500
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ data:
# zeebe.broker.gateway
gateway:
enable: true
# zeebe.broker.gateway.security
security:
authentication:
mode: identity
issuerBackendUrl: "http://localhost:18080/auth/realms/camunda-platform"
audience: "core"
type: keycloak
network:
host: 0.0.0.0
port: 26500
Expand Down

0 comments on commit fb4c6f0

Please sign in to comment.