Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow "multi-label" discriminators #468

Open
5 of 14 tasks
codablock opened this issue May 9, 2023 · 0 comments
Open
5 of 14 tasks

Allow "multi-label" discriminators #468

codablock opened this issue May 9, 2023 · 0 comments

Comments

@codablock
Copy link
Collaborator

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?

Maintainer of Kluctl

What do you want to do?

I'd like to allow multi-label discriminators as an alternative to the default single-label discriminator. Something like:

.kluctl.yaml:

targets:
- ...

discriminator:
  project: k8s-deployment-project
  env-type: "{{ args.env_type }}"
  env-name: {{ args.env-name }}"

Why do you need that?

Right now, discriminators can easily exceed the 63 characters limit of label values, e.g. when using templating to achieve preview environments. Multi-label discriminators would solve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant