Skip to content

Commit

Permalink
fix(upgrade-job): look for crds in charts dir
Browse files Browse the repository at this point in the history
Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
  • Loading branch information
niladrih committed Mar 22, 2024
1 parent cdc37e5 commit 5b7f16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/upgrade/src/bin/upgrade-job/opts/validators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ fn validate_core_helm_chart_variant_in_dir(dir_path: PathBuf) -> Result<()> {

// Validate crds directory.
let mut crds_dir_path = dir_path.clone();
crds_dir_path.push("crds");
crds_dir_path.push("charts/crds");
ensure!(
path_exists_and_is_dir(crds_dir_path.clone())?,
NotADirectory {
Expand Down

0 comments on commit 5b7f16b

Please sign in to comment.