Skip to content

docs(nodectl): HashiCorp Vault backend + chart SA flexibility#156

Merged
Keshoid merged 2 commits into
release/nodectl/v0.5.0from
docs/nodectl-hashicorp-vault
May 19, 2026
Merged

docs(nodectl): HashiCorp Vault backend + chart SA flexibility#156
Keshoid merged 2 commits into
release/nodectl/v0.5.0from
docs/nodectl-hashicorp-vault

Conversation

@Keshoid
Copy link
Copy Markdown
Contributor

@Keshoid Keshoid commented May 19, 2026

Summary

  • Document the HashiCorp Vault backend in helm/nodectl/docs/setup.md alongside the existing file backend, with examples for both token and k8s auth and a query-parameter reference.
  • Add helm/nodectl/docs/copy-file-to-hashicorp.md — runbook for migrating a running nodectl deployment from file storage to HashiCorp Vault using secrets-vault-cli copy. Covers the full secret set (wallet keys, master wallet key, control client keys, REST API password hashes, JWT signing key), pre-migration safety checks, persisting VAULT_URL via Helm, and rollback.
  • Refresh the Vault section and Documentation table in helm/nodectl/README.md.
  • Chart: when serviceAccount.enabled=false but serviceAccount.name is set, attach the existing SA to the Pod instead of falling back to default. Lets operators bind nodectl to a SA managed outside the Helm release (e.g. one already mapped to a HashiCorp Vault Kubernetes-auth role by an external team / GitOps).
  • Bump chart to 0.3.0, appVersion + image tag to v0.5.0, update CHANGELOG.

Copilot AI review requested due to automatic review settings May 19, 2026 15:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the helm/nodectl Helm chart docs and chart behavior to support using HashiCorp Vault as a secrets backend and to allow attaching an externally managed Kubernetes ServiceAccount to the nodectl Pod (useful for Vault Kubernetes auth setups).

Changes:

  • Document HashiCorp Vault backend configuration in docs/setup.md and add a detailed migration runbook for moving from file vault → HashiCorp Vault.
  • Chart behavior: when serviceAccount.enabled=false but serviceAccount.name is set, the Deployment now attaches that existing ServiceAccount instead of falling back to default.
  • Bump chart version/appVersion and default image tag to v0.5.0, and update the chart changelog.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
helm/nodectl/values.yaml Updates default image tag and clarifies ServiceAccount value semantics in chart parameters.
helm/nodectl/templates/deployment.yaml Attaches an existing ServiceAccount to the Pod when serviceAccount.name is provided even if creation is disabled.
helm/nodectl/README.md Expands Vault documentation and adds a link to the new migration runbook.
helm/nodectl/docs/setup.md Adds HashiCorp Vault backend documentation, auth examples, and query parameter reference.
helm/nodectl/docs/copy-file-to-hashicorp.md Adds an operational runbook for migrating secrets from file-based vault storage to HashiCorp Vault.
helm/nodectl/Chart.yaml Bumps chart version and appVersion.
helm/nodectl/CHANGELOG.md Adds release notes for 0.3.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread helm/nodectl/README.md
|---------|-----------|----------|
| File-based | `file:///nodectl/data/vault.json?master_key=<hex>` | All setups |
| File-based | `file:///nodectl/data/vault.json?master_key=<hex>` | Single-cluster deployments, simplest setup |
| HashiCorp Vault | `hashicorp://<addr>?auth=k8s&role=<role>&...` or `?api_key=<token>&...` | Multi-tenant infra, shared key management, centralised audit |
@Keshoid Keshoid requested a review from ITBear May 19, 2026 15:41
@Keshoid Keshoid merged commit 1747e5b into release/nodectl/v0.5.0 May 19, 2026
9 of 10 checks passed
@Keshoid Keshoid deleted the docs/nodectl-hashicorp-vault branch May 19, 2026 16:22
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.

3 participants