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

User defined templates #715

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

Gavinok
Copy link
Contributor

@Gavinok Gavinok commented Feb 6, 2025

This PR attempts to resolve #713

There are now two supported options.

  1. Add overriding files to the ConfigMap for the deployment and the other requires users to

  2. Add additional build step in order to add their own html template directory to the controller image and change the environment variable CONTROLLER_TEMPLATE_DIR to point to their new template directory.

Why 2 Options
While option 1 prevents the need for additional build steps it is limited by the maximum size of a ConfigMap (1MB). Option 2 allows for more complex user made html templates but requires an additional build step.

@coveralls
Copy link

coveralls commented Feb 6, 2025

Pull Request Test Coverage Report for Build 13205375422

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 85.272%

Totals Coverage Status
Change from base Build 13186015975: 0.02%
Covered Lines: 689
Relevant Lines: 808

💛 - Coveralls

Signed-off-by: Gavin Jaeger-Freeborn <[email protected]>
@Gavinok Gavinok requested a review from loneil February 7, 2025 17:35
Gavinok and others added 4 commits February 7, 2025 09:35
@Gavinok Gavinok requested a review from esune February 7, 2025 18:31
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.

Allow customization of QR code page
2 participants