Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: omit name and version in chart-dev
  • Loading branch information
vl-kp committed Jun 20, 2025
commit 096b2385b7b8989969f7b333bfbfb34a71700cfc
4 changes: 2 additions & 2 deletions kp_pre_commit_hooks/gitops_values_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ def platform_managed_chart_version(self) -> Optional[str]:
def from_chart_file(chart_file: Path):
chart = cast(dict, yaml.safe_load(chart_file.read_text()))
return HelmChart(
name=chart["name"],
version=chart["version"],
name=chart.get("name", ""),
version=chart.get("version", ""),
dependencies=[HelmChart(dep["name"], dep["version"]) for dep in chart.get("dependencies", [])],
)

Expand Down