Skip to content

Commit

Permalink
fix(8.7): wrong roles for identity user (#2639)
Browse files Browse the repository at this point in the history
  • Loading branch information
aabouzaid authored Dec 4, 2024
1 parent c32f5d4 commit 13fc9dc
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/camunda-platform-alpha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ Please see the corresponding [release guide](../../docs/release.md) to find out
| `webModeler.restapi.mail.existingSecretPasswordKey` | can be used to provide the name of an existing secret key containing the SMTP password | `smtp-password` |
| `webModeler.restapi.mail.fromAddress` | defines the email address that will be displayed as the sender of emails sent by WebModeler | `""` |
| `webModeler.restapi.mail.fromName` | defines the name that will be displayed as the sender of emails sent by WebModeler | `Camunda 8` |
| `webModeler.restapi.clusters` | can be used to configure Camunda 8 clusters that will be available in Web Modeler (will override default cluster configuration that is used if `zeebe.enabled=true`) | `[]` |
| `webModeler.restapi.clusters` | can be used to configure Camunda 8 clusters that will be available in Web Modeler (will override default cluster configuration that is used if `core.enabled=true`) | `[]` |
| `webModeler.restapi.podAnnotations` | can be used to define extra restapi pod annotations | `{}` |
| `webModeler.restapi.podLabels` | can be used to define extra restapi pod labels | `{}` |
| `webModeler.restapi.logging` | configuration for the restapi logging. This template will be directly included in the webModeler.restapi configuration YAML file | |
Expand Down
4 changes: 2 additions & 2 deletions charts/camunda-platform-alpha/templates/core/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ data:
oidcclient:
client-id: {{ include "core.authClientId" . | quote }}
client-secret: ${VALUES_CAMUNDA_CORE_CLIENT_SECRET:}
# authorization-grant-type: authorization_code
authorization-grant-type: authorization_code
{{- $redirectURIDefault := printf "http://%s:8080" (include "core.fullname" .) }}
redirect-uri: "{{ tpl .Values.global.identity.auth.core.redirectUrl $ | default $redirectURIDefault }}/login/oauth2/code/core"
provider: oidcclient
Expand All @@ -56,8 +56,8 @@ data:
forward-headers-strategy: framework
address: 0.0.0.0
port: {{ .Values.core.service.httpPort }}
{{- if .Values.core.contextPath }}
servlet:
{{- if .Values.core.contextPath }}
context-path: {{ .Values.core.contextPath | quote }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ data:
- Optimize
- Web Modeler
- Web Modeler Admin
- Zeebe
{{- end }}
{{- end }}
{{- if .Values.identity.users }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ data:
oidcclient:
client-id: "core"
client-secret: ${VALUES_CAMUNDA_CORE_CLIENT_SECRET:}
# authorization-grant-type: authorization_code
authorization-grant-type: authorization_code
redirect-uri: "http://localhost:8082/login/oauth2/code/core"
provider: oidcclient
scope: openid,profile
Expand All @@ -47,6 +47,7 @@ data:
forward-headers-strategy: framework
address: 0.0.0.0
port: 8080
servlet:
zeebe:
host: 0.0.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ data:
oidcclient:
client-id: "core"
client-secret: ${VALUES_CAMUNDA_CORE_CLIENT_SECRET:}
# authorization-grant-type: authorization_code
authorization-grant-type: authorization_code
redirect-uri: "http://localhost:8082/login/oauth2/code/core"
provider: oidcclient
scope: openid,profile
Expand All @@ -47,6 +47,7 @@ data:
forward-headers-strategy: framework
address: 0.0.0.0
port: 8080
servlet:
zeebe:
host: 0.0.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ data:
oidcclient:
client-id: "core"
client-secret: ${VALUES_CAMUNDA_CORE_CLIENT_SECRET:}
# authorization-grant-type: authorization_code
authorization-grant-type: authorization_code
redirect-uri: "http://localhost:8082/login/oauth2/code/core"
provider: oidcclient
scope: openid,profile
Expand All @@ -47,6 +47,7 @@ data:
forward-headers-strategy: framework
address: 0.0.0.0
port: 8080
servlet:
zeebe:
host: 0.0.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ data:
- Optimize
- Web Modeler
- Web Modeler Admin
- Zeebe
environment:
clients:
- name: Identity
Expand Down
2 changes: 1 addition & 1 deletion charts/camunda-platform-alpha/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ webModeler:
## @param webModeler.restapi.mail.fromName defines the name that will be displayed as the sender of emails sent by WebModeler
fromName: "Camunda 8"

## @param webModeler.restapi.clusters can be used to configure Camunda 8 clusters that will be available in Web Modeler (will override default cluster configuration that is used if `zeebe.enabled=true`)
## @param webModeler.restapi.clusters can be used to configure Camunda 8 clusters that will be available in Web Modeler (will override default cluster configuration that is used if `core.enabled=true`)
clusters: []

## @param webModeler.restapi.podAnnotations can be used to define extra restapi pod annotations
Expand Down

0 comments on commit 13fc9dc

Please sign in to comment.