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
add namespaceOverride support for privateRegistry #1050
Conversation
Thanks for your contribution! |
Could you please update this example file? https://github.com/kubesphere/kubekey/blob/master/docs/config-example.md |
ok |
@@ -177,6 +177,7 @@ type RegistryConfig struct { | |||
RegistryMirrors []string `yaml:"registryMirrors" json:"registryMirrors,omitempty"` | |||
InsecureRegistries []string `yaml:"insecureRegistries" json:"insecureRegistries,omitempty"` | |||
PrivateRegistry string `yaml:"privateRegistry" json:"privateRegistry,omitempty"` | |||
NamespaceOverride string `yaml:"namespaceOverride" json:"namespaceOverride,omitempty"` |
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.
The v1alpha1
version of the struct does not require this field. You can remove it.
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.
done
@@ -255,6 +255,8 @@ spec: | |||
type: array | |||
privateRegistry: | |||
type: string | |||
namespaceOverride: |
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.
This field also can be removed. The reason is the same as above.
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.
done
manifests/deploy.yaml
Outdated
@@ -184,6 +184,8 @@ spec: | |||
type: array | |||
privateRegistry: | |||
type: string | |||
namespaceOverride: |
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.
This field also can be removed. The reason is the same as above. And I will update this deploy file later.
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.
done
@life- |
@24sama Thanks for your code review, I have already done the change according to your review comments. Pls have a look. |
Hi @life- |
remove namespaceOverride in v1alpha1
ok, I have squashed my commits as one commit. Thanks! @24sama |
Thanks @life- |
LGTM label has been added. Git tree hash: 371ea2d4311b1837bc5e48f7785caddf7308f759
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 24sama, life- 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 |
/cherrypick release-2.0 |
@24sama: new pull request created: #1058 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Fix #940