diff --git a/.github/workflows/e2e-k3d.yml b/.github/workflows/e2e-k3d.yml index 704cea4f1..09b448e67 100644 --- a/.github/workflows/e2e-k3d.yml +++ b/.github/workflows/e2e-k3d.yml @@ -53,7 +53,7 @@ jobs: - name: Default template with helm uses: WyriHaximus/github-action-helm3@v4 with: - exec: helm template loculus kubernetes/loculus + exec: helm template loculus kubernetes/loculus --skip-schema-validation - name: E2E Template with helm uses: WyriHaximus/github-action-helm3@v4 with: diff --git a/deploy.py b/deploy.py index f20054a4e..d90a588f5 100755 --- a/deploy.py +++ b/deploy.py @@ -63,7 +63,7 @@ cluster_parser.add_argument( "--dev", action="store_true", - help="Set up a development environment for running the website and the backend locally", + help="Set up a development environment for running the website and the backend locally, skip schema validation", ) cluster_parser.add_argument("--delete", action="store_true", help="Delete the cluster") @@ -91,7 +91,7 @@ help="Just template and print out the YAML produced", action="store_true", ) -helm_parser.add_argument("--for-e2e", action="store_true", help="Use the E2E values file") +helm_parser.add_argument("--for-e2e", action="store_true", help="Use the E2E values file, skip schema validation") upgrade_parser = subparsers.add_parser("upgrade", help="Upgrade helm installation") @@ -217,6 +217,7 @@ def handle_helm(): if args.for_e2e or args.dev: parameters += ["-f", HELM_CHART_DIR / "values_e2e_and_dev.yaml"] + parameters += ["--skip-schema-validation"] if args.sha: parameters += ["--set", f"sha={args.sha[:7]}"] @@ -366,6 +367,7 @@ def generate_config( helm_chart, "--show-only", template, + "--skip-schema-validation" ] if not output_path: