Skip to content

Commit

Permalink
Add optional force_fetch field to all dependency types
Browse files Browse the repository at this point in the history
In `kapitan/targets.py` we access the `force_fetch` field regardless of
dependency type if force fetching wasn't requested globally.
  • Loading branch information
simu committed Sep 25, 2024
1 parent b4523a4 commit 3e4d677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kapitan/inventory/model/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ class KapitanDependencyBaseConfig(BaseModel):
type: KapitanDependencyTypes
source: str
output_path: str
force_fetch: Optional[bool] = False


class KapitanDependencyHelmConfig(KapitanDependencyBaseConfig):
type: Literal[KapitanDependencyTypes.HELM] = KapitanDependencyTypes.HELM
chart_name: str
version: Optional[str] = None
helm_path: Optional[str] = None
force_fetch: Optional[bool] = False


class KapitanDependencyGitConfig(KapitanDependencyBaseConfig):
Expand Down

0 comments on commit 3e4d677

Please sign in to comment.