-
Notifications
You must be signed in to change notification settings - Fork 40
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
feat: CRI support configure https registry #290
Conversation
Codecov Report
@@ Coverage Diff @@
## master #290 +/- ##
==========================================
- Coverage 13.23% 12.98% -0.26%
==========================================
Files 98 99 +1
Lines 15214 15522 +308
==========================================
+ Hits 2014 2015 +1
- Misses 12960 13265 +305
- Partials 240 242 +2
|
/cc @lixd |
pkg/scheme/core/v1/cluster_types.go
Outdated
@@ -38,7 +39,7 @@ type Cluster struct { | |||
// move offline to metadata annotation | |||
// Offline bool `json:"offline" optional:"true"` | |||
LocalRegistry string `json:"localRegistry,omitempty" optional:"true"` | |||
Masters WorkerNodeList `json:"masters"` | |||
Masters WorkerNodeList `json:"massters"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo error
pkg/scheme/core/v1/cri/docker.go
Outdated
"time" | ||
|
||
"github.com/docker/docker/daemon/config" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use map[string]interface unmarshall docker config, add update value of map[insecure-registryies]
Signed-off-by: lyp256 <lyp256@qq.com>
Signed-off-by: lyp256 <lyp256@qq.com>
Signed-off-by: lyp256 <lyp256@qq.com>
Signed-off-by: lyp256 <lyp256@qq.com>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lyp256, x893675 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
LGTM label has been added. Git tree hash: 788ee30a5deae9079ed2dc07cd46ed27114d366d
|
Signed-off-by: lyp256 lyp256@qq.com
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #287
Special notes for reviewers:
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.: