Allow the external CAs to be removed entirely using the CLI#1179
Conversation
all external CAs entirely. This will help for instance if rotating from a fully external CA to an internal CA (if the CA's cert and key are already in the swarm for instance). Signed-off-by: Ying Li <ying.li@docker.com>
|
Moving this back to design review for a bit; using an empty string to remove the external CA initially sounded dangerous to me (thinking of |
|
@thaJeztah The other option is to add another flag for clearing external CAs. |
|
Hm, right, so possibly Open to suggestions 👍 @vdemeester @silvin-lubecki @chris-crone ^^ happy to hear what you think |
|
I would definitely prefer |
|
Perhaps |
|
rebased in #6979, but not sure we still need it |
Allow setting --external-ca to an empty string, to allow for removing
all external CAs entirely. This will help for instance if rotating
from a fully external CA to an internal CA (if the CA's cert and
key are already in the swarm for instance).
Signed-off-by: Ying Li ying.li@docker.com
cc @billmills