This pull request allows setting of the Rundeck app header title text by including a new environment variable GUI_BRAND_HTML in the /opt/run script.
Additions to the run script include:
Checks if the GUI_BRAND_HTML variable is set.
If GUI_BRAND_HTML is set, check if the property already exists in the file
If the property already exists in the file then use sed to replace with GUI_BRAND_HTML
Else if the property does not exist in the file use echo to append to the file
Additions to the README.md include:
Description of the new environment variable
A link to the relevant Rundeck documentation
A simple example
Escaping of the HTML depends on how the container is run, from the command line with docker run the HTML will need to be quoted like any other environment variable e.g.
docker run -e GUI_BRAND_HTML='<span class="hello">My Title</span>'
This pull request allows setting of the Rundeck app header title text by including a new environment variable GUI_BRAND_HTML in the /opt/run script.
Additions to the run script include:
Additions to the README.md include:
Escaping of the HTML depends on how the container is run, from the command line with docker run the HTML will need to be quoted like any other environment variable e.g.
In a docker-compose file it will not necessary.