karmada
karmada copied to clipboard
add CRDs archive verification to enhance file system robustness
What type of PR is this? /kind feature
What this PR does / why we need it:
karmada-operator
provides a custom download path for CRDs files. Before processing the files, it's necessary to validate the CRDs archive to enhance system robustness.
-
Check if its file name includes relative paths.
-
check if the CRDs archive has the expected directory structure.
Which issue(s) this PR fixes: Fixes #
Special notes for your reviewer:
karamdactl init
has the same issue, and its enhancement is ongoing
Does this PR introduce a user-facing change?: