Add the ability to filter deployment requests by tag. #730

Merged
telackey merged 5 commits from telackey/tags into main 2024-02-07 03:12:41 +00:00
Showing only changes of commit 3796b87e9d - Show all commits

View File

@ -203,6 +203,7 @@ def command(ctx, kube_config, laconic_config, image_registry, deployment_parent_
print("--dns-suffix, --record-namespace-dns, and --record-namespace-deployments are all required", file=sys.stderr)
sys.exit(2)
# Split CSV and clean up values.
include_tags = [tag.strip() for tag in include_tags.split(",") if tag]
exclude_tags = [tag.strip() for tag in exclude_tags.split(",") if tag]