Files
docker-cli/cli/command
Ying Li 4243440e1f Propagate the provided external CA certificate to the external CA object
in swarm.

Also, fix some CLI command confusions:
1. If the --external-ca flag is provided, require a --ca-cert flag as well, otherwise
   the external CA is set but the CA certificate is actually rotated to an internal
   cert
2. If a --ca-cert flag is provided, require a --ca-key or --external-ca flag be
   provided as well, otherwise either the server will say that the request is
   invalid, or if there was previously an external CA corresponding to the cert, it
   will succeed.  While that works, it's better to require the user to explicitly
   set all the parameters of the new desired root CA.

This also changes the `swarm update` function to set the external CA's CACert field,
which while not strictly necessary, makes the CA list more explicit.

Signed-off-by: Ying Li <ying.li@docker.com>
2018-07-02 17:14:21 -07:00
..
2018-06-08 18:24:26 +02:00
2018-06-08 18:24:26 +02:00
2018-06-08 18:24:26 +02:00
2018-06-08 18:24:26 +02:00
2018-06-14 15:48:21 +02:00
2018-06-08 18:24:26 +02:00
2018-06-08 18:24:26 +02:00
2018-06-08 18:24:26 +02:00
2018-06-08 18:24:26 +02:00
2018-06-08 18:24:26 +02:00
2018-06-08 18:24:26 +02:00
2018-06-08 18:24:26 +02:00
2018-06-08 18:24:26 +02:00
2017-09-01 19:41:06 -04:00
2017-05-03 18:41:19 -07:00
2017-09-01 19:41:06 -04:00
2018-06-08 18:24:26 +02:00
2017-05-03 18:41:19 -07:00