Giter VIP home page Giter VIP logo

governance-policy-spec-sync's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

governance-policy-spec-sync's Issues

failed to list *v1.Secret: secrets "policy-encryption-key" is forbidden

The governance-policy-spec-sync pods on the managed cluster keep restarting and the STATUS has always been CrashLoopBackOff

$ kubectl logs governance-policy-spec-sync-55c5948f8b-pcznl -n open-cluster-management-agent-addon
2022-04-27T01:26:16.932Z	info	controller.secret	controller/controller.go:234	Starting EventSource	{"reconciler group": "", "reconciler kind": "Secret", "source": "kind source: *v1.Secret"}
2022-04-27T01:26:16.932Z	info	controller.secret	controller/controller.go:234	Starting Controller	{"reconciler group": "", "reconciler kind": "Secret"}
2022-04-27T01:26:16.933Z	info	controller.policy	controller/controller.go:234	Starting EventSource	{"reconciler group": "policy.open-cluster-management.io", "reconciler kind": "Policy", "source": "kind source: *v1.Policy"}
2022-04-27T01:26:16.933Z	info	controller.policy	controller/controller.go:234	Starting Controller	{"reconciler group": "policy.open-cluster-management.io", "reconciler kind": "Policy"}
2022-04-27T01:26:16.959Z	info	klog	cache/reflector.go:324	pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:167: failed to list *v1.Secret: secrets "policy-encryption-key" is forbidden: User "system:serviceaccount:open-cluster-management-agent-addon:governance-policy-spec-sync" cannot list resource "secrets" in API group "" in the namespace "kind-hub1-cluster1"
2022-04-27T01:26:16.968Z	error	klog	cache/reflector.go:138	pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:167: Failed to watch *v1.Secret: failed to list *v1.Secret: secrets "policy-encryption-key" is forbidden: User "system:serviceaccount:open-cluster-management-agent-addon:governance-policy-spec-sync" cannot list resource "secrets" in API group "" in the namespace "kind-hub1-cluster1"

k8s.io/client-go/tools/cache.DefaultWatchErrorHandler

Its STATUS keeps Running after I add the list verb of secrets policy-encryption-key for the governance-policy-spec-sync ClusterRole.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.