We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 24273b5 + 3c7a736 commit 7add4c8Copy full SHA for 7add4c8
1 file changed
kp_pre_commit_hooks/gitops-values-validation.py
@@ -125,6 +125,9 @@ def main():
125
126
# Iterate over direct subdirectories inside GITOPS_DIR
127
for service_path in GITOPS_DIR.glob("*/*"):
128
+ if not service_path.is_dir():
129
+ continue
130
+
131
chart_file = service_path / "Chart.yaml"
132
value_file = service_path / "values.yaml"
133
if not (chart_file.is_file() and value_file.is_file()):
0 commit comments