Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add geoserver printing host customiization #225

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

AlexGacon
Copy link
Collaborator

@AlexGacon AlexGacon commented Nov 26, 2024

Description

This PR completes the configuration of the printing service of GeoServer to works with the URL of GeoNode and adds the possibility to define additional hosts in the values.yaml file.

Type of Change

Please select the relevant option:

  • Bug fix
  • New feature
  • Documentation update
  • Refactoring
  • Other (please describe)

Related Issue

If there is an existing issue related to this pull request, please reference it here.

closes #223

Checklist

Please ensure that your pull request meets the following requirements:

  • The pull request is limited to one type (docs, feature, bug fix, etc.)
  • The pull request is as small as possible. Consider opening multiple pull requests instead of one large one.
  • The feature or bug fix has been discussed and documented in an issue beforehand.

Additional Notes

Any additional information or context regarding the pull request can be provided here.

Thank you for creating this pull request

Copy link
Contributor

@mwallschlaeger mwallschlaeger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AlexGacon for me its very unclear where all the configuration inside of the charts/geonode/templates/geoserver/geoserver-printing-config-yaml.yaml files comes from. Are this default values from the GeoServer or did you gather them by yourself?

#edit: ok after reading the related issue I fully overview the problem. Maybe you could at least add a header to the yaml file describing where the content is comming from and that its served or controlled by geonode-k8s helm chart. So people manually straving inside the geoserver container will know what they are looking at.

brokenUrlPlaceholder: 'default'
# brokenUrlPlaceholder: 'throw'

#proxyBaseUrl: http://geoserver:8080/geoserver/pdf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove commented code

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


#===========================================================================
# the list of allowed ips
#===========================================================================
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add some documentation here where this list is coming from?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation added and I have moved the custom part at the end of the list, with additional comments.

@AlexGacon
Copy link
Collaborator Author

@mwallschlaeger is the removal of notifier.xml ok for you?

@mwallschlaeger
Copy link
Contributor

@AlexGacon yes removing of the xml is fine, as its served via geoserver docker image

Copy link
Contributor

@mwallschlaeger mwallschlaeger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me now in total.

@mwallschlaeger mwallschlaeger merged commit 9fbb9b4 into zalf-rdm:main Nov 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: GeoServer print module configuration (allowed hosts)
2 participants