Skip to content

Commit

Permalink
fix: remove duplicated ckan api key (#69)
Browse files Browse the repository at this point in the history
* fix: ensemble configuration

* fix: improve config

* fix: release
  • Loading branch information
mosoriob authored Sep 20, 2024
1 parent 6820399 commit 7822908
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 102 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.3.7
version: 3.3.8
# 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
5 changes: 3 additions & 2 deletions charts/mint/templates/ensemble-manager-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,16 @@ data:
{{- end}}
{{ if eq .Values.external_services.ckan.enabled true }}
"data_catalog_key": {{ .Values.secrets.external_services.ckan.api_key | quote }},
{{ with .Values.external_services}}
{{- if eq .ckan.enabled true }}
"data_catalog_api": {{ .ckan.url | quote }},
"data_catalog_type": {{ .ckan.type | quote }},
"data_catalog_extra": {
"owner_organization_id": {{ .ckan.extra.owner_organization_id | quote }},
"owner_provenance_id": {{ .ckan.extra.owner_provenance_id | quote }}
},
{{- end}}
{{end}}
{{end}}
{{- if eq .Values.external_services.s3.enabled true }}
Expand Down
1 change: 0 additions & 1 deletion charts/mint/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,6 @@ external_services:
enabled: false
url: "http://localhost:5000"
type: "CKAN"
api_key: "CHANGEME"
extra:
owner_organization_id: ""
owner_provenance_id: ""
Expand Down
Loading

0 comments on commit 7822908

Please sign in to comment.