Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[incubator/kube-registry-proxy] Update DaemonSet apiVersion to 'apps/v1' - Mandatory for K8s 1.16 #20892

Merged
merged 2 commits into from
Jun 2, 2020

Conversation

t83714
Copy link
Contributor

@t83714 t83714 commented Feb 19, 2020

What this PR does / why we need it:

There are several deprecations in the API introduced in K8s 1.16 (see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.16.md#deprecations-and-removals) which affect our manifests.

  • This PR changes [incubator/kube-registry-proxy] DaemonSet apiVersion to apps/v1.
  • Also, as of Kubernetes 1.8, you must specify a pod selector that matches the labels of the .spec.template(see here).
    This PR also adds proper selector value to [incubator/kube-registry-proxy] DaemonSet.

Checklist

  • DCO signed
  • Chart Version bumped
  • Variables are documented in the README.md
  • Title of the PR starts with chart name (e.g. [stable/mychartname])

…v1' - Mandatory for K8s 1.16

Signed-off-by: Jacky Jiang <[email protected]>
@helm-bot helm-bot added Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 19, 2020
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Feb 19, 2020
@k8s-ci-robot
Copy link
Contributor

Hi @t83714. Thanks for your PR.

I'm waiting for a helm member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@t83714
Copy link
Contributor Author

t83714 commented Feb 19, 2020

/assign @scottrigby

…e labels of the .spec.template.

This fix the issue with creating DaemonSet through new `apps/v1` api.

Signed-off-by: Jacky Jiang <[email protected]>
@zanhsieh
Copy link
Collaborator

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Feb 27, 2020
@stale
Copy link

stale bot commented Mar 28, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 28, 2020
@t83714
Copy link
Contributor Author

t83714 commented Mar 29, 2020

@scottrigby
Could you have a look at this PR when you got a chance?
Thanks a lot!

@stale stale bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 29, 2020
@stale
Copy link

stale bot commented Apr 28, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 28, 2020
@t83714
Copy link
Contributor Author

t83714 commented Apr 28, 2020

Hi @zanhsieh
Any chance you could help to have a look at this one?
Thanks a lot!

@stale stale bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 28, 2020
@zanhsieh
Copy link
Collaborator

@stale
Copy link

stale bot commented May 30, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 30, 2020
@t83714
Copy link
Contributor Author

t83714 commented May 30, 2020

@maorfr could you please help to lgtm this PR? Thanks

@stale stale bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 30, 2020
@t83714
Copy link
Contributor Author

t83714 commented May 30, 2020

/assign @maorfr

@davidkarlsen
Copy link
Member

/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidkarlsen, t83714

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. labels Jun 2, 2020
@k8s-ci-robot k8s-ci-robot merged commit 2cea7e0 into helm:master Jun 2, 2020
irlevesque pushed a commit to quantopian/charts that referenced this pull request Jul 13, 2020
…v1' - Mandatory for K8s 1.16 (helm#20892)

* [incubator/kube-registry-proxy] Update DaemonSet apiVersion to 'apps/v1' - Mandatory for K8s 1.16

Signed-off-by: Jacky Jiang <[email protected]>

* As of Kubernetes 1.8, you must specify a pod selector that matches the labels of the .spec.template.
This fix the issue with creating DaemonSet through new `apps/v1` api.

Signed-off-by: Jacky Jiang <[email protected]>
includerandom pushed a commit to includerandom/helm_charts that referenced this pull request Jul 19, 2020
…v1' - Mandatory for K8s 1.16 (helm#20892)

* [incubator/kube-registry-proxy] Update DaemonSet apiVersion to 'apps/v1' - Mandatory for K8s 1.16

Signed-off-by: Jacky Jiang <[email protected]>

* As of Kubernetes 1.8, you must specify a pod selector that matches the labels of the .spec.template.
This fix the issue with creating DaemonSet through new `apps/v1` api.

Signed-off-by: Jacky Jiang <[email protected]>
li-adrienloiseau pushed a commit to li-adrienloiseau/charts that referenced this pull request Jul 29, 2020
…v1' - Mandatory for K8s 1.16 (helm#20892)

* [incubator/kube-registry-proxy] Update DaemonSet apiVersion to 'apps/v1' - Mandatory for K8s 1.16

Signed-off-by: Jacky Jiang <[email protected]>

* As of Kubernetes 1.8, you must specify a pod selector that matches the labels of the .spec.template.
This fix the issue with creating DaemonSet through new `apps/v1` api.

Signed-off-by: Jacky Jiang <[email protected]>
Signed-off-by: Adrien Loiseau <[email protected]>
mmingorance-dh pushed a commit to mmingorance-dh/charts that referenced this pull request Aug 28, 2020
…v1' - Mandatory for K8s 1.16 (helm#20892)

* [incubator/kube-registry-proxy] Update DaemonSet apiVersion to 'apps/v1' - Mandatory for K8s 1.16

Signed-off-by: Jacky Jiang <[email protected]>

* As of Kubernetes 1.8, you must specify a pod selector that matches the labels of the .spec.template.
This fix the issue with creating DaemonSet through new `apps/v1` api.

Signed-off-by: Jacky Jiang <[email protected]>
Signed-off-by: Miguel Mingorance <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). lgtm Indicates that a PR is ready to be merged. ok-to-test size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants