Skip to content

Commit

Permalink
Merge branch 'main' into issue_#177_Feature_refector_nginx_deployment…
Browse files Browse the repository at this point in the history
…_pycsw_geoserver
  • Loading branch information
mwallschlaeger authored Jul 10, 2024
2 parents d5af129 + a9ceab7 commit e421250
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 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)
5 changes: 4 additions & 1 deletion charts/geonode/templates/geoserver/geoserver-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ spec:
- name: "{{ include "persistant_volume_name" . }}"
mountPath: /geoserver_data/data
subPath: geoserver-data-dir

- name: "{{ include "persistant_volume_name" . }}"
mountPath: /mnt/volumes/statics
subPath: statics

readinessProbe:
tcpSocket:
port: {{ .Values.geoserver.port }}
Expand Down
6 changes: 1 addition & 5 deletions charts/geonode/templates/nginx/nginx-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ spec:
imagePullPolicy: {{ .Values.nginx.imagePullPolicy }}
ports:
- name: http
{{- if (eq .Values.geonode.general.externalScheme "https" )}}
containerPort: 443
{{- else }}
containerPort: 80
{{- end }}

volumeMounts:
- name: "{{ include "persistant_volume_name" . }}"
Expand All @@ -50,7 +46,7 @@ spec:
httpGet:
path: /
port: http
initialDelaySeconds: 15
initialDelaySeconds: 45
timeoutSeconds: 5

resources:
Expand Down
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 e421250

Please sign in to comment.