Skip to content

Dynamic Parameter Dependencies — context-aware wizard #56

@jacobhuemmer

Description

@jacobhuemmer

Summary

Parameters that depend on each other. Selecting one value dynamically populates options for another.

Design

  • New source field in parameter YAML:
    parameters:
      - name: namespace
        type: select
        options: [production, staging, dev]
      - name: deployment
        type: select
        source: "kubectl get deploy -n \${namespace} -o name"
  • Wizard fetches options when the dependency is filled
  • Cached with TTL to avoid repeated calls
  • Fallback to manual text input if source command fails

Impact

Makes the wizard context-aware instead of static. Eliminates "what's the deployment name again?" friction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions