From 2083314c0358103f4b9e15b2d72c994f2a6eb33b Mon Sep 17 00:00:00 2001 From: B1F030 <646337422@qq.com> Date: Mon, 30 Sep 2024 16:24:37 +0800 Subject: [PATCH] add docs for karmada components-rbac Signed-off-by: B1F030 <646337422@qq.com> --- docs/reference/components-privileges.md | 81 +++++++++++++++++++++++++ sidebars.js | 3 +- 2 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 docs/reference/components-privileges.md diff --git a/docs/reference/components-privileges.md b/docs/reference/components-privileges.md new file mode 100644 index 00000000..d78fee6d --- /dev/null +++ b/docs/reference/components-privileges.md @@ -0,0 +1,81 @@ +--- +title: Components Privileges +--- + +### karmada-operator +```yaml + - apiGroups: + - "autoscaling.karmada.io" + resources: + - cronfederatedhpas + - cronfederatedhpas/status + - federatedhpas + - federatedhpas/status + verbs: + - get + - list + - watch + - apiGroups: + - "cluster.karmada.io" + resources: + - clusters + - clusters/status + verbs: + - get + - list + - watch + - apiGroups: + - "certificates.k8s.io" + resources: + - certificatesigningrequests + - certificatesigningrequests/status + verbs: + - get + - list + - watch + - apiGroups: + - "multicluster.x-k8s.io" + resources: + - serviceexports + - serviceexports/status + - serviceimports + - serviceimports/status + verbs: + - get + - list + - watch + - apiGroups: + - "networking.karmada.io" + resources: + - multiclusteringresses + - multiclusteringresses/status + - multiclusterservices + - multiclusterservices/status + verbs: + - get + - list + - watch + - apiGroups: + - "policy.karmada.io" + resources: + - overridepolicies + - clusteroverridepolicies + - propagationpolicies + verbs: + - get + - list + - watch + - apiGroups: + - "work.karmada.io" + resources: + - resourcebindings + - resourcebindings/status + - clusterresourcebindings + - clusterresourcebindings/status + - works + - works/status + verbs: + - get + - list + - watch +``` diff --git a/sidebars.js b/sidebars.js index 77a8cd60..00a23df6 100644 --- a/sidebars.js +++ b/sidebars.js @@ -294,9 +294,10 @@ module.exports = { "reference/components/karmada-scheduler-estimator", "reference/components/karmada-search", "reference/components/karmada-webhook", - "reference/components/karmada-metrics-adapter", + "reference/components/karmada-metrics-adapter", ], }, + "reference/components-privileges", { type: "category", label: "Instrumentation",