cmd/k8s-operator/generate: skip tests if no network or Helm is down

Updates helm/helm#31434

Change-Id: I5eb20e97ff543f883d5646c9324f50f54180851d
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2025-10-29 13:21:23 -07:00
committed by Brad Fitzpatrick
parent 74f1d8bd87
commit d5a40c01ab
2 changed files with 26 additions and 2 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ func generate(baseDir string) error {
if _, err := file.Write([]byte(helmConditionalEnd)); err != nil {
return fmt.Errorf("error writing helm if-statement end: %w", err)
}
return nil
return file.Close()
}
for _, crd := range []struct {
crdPath, templatePath string