Skip to content

feat(AVZP-66): BING_API_KEY setting is now configurable from values.yaml#229

Merged
mwallschlaeger merged 3 commits intoGeoNodeUserGroup-DE:mainfrom
phardy-egis:main
Feb 20, 2025
Merged

feat(AVZP-66): BING_API_KEY setting is now configurable from values.yaml#229
mwallschlaeger merged 3 commits intoGeoNodeUserGroup-DE:mainfrom
phardy-egis:main

Conversation

@phardy-egis
Copy link
Contributor

@phardy-egis phardy-egis commented Feb 19, 2025

Description

Currently the HELM does not allow to configure the following environment variables useful for Django Backend:

  • django BING_API_KEY setting to enable tthis feature as part of MapStore
  • django SECRET_KEY setting to enable secret rotation

This PR is a proposal to add these settings.

Type of Change

New Feature

Checklist

Please ensure that your pull request meets the following requirements:

  • The pull request is limited to one type (docs, feature, bug fix, etc.)
  • The pull request is as small as possible. Consider opening multiple pull requests instead of one large one.
  • The feature or bug fix has been discussed and documented in an issue beforehand.

Additional Notes

Any additional information or context regarding the pull request can be provided here.

Maybe documentation related to this feature should be improved

feat(AVZP-66): SECRET_KEY setting is now configurable from values.yaml
Copy link
Member

@mwallschlaeger mwallschlaeger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes resonable addition. will be included into the next release

Copy link
Member

@mwallschlaeger mwallschlaeger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

linting requires, that .Values.geonode.secret.django.secretKey and .Values.geonode.secret.bing.apiKey must have default values in values.yaml. Could you add them?

@phardy-egis
Copy link
Contributor Author

@mwallschlaeger

I added default values according to the default ones provided in the geonode repo:

Also updated documentation.

Copy link
Member

@mwallschlaeger mwallschlaeger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool thanks for the PR

@mwallschlaeger mwallschlaeger merged commit 61168a3 into GeoNodeUserGroup-DE:main Feb 20, 2025
1 check passed
@phardy-egis
Copy link
Contributor Author

I noticed CI job failed. Let me know if corrections should be done on my side:
https://github.com/GeoNodeUserGroup-DE/geonode-k8s/actions/runs/13432035876/job/37525847702

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants