Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Workaround ns version handling issue #65

Merged
merged 1 commit into from
Apr 29, 2018
Merged

Workaround ns version handling issue #65

merged 1 commit into from
Apr 29, 2018

Conversation

marun
Copy link
Contributor

@marun marun commented Apr 28, 2018

I traced #64 to the version cache. I'll pursue a proper fix on Monday, but disabling the check for namespaces fixes the problem (at the cost of potentially performing some unnecessary updates).

cc: @font @onyiny-ang

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: marun

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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 28, 2018
Copy link
Contributor

@font font left a comment

Choose a reason for hiding this comment

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

/lgtm

// TODO(marun) Need to revisit how namespace deletion affects
// the version cache. Ignoring may cause some unnecessary
// updates, but that's better than looping endlessly.
if kind != federatedtypes.NamespaceKind {
Copy link
Contributor

Choose a reason for hiding this comment

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

There is federatedtypes.IsNameSpaceKind() if this ends up being used beyond just as a workaround.

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 29, 2018
@k8s-ci-robot k8s-ci-robot merged commit 7603b8c into kubernetes-retired:master Apr 29, 2018
@marun marun deleted the hack-ns-version branch May 30, 2018 23:55
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. 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.

None yet

3 participants