open-cluster-management-io / governance-policy-spec-sync Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.