Skip to content

Commit

Permalink
Temporary overloading entry point
Browse files Browse the repository at this point in the history
Closes #37
  • Loading branch information
ridoo committed Aug 2, 2023
1 parent 24b4b10 commit 71f203e
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 71f203e

Please sign in to comment.