vscode-rdv provides a fast and local preview of your rendered Kubernetes manifest changes directly within Visual Studio Code.
It integrates the rdv CLI to render your local Helm chart and compares the resulting manifests against the main Git ref.
The extension opens a native side-by-side diff of the final rendered YAML.
- Visual Studio Code 1.80+
gitrdvinstalled and in your$PATH(or configured via settings)
Install the extension locally using the provided Makefile:
make installEnsure rdv is installed:
go install github.com/dlactin/rdv@latestDownload the .vsix release and install it:
code --install-extension vscode-rdv-0.1.0.vsix| Setting | Description | Default |
|---|---|---|
rdv.binaryPath |
Path to the rdv executable. If it's not available in your global PATH, supply the absolute path. |
rdv |
The extension targets Helm values files matching:
values-*.yaml(e.g.,values-dev.yaml,values-prod.yaml)*.values.yaml(e.g.,dev.values.yaml)
- Open your project in VS Code (must be a Git repository).
- Right-click on a supported values file in the Explorer or active editor.
- Select RDV: Render and Diff.
- Or open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and run RDV: Render and Diff.
- The extension detects the chart or Kustomize overlay directory relative to the selected values file.
- Any unsaved changes in the active editor are saved.
rdvrenders both:- Target state: manifests from the selected Git ref
- Local state: manifests rendered from the working directory
- The results are stored in a temporary directory.
- VS Code opens a native side-by-side diff of the rendered YAML.