mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
(platform): revert API_VERSIONS_FLAGS
Signed-off-by: kklinch0 <kklinch0@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user