Skip to content

Commit

Permalink
Helm gateway option for token-integration-subject
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolay.Deliyski <Nikolay.Deliyski@bosch.io>
(cherry picked from commit 6d1b2a2)
  • Loading branch information
n-deliyski authored and thjaeckle committed Apr 8, 2024
1 parent 145794c commit 4a5093a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deployment/helm/ditto/templates/gateway-deployment.yaml
Expand Up @@ -226,6 +226,8 @@ spec:
value: "{{ .Values.gateway.config.sse.throttling.limit }}"
- name: OAUTH_ALLOWED_CLOCK_SKEW
value: "{{ .Values.gateway.config.authentication.oauth.allowedClockSkew }}"
- name: OAUTH_TOKEN_INTEGRATION_SUBJECT
value: "{{ .Values.gateway.config.authentication.oauth.tokenIntegrationSubject }}"
{{- if .Values.gateway.extraEnv }}
{{- toYaml .Values.gateway.extraEnv | nindent 12 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions deployment/helm/ditto/values.yaml
Expand Up @@ -1514,6 +1514,8 @@ gateway:
# authSubjects:
# - "{{ jwt:sub }}"
# - "{{ jwt:groups }}"
# configure the subject to inject in policy action activateTokenIntegration
tokenIntegrationSubject: "integration:{{policy-entry:label}}:{{jwt:aud}}"
# devops contains the configuration of the gateway's "/devops" API, e.g. access to it
devops:
# secured this controls whether "/devops" and "/api/2/connections" resources are secured or not
Expand Down

0 comments on commit 4a5093a

Please sign in to comment.