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

[gc] cannot delete collection resource "daemonsets" #1140

Closed
lburgazzoli opened this issue Dec 12, 2019 · 0 comments · Fixed by #1150
Closed

[gc] cannot delete collection resource "daemonsets" #1140

lburgazzoli opened this issue Dec 12, 2019 · 0 comments · Fixed by #1150
Assignees
Milestone

Comments

@lburgazzoli
Copy link
Contributor

lburgazzoli commented Dec 12, 2019

On minikube v1.5.2 with camel-k 1.0.0-M5-SNAPSHOT (master), I see the following error:

{
    "level": "error",
    "ts": 1576185575.1529362,
    "logger": "camel-k.traits",
    "msg": "cannot delete child resources: extensions/v1beta1, Kind=DaemonSet",
    "trait": "gc",
    "api-version": "camel.apache.org/v1alpha1",
    "kind": "Integration",
    "ns": "default",
    "name": "sample",
    "error": "daemonsets.extensions is forbidden: User \"system:serviceaccount:default:camel-k-operator\" cannot deletecollection resource \"daemonsets\" in API group \"extensions\" in the namespace \"default\"",
    "stacktrace": "github.com/go-logr/zapr.(*zapLogger).Error\n\tjackfan.us.kg/go-logr/[email protected]/zapr.go:128\njackfan.us.kg/apache/camel-k/pkg/util/log.Logger.Errorf\n\tjackfan.us.kg/apache/camel-k@/pkg/util/log/log.go:61\njackfan.us.kg/apache/camel-k/pkg/trait.(*garbageCollectorTrait).deleteAllOf\n\tjackfan.us.kg/apache/camel-k@/pkg/trait/gc.go:168\njackfan.us.kg/apache/camel-k/pkg/trait.(*garbageCollectorTrait).garbageCollectResources\n\tjackfan.us.kg/apache/camel-k@/pkg/trait/gc.go:144"
}

/cc @astefanutti

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants