Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm gateway option for token-integration-subject #1912

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deployment/helm/ditto/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ description: |
A digital twin is a virtual, cloud based, representation of his real world counterpart
(real world “Things”, e.g. devices like sensors, smart heating, connected cars, smart grids, EV charging stations etc).
type: application
version: 3.5.3 # chart version is effectively set by release-job
version: 3.5.4 # chart version is effectively set by release-job
appVersion: 3.5.3
keywords:
- iot-chart
Expand Down
2 changes: 2 additions & 0 deletions deployment/helm/ditto/templates/gateway-deployment.yaml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading