comma separated config becomes unwieldy with more than few certs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autocert-charm |
Fix Released
|
Medium
|
Unassigned |
Bug Description
At the moment cert_auth_pairs & cert_kubernetes
cert_auth_pairs: foo.example.
cert_
bar.example.
It would be preferred for readability and easy sorting if these could be yaml lists:
cert_auth_pairs:
- bar.example.
- baz.example.
- foo.example.
cert_
- bar.example.
- baz.example.
- foo.example.
Related branches
- Stuart Bishop (community): Approve
-
Diff: 131 lines (+37/-29)2 files modifiedconfig.yaml (+3/-0)
reactive/autocert.py (+34/-29)
summary: |
- yaml config becomes unwieldy with more than few certs + comma separated config becomes unwieldy with more than few certs |
Changed in autocert-charm: | |
status: | Triaged → Fix Committed |
Given the existing deployment and original support for comma separate lists, we'd need to also maintain backwards compatibility, however it should be possible to determine what type of content has been supplied and support both.