Merge ~twom/charm-k8s-ingress:allow-disabling-rewrite into charm-k8s-ingress:master
Proposed by
Tom Wardill
Status: | Merged |
---|---|
Approved by: | Jon Seager |
Approved revision: | 2d86f0294516e38f3d09d8e6620963f141dc63a5 |
Merged at revision: | 1562894c58139f79caa7b83b606496e77058bc94 |
Proposed branch: | ~twom/charm-k8s-ingress:allow-disabling-rewrite |
Merge into: | charm-k8s-ingress:master |
Diff against target: |
157 lines (+82/-3) 4 files modified
config.yaml (+8/-0) lib/charms/nginx_ingress_integrator/v0/ingress.py (+4/-0) src/charm.py (+21/-3) tests/unit/test_charm.py (+49/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
ingress-charmers | Pending | ||
Review via email: mp+403274@code.launchpad.net |
Commit message
Allow disabling and setting the rewrite target
Description of the change
Add a setting for disabling the rewrite annotation, and another to allow the target to be overridden.
Default to 'on' and '/'.
Some complications around handling the boolean value which there might be a better way of doing, but I'm not sure about the data types we can guarantee.
To post a comment you must log in.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.