Skip to content

Commit ac80f7b

Browse files
authored
Merge pull request #2478 from boschglobal/fix/swaggerui-mount-oidc-js
fix swagger ui mount oidc js
2 parents 77c5f99 + 168b480 commit ac80f7b

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

deployment/helm/ditto/Chart.yaml

Lines changed: 1 addition & 1 deletion
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: 4.2.0 # chart version is effectively set by release-job
19+
version: 4.2.1 # chart version is effectively set by release-job
2020
appVersion: 3.9.2
2121
keywords:
2222
- iot-chart

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,16 @@ spec:
130130
- name: swaggerui-index
131131
mountPath: /usr/share/nginx/html/index.html
132132
subPath: index.html
133+
- name: swaggerui-oidc
134+
mountPath: /usr/share/nginx/html/swagger-oidc.js
135+
subPath: swagger-oidc.js
133136
volumes:
134137
- name: swagger-ui-init-config
135138
emptyDir: {}
136139
- name: swaggerui-index
137140
configMap:
138141
name: {{ .Release.Name }}-swaggerui-config-index-html
142+
- name: swaggerui-oidc
143+
configMap:
144+
name: {{ .Release.Name }}-swaggerui-config-swagger-oidc-js
139145
{{- end }}

0 commit comments

Comments
 (0)