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

[controlapi] Redact the cluster spec CA signing certificate when getting the cluster info #2263

Merged
merged 1 commit into from
Jun 16, 2017

Conversation

cyli
Copy link
Contributor

@cyli cyli commented Jun 16, 2017

Not because it's a secret, but otherwise the user flow of getting and updating the cluster spec would be problematic because the key is redacted but the cert is not - the user would be responsible for having to remove the cert instead to make sure this doesn't change the swarm CA key.

cc @aaronlehmann @andrewhsu @jlhawn

…er info,

because otherwise getting and updating would be problematic because the key
is redacted but the cert is not.

Signed-off-by: Ying Li <ying.li@docker.com>
@aaronlehmann
Copy link
Collaborator

LGTM

ping @diogomonica

@codecov
Copy link

codecov bot commented Jun 16, 2017

Codecov Report

Merging #2263 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #2263      +/-   ##
=========================================
+ Coverage   60.49%   60.5%   +0.01%     
=========================================
  Files         125     125              
  Lines       20390   20391       +1     
=========================================
+ Hits        12334   12337       +3     
- Misses       6658    6668      +10     
+ Partials     1398    1386      -12

@diogomonica diogomonica merged commit 7c25a45 into moby:master Jun 16, 2017
@cyli cyli deleted the redact-ca-spec-cert branch June 16, 2017 23:11
@aaronlehmann aaronlehmann added this to the 17.06 milestone Jun 19, 2017
@andrewhsu andrewhsu mentioned this pull request Jun 20, 2017
6 tasks
tiborvass pushed a commit to tiborvass/docker-ce that referenced this pull request Jun 20, 2017
Brings in these pull requests:
- moby/swarmkit#2224
- moby/swarmkit#2268
- moby/swarmkit#2263

Signed-off-by: Tibor Vass <tibor@docker.com>
silvin-lubecki pushed a commit to silvin-lubecki/docker-ce that referenced this pull request Feb 3, 2020
Brings in these pull requests:
- moby/swarmkit#2224
- moby/swarmkit#2268
- moby/swarmkit#2263

Signed-off-by: Tibor Vass <tibor@docker.com>
silvin-lubecki pushed a commit to silvin-lubecki/engine-extract that referenced this pull request Feb 3, 2020
Brings in these pull requests:
- moby/swarmkit#2224
- moby/swarmkit#2268
- moby/swarmkit#2263

Signed-off-by: Tibor Vass <tibor@docker.com>
silvin-lubecki pushed a commit to silvin-lubecki/engine-extract that referenced this pull request Mar 10, 2020
Brings in these pull requests:
- moby/swarmkit#2224
- moby/swarmkit#2268
- moby/swarmkit#2263

Signed-off-by: Tibor Vass <tibor@docker.com>
silvin-lubecki pushed a commit to silvin-lubecki/engine-extract that referenced this pull request Mar 23, 2020
Brings in these pull requests:
- moby/swarmkit#2224
- moby/swarmkit#2268
- moby/swarmkit#2263

Signed-off-by: Tibor Vass <tibor@docker.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants