Skip to content

Commit 17abd9c

Browse files
committed
feat: make swagger-ui image configurable
This allows to customize swagger in the same way as other components. Useful for example when deploying on OpenShift where the default image cannot run due to security constraints.
1 parent b80ac82 commit 17abd9c

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

helm-chart/renku/templates/swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
spec:
2020
containers:
2121
- name: swagger
22-
image: swaggerapi/swagger-ui
22+
image: "{{ .Values.swagger.image.repository }}:{{ .Values.swagger.image.tag }}"
2323
env:
2424
- name: BASE_URL
2525
value: /swagger

helm-chart/renku/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,6 +1449,9 @@ core:
14491449
## Configuration for the Swagger-UI available at <renku-domain>/swagger
14501450
swagger:
14511451
enabled: true
1452+
image:
1453+
repository: swaggerapi/swagger-ui
1454+
tag: "latest"
14521455
## The image used in startup scripts to initialize different postgress databases
14531456
initDb:
14541457
image:

0 commit comments

Comments
 (0)