Skip to content

Commit

Permalink
Merge pull request #39 from 52North/main
Browse files Browse the repository at this point in the history
Temporary overloading entry point
  • Loading branch information
mwallschlaeger committed Aug 2, 2023
2 parents 8944c48 + 71f203e commit bf9865f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deployment/geonode/templates/geoserver/geoserver-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ spec:
containers:
- name: {{ .Values.geoserver.container_name }}
image: "{{ .Values.geoserver.image.name }}:{{ .Values.geoserver.image.tag }}"
# temporary overloading entry point to fix j2 template: https://github.com/GeoNode/geonode/issues/11318
command:
- sh
- -c
- |
{{`sed -i "s/db:5432/{{DATABASE_HOST}}:5432/g" /templates/geofence/geofence-datasource-ovr.properties.j2`}}
/usr/local/tomcat/tmp/entrypoint.sh
ports:
- containerPort: {{ .Values.geoserver.port }}
Expand Down

0 comments on commit bf9865f

Please sign in to comment.