Users who want to theme/customize gangway can provide their own set of html/template templates by way of a configmap or shared volume with a sidecar (probably better). To use custom templates, they must set the customHTMLTemplatesDir option to the path of a directory that contains the templates.
Also changed our template rendering to use html/template instead of text/template when we render the HTML.
I haven't had a chance to do a complete test because I don't have an env with an oauth provider setup. Looking to do that next.
Users who want to theme/customize gangway can provide their own set of
html/template
templates by way of a configmap or shared volume with a sidecar (probably better). To use custom templates, they must set thecustomHTMLTemplatesDir
option to the path of a directory that contains the templates.Also changed our template rendering to use
html/template
instead oftext/template
when we render the HTML.I haven't had a chance to do a complete test because I don't have an env with an oauth provider setup. Looking to do that next.
Fixes #106