Skip to content

Commit

Permalink
fix: data catalog token (#83)
Browse files Browse the repository at this point in the history
* release: 3.4.4

* update Helm documentation

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
mosoriob and github-actions[bot] authored Oct 17, 2024
1 parent b10e016 commit d0f167f
Show file tree
Hide file tree
Showing 5 changed files with 125 additions and 117 deletions.
2 changes: 1 addition & 1 deletion charts/mint/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.4.3
version: 3.4.4
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
2 changes: 1 addition & 1 deletion charts/mint/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MINT

![Version: 3.4.3-alpha.2](https://img.shields.io/badge/Version-3.4.3--alpha.2-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)
![Version: 3.4.4](https://img.shields.io/badge/Version-3.4.4-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)

A Helm chart for MINT

Expand Down
12 changes: 3 additions & 9 deletions charts/mint/templates/ui-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,9 @@ data:
window.REACT_APP_AIRFLOW_API = "https://airflow.mint.isi.edu/api/v1";
window.REACT_APP_AIRFLOW_DAG_DOWNLOAD_THREAD_ID = "download_thread"
{{ with .Values.external_services }}
{{ if eq .ckan.enabled true }}
window.REACT_APP_DATA_CATALOG_TYPE = {{ .ckan.type | quote }};
window.REACT_APP_DATA_CATALOG_KEY = {{ .ckan.api_key | quote }};
{{ end }}
{{ end }}
{{ if eq .Values.components.data_catalog.enabled false }}
{{ if eq .Values.external_services.ckan.enabled true }}
window.REACT_APP_DATA_CATALOG_TYPE = {{ .Values.external_services.ckan.type | quote }};
window.REACT_APP_DATA_CATALOG_API = {{.Values.external_services.ckan.url | quote }};
{{ end }}
window.REACT_APP_DATA_CATALOG_KEY = {{ .Values.secrets.external_services.ckan.api_key | quote }};
{{- end }}
Loading

0 comments on commit d0f167f

Please sign in to comment.