Skip to content

Commit

Permalink
Fixes PYCSW server url composition (#200)
Browse files Browse the repository at this point in the history
Co-authored-by: Alessio Cruciani <[email protected]>
  • Loading branch information
AleMScof and Alessio Cruciani committed Jul 10, 2024
1 parent d0e27a0 commit 1ed0ad6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/geonode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Helm Chart for Geonode. Supported versions: Geonode: 4.3.0, Geoserver: 2.24.3-v1
| pycsw.config | string | based of pycsw example.cfg: https://github.com/geopython/pycsw/blob/master/docker/pycsw.cfg | pycsw config file parameters, see docs: https://docs.pycsw.org/_/downloads/en/latest/pdf/ |
| pycsw.container_name | string | `"pycsw"` | pycsw container name |
| pycsw.enabled | bool | `true` | enable single pycsw pod |
| pycsw.endpoint | string | `"/catalogue/csw"` | pycsw url below geonode.ingress.externalDomain |
| pycsw.endpoint | string | `"/catalogue/csw"` | pycsw url below geonode.general.externalDomain |
| pycsw.image.name | string | `"geopython/pycsw"` | pycsw docker image |
| pycsw.image.tag | string | `"2.6.1"` | pycsw docker image tag |
| pycsw.imagePullPolicy | string | `"IfNotPresent"` | pycsw image pull policy |
Expand Down Expand Up @@ -236,4 +236,4 @@ Helm Chart for Geonode. Supported versions: Geonode: 4.3.0, Geoserver: 2.24.3-v1
| rabbitmq.requests.memory | string | `"1Gi"` | requested memory as in resource.requests.memory (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
2 changes: 1 addition & 1 deletion charts/geonode/templates/pycsw/pycsw-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
name: {{ include "pycsw_pod_name" . }}-env
env:
- name: PYCSW_SERVER_URL
value: "{{ .Values.geonode.ingress.externalScheme}}://{{ .Values.geonode.ingress.externalDomain }}{{ .Values.pycsw.endpoint }}"
value: "{{ include "public_url" . }}{{ .Values.pycsw.endpoint }}"
- name: GEONODE_DATABASE_PASSWORD
valueFrom:
secretKeyRef:
Expand Down
2 changes: 1 addition & 1 deletion charts/geonode/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ pycsw:
imagePullSecret: ""
# -- pycsw endpoint port
port: 8000
# -- pycsw url below geonode.ingress.externalDomain
# -- pycsw url below geonode.general.externalDomain
endpoint: /catalogue/csw
resources:
requests:
Expand Down
3 changes: 2 additions & 1 deletion docs/minikube-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ View and edit the predefined minikube values under /minikube-values.yaml
## Run Installation

To run the installation on minikube run:

```bash
helm upgrade --cleanup-on-fail --install --namespace geonode --create-namespace --values minikube-values.yaml geonode charts/geonode
```
Expand Down Expand Up @@ -82,7 +83,7 @@ kubectl -n geonode logs pod/geonode-geonode-0 -f

## Expose Service to outside world

This installation requires to access geonode via "geonode" (or the value in .Values.geonode.ingress.externalDomain) dns entry. So, add an entry to your /etc/hosts. First of all find the related ip addr from kubernetes service like:
This installation requires to access geonode via "geonode" (or the value in .Values.geonode.general.externalDomain) dns entry. So, add an entry to your /etc/hosts. First of all find the related ip addr from kubernetes service like:

```bash
# list all services in geonode namespace
Expand Down

0 comments on commit 1ed0ad6

Please sign in to comment.