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

Unify config name and format #2843

Merged
merged 1 commit into from
Sep 28, 2021
Merged

Unify config name and format #2843

merged 1 commit into from
Sep 28, 2021

Conversation

ksamoray
Copy link
Contributor

Use same naming and format convention for for NodeIPAM as it is for
other Antrea features.

Fixes: #2839

@ksamoray ksamoray requested a review from tnqn September 26, 2021 13:02
@codecov-commenter
Copy link

codecov-commenter commented Sep 26, 2021

Codecov Report

Merging #2843 (eca2316) into main (e880406) will increase coverage by 19.35%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #2843       +/-   ##
===========================================
+ Coverage   40.90%   60.25%   +19.35%     
===========================================
  Files         158      284      +126     
  Lines       19539    23470     +3931     
===========================================
+ Hits         7992    14142     +6150     
+ Misses      10798     7827     -2971     
- Partials      749     1501      +752     
Flag Coverage Δ
kind-e2e-tests 47.34% <ø> (?)
unit-tests 40.88% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/agent/memberlist/cluster.go 70.19% <0.00%> (-1.93%) ⬇️
pkg/apiserver/handlers/webhook/convert_crd.go 2.56% <0.00%> (ø)
pkg/apiserver/handlers/webhook/mutation_labels.go 24.71% <0.00%> (ø)
...lientset/versioned/typed/security/v1alpha1/tier.go 27.39% <0.00%> (ø)
pkg/apiserver/apiserver.go 87.50% <0.00%> (ø)
pkg/agent/apiserver/apiserver.go 69.56% <0.00%> (ø)
pkg/legacyapis/stats/install/install.go 100.00% <0.00%> (ø)
pkg/ipfix/ipfix_collector.go 77.77% <0.00%> (ø)
pkg/controller/crdmirroring/crdhandler/ops.go 12.96% <0.00%> (ø)
pkg/legacyapis/stats/register.go 81.81% <0.00%> (ø)
... and 225 more

ServiceCIDR string `yaml:"serviceCIDR,omitempty"`
SecondaryServiceCIDR string `yaml:"secondaryServiceCIDR,omitempty"`
ServiceCIDR string `yaml:"serviceCIDR,omitempty"`
ServiceCIDRv6 string `yaml:"ServiceCIDRv6,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ServiceCIDRv6 string `yaml:"ServiceCIDRv6,omitempty"`
ServiceCIDRv6 string `yaml:"serviceCIDRv6,omitempty"`

netutils "k8s.io/utils/net"
"net"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style broken

@ksamoray ksamoray force-pushed the nodeipam-config branch 2 times, most recently from eca2316 to 9a1ab8d Compare September 27, 2021 15:42
Copy link
Member

@tnqn tnqn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, DCO check failed

Use same naming and format convention for for NodeIPAM as it is for
other Antrea features.

Fixes: antrea-io#2839
Signed-off-by: Kobi Samoray <[email protected]>
@tnqn
Copy link
Member

tnqn commented Sep 28, 2021

/test-all

@tnqn tnqn merged commit 5480b68 into antrea-io:main Sep 28, 2021
@ksamoray ksamoray deleted the nodeipam-config branch September 28, 2021 11:52
antoninbas pushed a commit that referenced this pull request Oct 20, 2022
Use same naming and format convention for for NodeIPAM as it is for
other Antrea features.

Fixes: #2839
Signed-off-by: Kobi Samoray <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unify config name and format?
3 participants