Skip to content

Commit 2f5725f

Browse files
authored
Merge pull request #1912 from bosch-io/improvement/helm-token-integration-subject
Helm gateway option for token-integration-subject
2 parents 41d088a + c49dc08 commit 2f5725f

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

deployment/helm/ditto/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description: |
1616
A digital twin is a virtual, cloud based, representation of his real world counterpart
1717
(real world “Things”, e.g. devices like sensors, smart heating, connected cars, smart grids, EV charging stations etc).
1818
type: application
19-
version: 3.5.3 # chart version is effectively set by release-job
19+
version: 3.5.4 # chart version is effectively set by release-job
2020
appVersion: 3.5.3
2121
keywords:
2222
- iot-chart

deployment/helm/ditto/templates/gateway-deployment.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ spec:
226226
value: "{{ .Values.gateway.config.sse.throttling.limit }}"
227227
- name: OAUTH_ALLOWED_CLOCK_SKEW
228228
value: "{{ .Values.gateway.config.authentication.oauth.allowedClockSkew }}"
229+
- name: OAUTH_TOKEN_INTEGRATION_SUBJECT
230+
value: "{{ .Values.gateway.config.authentication.oauth.tokenIntegrationSubject }}"
229231
{{- if .Values.gateway.extraEnv }}
230232
{{- toYaml .Values.gateway.extraEnv | nindent 12 }}
231233
{{- end }}

deployment/helm/ditto/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1514,6 +1514,8 @@ gateway:
15141514
# authSubjects:
15151515
# - "{{ jwt:sub }}"
15161516
# - "{{ jwt:groups }}"
1517+
# configure the subject to inject in policy action activateTokenIntegration
1518+
tokenIntegrationSubject: "integration:{{policy-entry:label}}:{{jwt:aud}}"
15171519
# devops contains the configuration of the gateway's "/devops" API, e.g. access to it
15181520
devops:
15191521
# secured this controls whether "/devops" and "/api/2/connections" resources are secured or not

0 commit comments

Comments
 (0)