geonetwork / geonetwork-helm-charts

Repository for hosting helm charts regarding GeoNetwork organization.
3 stars 4 forks source link

Path configuration issue #3

Closed fpaparoni closed 1 year ago

fpaparoni commented 1 year ago

I'm using the helm chart and I modified only the ingress part to be publish it on my server

ingress:
  enabled: true
  annotations: 
    cert-manager.io/cluster-issuer: letsencrypt-http01-prod 
    nginx.ingress.kubernetes.io/proxy-buffer-size: "128k"
  hosts:
    - host: geonetwork.myhost.com
      paths:
        - "/datahub"
  tls: 
    - secretName: geonetwork-myhost-com-key-pair
      hosts:
        - geonetwork.myhost.com
  className: "external-nginx"

The application starts and it's available using https://geonetwork.myhost.com/datahub but in the homepage I receive an error

An error was received Http failure response for https://geonetwork.myhost.com/geonetwork/srv/api/me: 404 Not Found

Is there some additional configuration in this chart that can be used to manage the relative path?

fpaparoni commented 1 year ago

Ok I found the required settings

extra_environment: 
   - name: GN4_API_URL
     value: "https://geonetwork.myhost.com/mycustomservice/geonetwork/srv/api"
edevosc2c commented 1 year ago

hello, I think we probably need to add the support for this configuration because it's a major parameter for having datahub functioning.

I have created an issue: https://github.com/geonetwork/geonetwork-helm-charts/issues/5