8000 [Feature] `-t` mandatory field for `.kluctl.yaml` · Issue #470 · kluctl/kluctl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Feature] -t mandatory field for .kluctl.yaml #470
Closed
@jcpunk

Description

@jcpunk

Command

  • check-image-updates
  • delete
  • deploy
  • diff
  • helm-pull
  • helm-update
  • list-images
  • list-targets
  • poke-images
  • prune
  • render
  • seal
  • validate
  • version

Who are you?

Pat Riehecky, Computing Specialist at Fermilab

What do you want to do?

I'd like to provide a useful error when someone runs kluctl deploy on a repository but my discriminator expects that a target will be set.

Why do you need that?

With .kluctl.yaml containing:

discriminator: "example-{{ target.name }}"

Just running kluctl deploy results in invalid kubernetes objects. This is essentially a config issue on my end (example- is not a valid object and I'm running it wrongly).

But having a way to kick out an error to the user saying "select from the list of valid targets" when I know it is required would be handy.

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

      0