Skip to content

feat(commands): support online template rendering in apply command #114

@lexfrei

Description

@lexfrei

When talm apply -f nodes/node0.yaml uses the template rendering path (modeline contains templates), it currently runs with Offline: true because the Talos client is not available at rendering time.

This means Helm templates that use lookup() will not work in the apply command. Users must use the two-step workaround:

talm template -f nodes/node0.yaml | talm apply --insecure -f -

To support online rendering, the apply command would need to establish the Talos client connection before template rendering, which requires restructuring the current flow where the client is created after config generation.

Introduced in PR #113.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions