Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Kustomize NavigatorNew to Visual Studio Code? Get it now.
Kustomize Navigator

Kustomize Navigator

Michal Hajny

|
41 installs
| (0) | Free
Navigate between Kustomize files in Kubernetes GitOps repositories
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Kustomize Navigator

A Visual Studio Code extension that enhances your Kubernetes GitOps workflow by providing intelligent navigation between Kustomize YAML files.

Features

  • Smart Link Detection: Automatically identifies Kustomize files by content, not just filename
  • Ctrl+Click Navigation: Easily navigate between related Kustomize files with ctrl+click
  • Resource Verification: Displays warnings for references to non-existent files
  • Back-Reference Support: Shows which files reference the current file
  • GitOps Ready: Works with any Kubernetes GitOps repository that uses Kustomize
  • Flux Variable Support: Highlights and validates Flux variable substitutions like ${cluster_env:=dev}
  • Variable Autocompletion: Suggests variables when typing ${ based on workspace usage
  • Intelligent Diagnostics: Identifies common configuration issues in Kubernetes and Flux manifests
  • Customizable Checks: Toggle individual diagnostic checks through settings
  • API Version Distinction: Visually distinguish between standard Kustomize and Flux-extended APIs
  • References Explorer: View all forward and backward references in a dedicated panel
  • Dependency Visualization: Generate interactive visualizations of kustomization dependencies

Kustomize Navigator Demo

References Explorer

The References Explorer panel provides a comprehensive view of all relationships between your Kustomize files:

  • Kustomization References: Shows other kustomization files that the current file references
  • Resource References: Shows regular YAML resources that the current file references
  • Referenced By: Shows which kustomization files reference the current file

This helps you understand the hierarchy and dependencies in your GitOps repository. Each reference is displayed with its parent folder for context, and clicking any reference opens the file directly.

Variable Highlighting

The extension provides enhanced visibility for Flux variable substitutions:

  • Variable Names: Highlighted with a configurable color
  • Default Values: Highlighted with a different color and style
  • Hover Information: Detailed information about variables and their default values
  • Auto-completion: Suggests variables based on usage throughout your workspace

API Version Labeling

Kustomize Navigator visually distinguishes between different types of Kustomize API versions:

  • Standard Kustomize files show a [Kustomize] label
  • Flux-extended files show a [Flux] label
  • Each label uses a different color for quick identification

Dependency Visualization

Visualize the relationships between your kustomization files with an interactive graph:

  • Access the Visualization:
    • Click the graph icon ($(references)) in the editor title bar when a YAML file is open
    • Use the command palette (Ctrl+Shift+P) and search for "Visualize Kustomize Dependencies"
    • Right-click on a file in the References Explorer and select "Visualize Dependencies"
  • Interactive Graph: The visualization opens in a new editor panel
  • Color Coding: Kustomization files and resources are color-coded for easy identification
  • Navigation: Double-click any node to open the corresponding file
  • Hierarchical Layout: Clearly see the dependency structure of your repository

Extension Settings

General Settings

  • kustomizeNavigator.highlightFluxVariables: Enable/disable highlighting Flux variables (default: true)
  • kustomizeNavigator.fluxVariableColor: Color to use for highlighting Flux variables (default: #3498db)
  • kustomizeNavigator.fluxDefaultValueColor: Color to use for highlighting default values in Flux variables (default: #e67e22)
  • kustomizeNavigator.kustomizeApiColor: Color to use for Kustomize API version labels (default: #27ae60)
  • kustomizeNavigator.fluxApiColor: Color to use for Flux API version labels (default: #e74c3c)
  • kustomizeNavigator.standardFluxVariables: List of standard Flux variables to suggest in autocompletion

Diagnostic Checks

  • kustomizeNavigator.diagnostics.enabled: Master toggle for all diagnostic checks (default: true)
  • kustomizeNavigator.diagnostics.checks.resourceNaming: Check resource names against Kubernetes naming conventions (default: true)
  • kustomizeNavigator.diagnostics.checks.namespaceRequired: Check if namespaced resources have a namespace specified (default: true)
  • kustomizeNavigator.diagnostics.checks.recursiveDependencies: Check for recursive dependencies in Flux kustomizations (default: true)
  • kustomizeNavigator.diagnostics.checks.imageTags: Check for hardcoded image tags or missing tags (default: true)
  • kustomizeNavigator.diagnostics.checks.securityIssues: Check for common security issues like privileged containers (default: true)
  • kustomizeNavigator.diagnostics.checks.fluxVersions: Check for deprecated Flux API versions (default: true)
  • kustomizeNavigator.diagnostics.checks.gitopsComponents: Check if essential GitOps components are present (default: true)
  • kustomizeNavigator.diagnostics.checks.performanceIssues: Check for configurations that might cause performance issues (default: true)
  • kustomizeNavigator.diagnostics.checks.variableSubstitution: Check for Flux variable substitution issues (default: true)
  • kustomizeNavigator.diagnostics.checks.indentation: Check for consistent YAML indentation (default: true)

Known Issues

  • Remote Git references (like github.com/...) are not yet supported for navigation
  • Missing files warning indicators are not showing in the tooltip
  • sometimes the extension is activating on yaml even if the working folder does not containe kustomization.y(a)ml

Diagnostic Checks

The extension analyzes your YAML files for common issues and best practices:

Kubernetes Best Practices

  • Resource naming conventions
  • Namespace specifications for namespaced resources
  • Container image tag usage
  • YAML indentation consistency

Security Checks

  • Detection of privileged containers
  • Host network usage warnings
  • Security context configuration issues

Flux-specific Checks

  • API version deprecation warnings
  • Recursive dependency detection
  • Variable substitution syntax validation
  • Essential GitOps component verification
  • Performance optimization suggestions

Release Notes

0.5.0

Improvements

  • Added References Explorer panel showing forward and backward references
  • Enhanced references view with categorization by type (kustomization vs. resource)
  • Added file context with parent folder names in references view
  • Added dependency visualization with interactive graph view
  • Fixed activation issue to only initialize when kustomization files are present
  • Added visual distinction between Kustomize and Flux API versions
  • Improved variable highlighting with lower contrast in dark themes
  • Added different styling for default values in Flux variables

0.4.0

Improvements

  • Added various diagnostic and security checks
  • Added configuration options for customizing extension behavior

0.3.0

Improvements

  • Added support for decoration of post-build substitution variables in Flux

0.2.1

Bug Fixes

  • VS Code engine version constraint: Changed from "^1.99.0" to ">=1.0.0"

0.2.0

Improvements

  • Enhanced Kustomize detection: Now identifies Kustomize files by content, not just filename
  • Resource Preview: Hover over Kustomize references to see a list of resources defined in the target file
  • Clickable Resource List: Each resource in the preview is clickable for direct navigation

Bug Fixes

  • Fixed link detection for unquoted YAML references
  • Corrected path resolution for directory-based kustomization files
  • Fixed handling of various Kustomize file formats

0.1.0

Initial release

  • Ctrl+click navigation between Kustomize files
  • Warning indicators for missing files
  • Support for identifying Kustomize content regardless of filename

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This extension is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft