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

pkg/identity: Add missing labels to well-known identities #16585

Merged

Conversation

mauriciovasquezbernal
Copy link
Contributor

Kubernetes 1.21 automatically adds a new label to all namespaces when
the NamespaceDefaultLabelName feature gate is enabled.
(https://kubernetes.io/docs/concepts/overview/_print/#automatic-labelling)

This commit adds an additional entry for all well-known identities
adding that label.

@mauriciovasquezbernal mauriciovasquezbernal requested review from a team June 17, 2021 17:15
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jun 17, 2021
pkg/k8s/apis/cilium.io/const.go Outdated Show resolved Hide resolved
pkg/identity/numericidentity.go Outdated Show resolved Hide resolved
pkg/identity/numericidentity.go Outdated Show resolved Hide resolved
@aanm aanm added needs-backport/1.10 release-note/bug This PR fixes an issue in a previous release of Cilium. labels Jun 17, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jun 17, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.10.2 Jun 17, 2021
@mauriciovasquezbernal mauriciovasquezbernal force-pushed the mauricio/add-missing-label-well-known-identities branch 2 times, most recently from 6324f2f to 717d35c Compare June 18, 2021 14:50
@jrajahalme jrajahalme requested a review from aanm June 22, 2021 17:15
Copy link
Member

@jrajahalme jrajahalme left a comment

Choose a reason for hiding this comment

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

IMO I should not be the one to approve this, one comment for others to chime in.

pkg/identity/numericidentity.go Show resolved Hide resolved
pkg/identity/numericidentity.go Show resolved Hide resolved
@aanm aanm added this to Needs backport from master in 1.10.3 Jul 2, 2021
@aanm aanm removed this from Needs backport from master in 1.10.2 Jul 2, 2021
Copy link
Member

@brb brb left a comment

Choose a reason for hiding this comment

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

What I'm missing is a basic explanation why we should add those labels.

@aanm
Copy link
Member

aanm commented Jul 14, 2021

test-me-please

@aanm aanm added this to Needs backport from master in 1.10.4 Jul 15, 2021
@aanm aanm removed this from Needs backport from master in 1.10.3 Jul 15, 2021
@brb brb removed their assignment Jul 19, 2021
@stale
Copy link

stale bot commented Aug 21, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale. label Aug 21, 2021
@joestringer joestringer added this to Needs backport from master in 1.10.5 Sep 1, 2021
@joestringer joestringer removed this from Needs backport from master in 1.10.4 Sep 1, 2021
@rscampos rscampos mentioned this pull request Sep 7, 2021
9 tasks
@aanm
Copy link
Member

aanm commented Sep 20, 2021

@mauriciovasquezbernal can you rebase the PR so that we can re-run the tests again? Thank you

@stale stale bot removed the stale The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale. label Sep 20, 2021
Kubernetes 1.21 automatically adds a new label to all namespaces when
the NamespaceDefaultLabelName feature gate is enabled.
(https://kubernetes.io/docs/concepts/overview/_print/#automatic-labelling)

This commit adds an additional entry for all well-known identities
adding that label.

Signed-off-by: Mauricio Vásquez <mauricio@accuknox.com>
Signed-off-by: Mauricio Vásquez <mauricio@kinvolk.io>
@mauriciovasquezbernal mauriciovasquezbernal force-pushed the mauricio/add-missing-label-well-known-identities branch from 717d35c to c0c91d3 Compare September 20, 2021 14:43
@mauriciovasquezbernal
Copy link
Contributor Author

@aanm done.

@aanm
Copy link
Member

aanm commented Sep 20, 2021

test-me-please

Job 'Cilium-PR-K8s-1.16-net-next' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sBookInfoDemoTest Bookinfo Demo Tests bookinfo demo

Failure Output

FAIL: DNS entry is not ready after timeout

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.16-net-next so I can create a new GitHub issue to track it.

@aanm
Copy link
Member

aanm commented Sep 22, 2021

although some tests have failed they are likely flakes since for other kubernetes versions they have not failed.

@aanm aanm merged commit b281dd7 into cilium:master Sep 22, 2021
@mauriciovasquezbernal mauriciovasquezbernal deleted the mauricio/add-missing-label-well-known-identities branch September 22, 2021 12:10
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport done to v1.10 in 1.10.5 Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/bug This PR fixes an issue in a previous release of Cilium.
Projects
No open projects
1.10.5
Backport done to v1.10
Development

Successfully merging this pull request may close these issues.

None yet

5 participants