Skip to content

Commit

Permalink
fix: update excluded types for Flannel and kube-proxy
Browse files Browse the repository at this point in the history
This avoids permission errors in clusters with metrics collection when cleaning up Flannel and kube-proxy resources.
  • Loading branch information
twelho committed Oct 10, 2024
1 parent e4583e3 commit 62270c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,8 @@ def apply_configuration(node_set, configuration_file, global_patches):
"componentstatuses",
"validatingadmissionpolicies.admissionregistration.k8s.io",
"validatingadmissionpolicybindings.admissionregistration.k8s.io",
"nodes.metrics.k8s.io",
"pods.metrics.k8s.io",
}

# Discover non-namespaced and namespaced resource types from the API server
Expand Down

0 comments on commit 62270c8

Please sign in to comment.