-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue#49 add a configurable fixture template (#50)
Issue#49 add a configurable fixture template
- Loading branch information
Showing
6 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ Helm Chart for Geonode | |
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| favicon | string | AAABAAMAEBAAAAEAIABoBA ... AAAA== | A base64 encoded favicon | | ||
| geonode.acme.email | string | `"[email protected]"` | the email to be used to gain certificates | | ||
| geonode.acme.enabled | bool | `false` | enables cert-manager to do ACME challenges (aka certificates via letsencrypt) | | ||
| geonode.acme.stageUrl | string | `"https://acme-staging-v02.api.letsencrypt.org/directory"` | ACME staging environment (use acme-staging to avoid running into rate limits) stageUrl: https://acme-v02.api.letsencrypt.org/directory | | ||
|
@@ -136,6 +137,7 @@ Helm Chart for Geonode | |
| geonode.uwsgi.processes | int | `128` | Maximum number of workers allowed | | ||
| geonode.uwsgi.reload_on_rss | int | `2048` | Restart workers after this much resident memory | | ||
| geonode.uwsgi.worker_reload_mercy | int | `60` | How long to wait before forcefully killing workers | | ||
| geonodeFixtures | map of fixture files | `{"somefixture.json":"[\n {\n \"pk\": 0,\n \"model\": \"myapp.sample\"\n \"description\": \"nice little content\"\n }\n]\n"}` | Fixture files which shall be made available under /usr/src/geonode/geonode/fixtures (refer to https://docs.djangoproject.com/en/4.2/howto/initial-data/) | | ||
| geoserver | object | `{"admin_password":"geoserver","admin_username":"admin","container_name":"geoserver","image":{"name":"geonode/geoserver","tag":"2.23.0"},"pod_name":"geoserver","port":8080,"resources":{"limits":{"cpu":2,"memory":"4Gi"},"requests":{"cpu":1,"memory":"1Gi"}}}` | CONFIGURATION FOR GEOSERVER DEPLOYMENT | | ||
| geoserver.admin_password | string | `"geoserver"` | geoserver admin password | | ||
| geoserver.admin_username | string | `"admin"` | geoserver admin username | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
deployment/geonode/templates/geonode/geonode-fixtures.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{{ if .Values.geonodeFixtures }} | ||
# fixture data for Django Geonode | ||
|
||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ .Release.Name }}-geonode-fixtures | ||
namespace: {{ .Release.Namespace }} | ||
data: | ||
{{ toYaml .Values.geonodeFixtures | nindent 2 }} | ||
|
||
{{ end }} |
Large diffs are not rendered by default.
Oops, something went wrong.