Skip to content

feat: add pre-flight check script for on-prem Helm deployments#12

Open
mattj-monad wants to merge 1 commit intomainfrom
feature/eng-6863-preflight-check
Open

feat: add pre-flight check script for on-prem Helm deployments#12
mattj-monad wants to merge 1 commit intomainfrom
feature/eng-6863-preflight-check

Conversation

@mattj-monad
Copy link
Copy Markdown
Contributor

Summary

  • Adds on-prem/scripts/preflight-check.sh — a pre-flight validation script for customer on-prem Helm chart deployments
  • Checks all prerequisites: CLI tools, cluster connectivity, operators (CNPG, VictoriaMetrics), Gateway API/Ingress, required secrets, TLS certs, storage classes, DNS, and cluster resources
  • Interactive prompts to install missing prerequisites (namespace, operators, Gateway API CRDs, encryption key, pull secrets, license secret)
  • Generates template files (api.env, ui.env, values-override.yaml) when they don't exist, matching the install guide
  • Offers upgrade path for VictoriaMetrics operator when a newer version is available

Refs: ENG-6863

Test plan

  • Syntax validated (bash -n)
  • Tested against dev EKS cluster (check-only mode)
  • Tested against fresh kind cluster (full interactive mode with installs)
  • Test with --install-prereqs on a fresh customer-like cluster
  • Verify generated api.env, ui.env, and values-override.yaml match install guide

🤖 Generated with Claude Code

Validates customer environment prerequisites before running helm
install/upgrade. Checks CLI tools, cluster connectivity, operators
(CNPG, VictoriaMetrics), Gateway/Ingress, secrets, TLS, storage,
DNS, and resources. Offers interactive installation of missing
prerequisites and generates template files (api.env, ui.env,
values-override.yaml) when needed.

Refs: ENG-6863

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant