Skip to content

Commit cacbd41

Browse files
feat: enable cors by default (#90)
* add: cors by default * dump * update Helm documentation --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent dbc4291 commit cacbd41

File tree

5 files changed

+143
-123
lines changed

5 files changed

+143
-123
lines changed

charts/mint/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 3.4.6-pre1
18+
version: 3.4.6-pre2
1919
# This is the version number of the application being deployed. This version number should be
2020
# incremented each time you make changes to the application. Versions are not expected to
2121
# follow Semantic Versioning. They should reflect the version the application is using.

charts/mint/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MINT
22

3-
![Version: 3.4.6-pre1](https://img.shields.io/badge/Version-3.4.6--pre1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.3](https://img.shields.io/badge/AppVersion-1.16.3-informational?style=flat-square)
3+
![Version: 3.4.6-pre2](https://img.shields.io/badge/Version-3.4.6--pre2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.3](https://img.shields.io/badge/AppVersion-1.16.3-informational?style=flat-square)
44

55
A Helm chart for MINT
66

@@ -29,15 +29,15 @@ A Helm chart for MINT
2929
| components.cromo.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy for Cromo |
3030
| components.cromo.image.repository | string | `"mintproject/cromo"` | Docker image repository for Cromo |
3131
| components.cromo.image.tag | string | `"3c75586989aedf2573c37f5352f960c294377931"` | Docker image tag for Cromo |
32-
| components.cromo.ingress.annotations | object | `{}` | |
32+
| components.cromo.ingress.annotations."nginx.ingress.kubernetes.io/enable-cors" | string | `"true"` | |
3333
| components.cromo.ingress.className | string | `""` | |
3434
| components.cromo.ingress.enabled | bool | `true` | Enable or disable ingress for Cromo |
3535
| components.cromo.ingress.hosts[0].host | string | `"cromo.mint.local"` | |
3636
| components.cromo.ingress.hosts[0].paths[0].path | string | `"/"` | |
3737
| components.cromo.ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | |
3838
| components.cromo.ingress.tls | list | `[]` | |
3939
| components.cromo.resources | object | `{}` | Resource specifications for Cromo |
40-
| components.data_catalog | object | `{"arm_image":{"pullPolicy":"IfNotPresent","repository":"mintproject/data-catalog","tag":"8a6af95cae183320d596dc5219f2f76d1f234749"},"enabled":true,"image":{"pullPolicy":"IfNotPresent","repository":"mintproject/data-catalog","tag":"9be70359feabe03ed55bfdbf92c20a7e43ab928b"},"ingress":{"annotations":{},"className":"","enabled":true,"hosts":[{"host":"datacatalog.mint.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]},"resources":{}}` | Data Catalog component configuration |
40+
| components.data_catalog | object | `{"arm_image":{"pullPolicy":"IfNotPresent","repository":"mintproject/data-catalog","tag":"8a6af95cae183320d596dc5219f2f76d1f234749"},"enabled":true,"image":{"pullPolicy":"IfNotPresent","repository":"mintproject/data-catalog","tag":"9be70359feabe03ed55bfdbf92c20a7e43ab928b"},"ingress":{"annotations":{"nginx.ingress.kubernetes.io/enable-cors":"true"},"className":"","enabled":true,"hosts":[{"host":"datacatalog.mint.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]},"resources":{}}` | Data Catalog component configuration |
4141
| components.data_catalog.arm_image.pullPolicy | string | `"IfNotPresent"` | Image pull policy for ARM-based Data Catalog |
4242
| components.data_catalog.arm_image.repository | string | `"mintproject/data-catalog"` | Docker image repository for ARM-based Data Catalog |
4343
| components.data_catalog.arm_image.tag | string | `"8a6af95cae183320d596dc5219f2f76d1f234749"` | Docker image tag for ARM-based Data Catalog |
@@ -87,7 +87,7 @@ A Helm chart for MINT
8787
| components.ensemble_manager.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy for Ensemble Manager |
8888
| components.ensemble_manager.image.repository | string | `"mintproject/ensemble-manager"` | Docker image repository for Ensemble Manager |
8989
| components.ensemble_manager.image.tag | string | `"3e1f40865e647a8025b06ac63178b0eed64aed3e"` | Docker image tag for Ensemble Manager |
90-
| components.ensemble_manager.ingress.annotations | object | `{}` | |
90+
| components.ensemble_manager.ingress.annotations."nginx.ingress.kubernetes.io/enable-cors" | string | `"true"` | |
9191
| components.ensemble_manager.ingress.className | string | `""` | |
9292
| components.ensemble_manager.ingress.enabled | bool | `true` | |
9393
| components.ensemble_manager.ingress.hosts[0].host | string | `"ensemble-manager.mint.local"` | |
@@ -114,7 +114,7 @@ A Helm chart for MINT
114114
| components.hasura.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy for Hasura |
115115
| components.hasura.image.repository | string | `"mintproject/graphql-engine"` | Docker image repository for Hasura |
116116
| components.hasura.image.tag | string | `"305c0dbeba1878eafe348f21fc300fbfc017d9dc"` | Docker image tag for Hasura |
117-
| components.hasura.ingress.annotations | object | `{}` | |
117+
| components.hasura.ingress.annotations."nginx.ingress.kubernetes.io/enable-cors" | string | `"true"` | |
118118
| components.hasura.ingress.className | string | `nil` | |
119119
| components.hasura.ingress.enabled | bool | `true` | Enable or disable ingress for Hasura |
120120
| components.hasura.ingress.hosts[0].host | string | `"graphql.mint.local"` | |
@@ -138,7 +138,7 @@ A Helm chart for MINT
138138
| components.hasura_db.persistence.storageClass | string | `""` | |
139139
| components.hasura_db.persistence.subPath | string | `""` | Subpath for Hasura database |
140140
| components.hasura_db.resources | object | `{}` | Resource specifications for Hasura database |
141-
| components.mic_api | object | `{"enabled":false,"image":{"pullPolicy":"IfNotPresent","repository":"mintproject/mic-api","tag":"ee71a1a364fc3d384f85243684ad95d37913b049"},"ingress":{"annotations":{},"className":"","enabled":true,"hosts":[{"host":"api.mic.mint.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]},"resources":{}}` | MIC API component configuration |
141+
| components.mic_api | object | `{"enabled":false,"image":{"pullPolicy":"IfNotPresent","repository":"mintproject/mic-api","tag":"ee71a1a364fc3d384f85243684ad95d37913b049"},"ingress":{"annotations":{"nginx.ingress.kubernetes.io/enable-cors":"true"},"className":"","enabled":true,"hosts":[{"host":"api.mic.mint.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]},"resources":{}}` | MIC API component configuration |
142142
| components.mic_api.enabled | bool | `false` | Enable or disable MIC API |
143143
| components.mic_api.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy for MIC API |
144144
| components.mic_api.image.repository | string | `"mintproject/mic-api"` | Docker image repository for MIC API |
@@ -196,7 +196,7 @@ A Helm chart for MINT
196196
| components.model_catalog_endpoint.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy for Model Catalog Endpoint |
197197
| components.model_catalog_endpoint.image.repository | string | `"mintproject/model-catalog-endpoint"` | Docker image repository for Model Catalog Endpoint |
198198
| components.model_catalog_endpoint.image.tag | string | `"29256555a6fbaefae4729d5cd259564708a4ab04"` | Docker image tag for Model Catalog Endpoint |
199-
| components.model_catalog_endpoint.ingress.annotations | object | `{}` | |
199+
| components.model_catalog_endpoint.ingress.annotations."nginx.ingress.kubernetes.io/enable-cors" | string | `"true"` | |
200200
| components.model_catalog_endpoint.ingress.className | string | `""` | |
201201
| components.model_catalog_endpoint.ingress.enabled | bool | `true` | Enable or disable ingress for Model Catalog Endpoint |
202202
| components.model_catalog_endpoint.ingress.hosts[0].host | string | `"endpoint.models.mint.local"` | |

charts/mint/values.yaml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ components:
3030
# -- Enable or disable ingress for Cromo
3131
enabled: true
3232
className: ""
33-
annotations: {}
33+
annotations:
34+
nginx.ingress.kubernetes.io/enable-cors: "true"
3435
hosts:
3536
- host: cromo.mint.local
3637
paths:
@@ -82,7 +83,8 @@ components:
8283
# -- Enable or disable ingress for MIC API
8384
enabled: true
8485
className: ""
85-
annotations: {}
86+
annotations:
87+
nginx.ingress.kubernetes.io/enable-cors: "true"
8688
hosts:
8789
- host: api.mic.mint.local
8890
paths:
@@ -143,7 +145,8 @@ components:
143145
# -- Enable or disable ingress for Data Catalog
144146
enabled: true
145147
className: ""
146-
annotations: {}
148+
annotations:
149+
nginx.ingress.kubernetes.io/enable-cors: "true"
147150
hosts:
148151
- host: datacatalog.mint.local
149152
paths:
@@ -207,7 +210,8 @@ components:
207210
# -- Enable or disable ingress for Model Catalog Endpoint
208211
enabled: true
209212
className: ""
210-
annotations: {}
213+
annotations:
214+
nginx.ingress.kubernetes.io/enable-cors: "true"
211215
hosts:
212216
- host: endpoint.models.mint.local
213217
paths:
@@ -249,7 +253,8 @@ components:
249253
# -- Enable or disable ingress for Hasura
250254
enabled: true
251255
className: null
252-
annotations: {}
256+
annotations:
257+
nginx.ingress.kubernetes.io/enable-cors: "true"
253258
hosts:
254259
- host: graphql.mint.local
255260
paths:
@@ -413,7 +418,8 @@ components:
413418
ingress:
414419
enabled: true
415420
className: ""
416-
annotations: {}
421+
annotations:
422+
nginx.ingress.kubernetes.io/enable-cors: "true"
417423
hosts:
418424
- host: ensemble-manager.mint.local
419425
paths:

0 commit comments

Comments
 (0)