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

endpoint: refactor how default policy enforcement configuration is performed #9120

Conversation

ianvernon
Copy link
Member

@ianvernon ianvernon commented Sep 3, 2019

Hide Endpoint locking semantics.

Signed-off by: Ian Vernon ian@cilium.io


This change is Reviewable

@ianvernon ianvernon added the kind/cleanup This includes no functional changes. label Sep 3, 2019
@ianvernon ianvernon requested a review from a team as a code owner September 3, 2019 19:26
@@ -2007,3 +1978,20 @@ func (e *Endpoint) Delete(monitor monitorOwner, ipam ipReleaser, manager endpoin

return errs
}

func (e *Endpoint) SetDefaultPolicyConfiguration(restore bool) {

Choose a reason for hiding this comment

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

exported method Endpoint.SetDefaultPolicyConfiguration should have comment or be unexported

@ianvernon ianvernon added the wip label Sep 3, 2019
@ianvernon ianvernon force-pushed the pr/ianvernon/refactor-default-policy-enforce-config-endpoint branch from dc2286f to 6f301db Compare September 3, 2019 19:32
@ianvernon
Copy link
Member Author

test-me-please

@ianvernon ianvernon added this to In progress in Endpoint Cleanup via automation Sep 3, 2019
@ianvernon ianvernon added this to the 1.7 milestone Sep 3, 2019
@coveralls
Copy link

coveralls commented Sep 3, 2019

Coverage Status

Coverage increased (+0.0005%) to 44.033% when pulling a492bf4 on pr/ianvernon/refactor-default-policy-enforce-config-endpoint into 88f3fd5 on master.

pkg/endpoint/endpoint.go Show resolved Hide resolved
…rformed

Hide Endpoint locking semantics.

Signed-off by: Ian Vernon <ian@cilium.io>
@ianvernon ianvernon force-pushed the pr/ianvernon/refactor-default-policy-enforce-config-endpoint branch from 6f301db to a492bf4 Compare September 5, 2019 14:22
@ianvernon
Copy link
Member Author

test-me-please

@ianvernon
Copy link
Member Author

@ianvernon
Copy link
Member Author

test-me-please

@ianvernon
Copy link
Member Author

More apt fun:

07:47:46      k8s2-1.15: Failed to stat /var/lib/apt/lists/partial/ppa.launchpad.net_projectatomic_ppa_ubuntu_dists_bionic_main_i18n_Translation-en - pkgAcqTransactionItem::TransactionState-stat (2: No such file or directory)

@ianvernon
Copy link
Member Author

test-me-please

3 similar comments
@ianvernon
Copy link
Member Author

test-me-please

@ianvernon
Copy link
Member Author

test-me-please

@ianvernon
Copy link
Member Author

test-me-please

@ianvernon ianvernon merged commit 547ef22 into master Sep 5, 2019
Endpoint Cleanup automation moved this from In progress to Done Sep 5, 2019
@ianvernon ianvernon deleted the pr/ianvernon/refactor-default-policy-enforce-config-endpoint branch September 5, 2019 19:31
@joestringer joestringer added the release-note/misc This PR makes changes that have no direct user impact. label Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup This includes no functional changes. release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants