Skip to content

[FR] Support loading a list of talosconfig instead of just one. #9491

Description

@kashalls

Feature Request

Allow a "list" of absolute paths to load a talosconfig from.

Example:

export TALOSCONFIG=/cluster/talos/test/talosconfig:/cluster/talos/production/talosconfig:/cluster/talos/example/talosconfig

The delimiter in this case would be :.

talosctl would need to first loop over all instances, read the file and merge the configs with the default context being the first talosconfig read.

Description

Currently, unless I missed something, it is not possible to combine two or more talosconfig's without using talosctl.
The feature I am requesting is to replicate what kubectl supports when passed a list of paths to kubeconfig's.

Methods to get around this feature require using external programs or bash scripts to call talosctl directly.

kubectl has support for this feature:

I am willing to help implement this feature if needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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