You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Import of controller-runtime calls flag for "kubeconfig" #1396
kind/featureCategorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.
Of course we are able to workaround it by not directly using the functions via alias.go but I think this is against the reasons why it does exist?
One alternative would be to define a RegisterFlag function instead of defining the flag via func init() {...}, however this leads to a breaking change.
Addition: the same thing happens when importing sigs.k8s.io/cluster-api/api/v1alpha4 (sorry, I did write cluster-api-provider-openstack here first but mixed up the repos).
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
Should we close this issue now that #1999 has been merged? Or should we keep this issue open until the init function is removed completely (if this is desired at all)?
Should we close this issue now that #1999 has been merged? Or should we keep this issue open until the init function is removed completely (if this is desired at all)?
Sorry for the late reply. I'm not sure if we want to drop the init function.
Pro:
it would be better if no flags are just implicitly registered because someone imports the config package
Con:
nobody seems to complain about it so it seems to work for most people
On the other hand, I think almost all controller are just run inside of a Pod and barely anyone is using a --kubeconfig command line flag.
IIRC component-base/logs also dropped the implicit registering of flags. So I'm slightly in favor of getting rid of the implicit flag registration (after whatever deprecation period / release notes it is appropriate)
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.
kind/featureCategorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.
Activity
chrischdi commentedon Feb 25, 2021
Addition: the same thing happens when importing
sigs.k8s.io/cluster-api/api/v1alpha4(sorry, I did writecluster-api-provider-openstackhere first but mixed up the repos).fejta-bot commentedon May 26, 2021
Issues go stale after 90d of inactivity.
Mark the issue as fresh with
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with
/close.Send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
chrischdi commentedon Jun 2, 2021
/remove-lifecycle stale
k8s-triage-robot commentedon Aug 31, 2021
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/staleis appliedlifecycle/stalewas applied,lifecycle/rottenis appliedlifecycle/rottenwas applied, the issue is closedYou can:
/remove-lifecycle stale/lifecycle rotten/closePlease send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
chrischdi commentedon Aug 31, 2021
/remove-lifecycle stale
palnabarun commentedon Oct 6, 2021
/kind feature
k8s-triage-robot commentedon Jan 4, 2022
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/staleis appliedlifecycle/stalewas applied,lifecycle/rottenis appliedlifecycle/rottenwas applied, the issue is closedYou can:
/remove-lifecycle stale/lifecycle rotten/closePlease send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
chrischdi commentedon Jan 18, 2022
/remove-lifecycle stale
4 remaining items
k8s-triage-robot commentedon Jul 19, 2022
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/staleis appliedlifecycle/stalewas applied,lifecycle/rottenis appliedlifecycle/rottenwas applied, the issue is closedYou can:
/remove-lifecycle stale/lifecycle rotten/closePlease send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
mk46 commentedon Jul 19, 2022
/remove-lifecycle stale
johannesfrey commentedon Sep 13, 2022
FYI: I created following PR: #1999
johannesfrey commentedon Oct 27, 2022
Should we close this issue now that #1999 has been merged? Or should we keep this issue open until the init function is removed completely (if this is desired at all)?
k8s-triage-robot commentedon Jan 25, 2023
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/staleis appliedlifecycle/stalewas applied,lifecycle/rottenis appliedlifecycle/rottenwas applied, the issue is closedYou can:
/remove-lifecycle stale/lifecycle rotten/closePlease send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
k8s-triage-robot commentedon Feb 24, 2023
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/staleis appliedlifecycle/stalewas applied,lifecycle/rottenis appliedlifecycle/rottenwas applied, the issue is closedYou can:
/remove-lifecycle rotten/closePlease send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
sbueringer commentedon Mar 2, 2023
Sorry for the late reply. I'm not sure if we want to drop the init function.
Pro:
Con:
On the other hand, I think almost all controller are just run inside of a Pod and barely anyone is using a --kubeconfig command line flag.
IIRC component-base/logs also dropped the implicit registering of flags. So I'm slightly in favor of getting rid of the implicit flag registration (after whatever deprecation period / release notes it is appropriate)
@alvaroaleman @vincepri WDYT?
k8s-triage-robot commentedon Apr 1, 2023
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/staleis appliedlifecycle/stalewas applied,lifecycle/rottenis appliedlifecycle/rottenwas applied, the issue is closedYou can:
/reopen/remove-lifecycle rottenPlease send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
k8s-ci-robot commentedon Apr 1, 2023
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
Details
In response to this:
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.