Skip to content

Copy Kubeadm userdata secret labels to CAPK secret.#164

Merged
k8s-ci-robot merged 2 commits into
kubernetes-sigs:mainfrom
pjaton:add-secret-labels
Aug 1, 2022
Merged

Copy Kubeadm userdata secret labels to CAPK secret.#164
k8s-ci-robot merged 2 commits into
kubernetes-sigs:mainfrom
pjaton:add-secret-labels

Conversation

@pjaton
Copy link
Copy Markdown
Contributor

@pjaton pjaton commented Jul 26, 2022

What this PR does / why we need it:

This ensures that the ...-userdata secret CAPK creates to enhance the cloud-init user data generated by Kubeadm has the same label(s) that the latter.

Currently, this results in these secrets getting the cluster.x-k8s.io/cluster-name=<cluster-name> label.

Which issue this PR fixes:

fixes #161

Release notes:

NONE

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 26, 2022
@k8s-ci-robot k8s-ci-robot requested review from agradouski and rmohr July 26, 2022 21:05
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 26, 2022
@coveralls
Copy link
Copy Markdown

coveralls commented Jul 26, 2022

Pull Request Test Coverage Report for Build 2753969306

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 46.327%

Totals Coverage Status
Change from base Build 2742217302: 0.03%
Covered Lines: 719
Relevant Lines: 1552

💛 - Coveralls

@agradouski
Copy link
Copy Markdown
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Jul 27, 2022
@agradouski
Copy link
Copy Markdown
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 27, 2022
Comment thread controllers/kubevirtmachine_controller_test.go Outdated
Comment thread controllers/kubevirtmachine_controller_test.go Outdated
Comment thread controllers/kubevirtmachine_controller_test.go Outdated
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 28, 2022
@agradouski
Copy link
Copy Markdown
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 29, 2022
Copy link
Copy Markdown
Contributor

@davidvossel davidvossel left a comment

Choose a reason for hiding this comment

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

/approve

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidvossel, pjaton

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 1, 2022
@k8s-ci-robot k8s-ci-robot merged commit f648582 into kubernetes-sigs:main Aug 1, 2022
@pjaton pjaton deleted the add-secret-labels branch August 1, 2022 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CAPK node's userdata secrets are missing label

6 participants