zalf-rdm / geonode-k8s

A Kubernetes helm chart for the geospacial webapplication Geonode
https://geonode-k8s.readthedocs.io/en/latest/
GNU General Public License v2.0
13 stars 8 forks source link

Task: Remove ingress externalPort parameter #48

Closed ridoo closed 1 year ago

ridoo commented 1 year ago

Task Description

geonode.ingress.externalPort had to be set as mandatory parameter. This was due to mistakenly usage as ingress target port. However, now it can be optional.

Additional Information

ridoo commented 1 year ago

@mwallschlaeger can you confirm that geonode.ingress.externalPort even could be removed? I mean, would you run the whole GeoNode Application over a different port than 80 or 443? For these the http scheme should define the port implicitly.

In those cases GEONODE_LB_PORT is set to either 80 or 443 GeoNode's setup logic leaves it empty. For PUBLIC_PORT I did not find any reference which uses/reads it :shrug: . It seems to be a relict, and gets replaced by GEONODE_LB_PORT if set, anyways.

mwallschlaeger commented 1 year ago

yes i can confirm a static variable would be fine

ridoo commented 1 year ago

You mean it is ok to remove it completely from the setup, right?

mwallschlaeger commented 1 year ago

yes we can