(platform): revert API_VERSIONS_FLAGS

Signed-off-by: kklinch0 <kklinch0@gmail.com>
This commit is contained in:
kklinch0
2025-04-14 15:36:11 +03:00
parent 6a0d4913f2
commit 5a5cf91742

View File

@@ -8,13 +8,13 @@ show:
apply:
@echo "Applying active HelmReleases..."
helm template -n $(NAMESPACE) $(NAME) . --dry-run=server \
helm template -n $(NAMESPACE) $(NAME) . --dry-run=server $(API_VERSIONS_FLAGS) \
| yq 'select(.metadata.annotations."cozystack.io/marked-for-deletion" != "true")' - \
| kubectl apply -f-
delete:
@echo "Deleting marked-for-deletion HelmReleases..."
helm template -n $(NAMESPACE) $(NAME) . --dry-run=server \
helm template -n $(NAMESPACE) $(NAME) . --dry-run=server $(API_VERSIONS_FLAGS) \
| yq 'select(.metadata.annotations."cozystack.io/marked-for-deletion" == "true")' - \
| kubectl delete -f - --ignore-not-found=true