Skip to content

Commit 61168a3

Browse files
authored
feat(AVZP-66): BING_API_KEY setting is now configurable from values.yaml (#229)
1 parent 9fbb9b4 commit 61168a3

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

charts/geonode/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ Helm Chart for Geonode. Supported versions: Geonode: 4.4.0, Geoserver: 2.24.4-v1
122122
| geonode.secret.superUser.email | string | `"support@example.com"` | admin user password |
123123
| geonode.secret.superUser.password | string | `"geonode"` | admin panel password |
124124
| geonode.secret.superUser.username | string | `"admin"` | admin username |
125+
| geonode.secret.bing.apiKey | string | `""` | API Key for Bing Maps. |
126+
| geonode.secret.django.secretKey | string | `"!^gs*4^y81)#qt1n8!#3hzd221boe3_2x+s%t9buh#qwm)q)cb"` | Django SECRET_KEY setting. It is recommended to change it prior production use. |
125127
| geonode.sentry.build_number | int | `0` | sentry build number |
126128
| geonode.sentry.dsn | string | `""` | sentry dsn url |
127129
| geonode.sentry.enabled | bool | `false` | enable sentry integration for geonode |

charts/geonode/templates/geonode/geonode-secret.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ data:
2323
OAUTH2_API_KEY: ""
2424
OAUTH2_CLIENT_ID: {{ .Values.geonode.secret.oauth2.clientId | b64enc }}
2525
OAUTH2_CLIENT_SECRET: {{ .Values.geonode.secret.oauth2.clientSecret | b64enc }}
26+
SECRET_KEY: {{ .Values.geonode.secret.django.secretKey | b64enc }}
27+
BING_API_KEY: {{ .Values.geonode.secret.bing.apiKey | b64enc }}
2628
{{ end }}

charts/geonode/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ geonode:
6363
clientId: Jrchz2oPY3akmzndmgUTYrs9gczlgoV20YPSvqaV
6464
# -- oauth2 geoserver secret (OAUTH2_CLIENT_SECRET)
6565
clientSecret: rCnp5txobUo83EpQEblM8fVj3QT5zb5qRfxNsuPzCqZaiRyIoxM4jdgMiZKFfePBHYXCLd7B8NlkfDBY9HKeIQPcy5Cp08KQNpRHQbjpLItDHv12GvkSeXp6OxaUETv3
66+
bing:
67+
# Bing API KEY required by MapStore to enable Bing background layers
68+
apiKey: ""
69+
django:
70+
# django SECRET_KEY setting, recommended to set custom value for production
71+
secretKey: "myv-y4#7j-d*p-__@j#*3z@!y24fz8%^z2v6atuy4bo9vqr1_a"
6672

6773
resources:
6874
requests:

0 commit comments

Comments
 (0)