Skip to content

Commit ccb001e

Browse files
authored
[platform] revert API_VERSIONS_FLAGS (#810)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Improved the deployment process to better incorporate API version settings, enhancing the consistency and accuracy of resource generation during deployment. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2 parents 6a0d491 + 5a5cf91 commit ccb001e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/core/platform/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ show:
88

99
apply:
1010
@echo "Applying active HelmReleases..."
11-
helm template -n $(NAMESPACE) $(NAME) . --dry-run=server \
11+
helm template -n $(NAMESPACE) $(NAME) . --dry-run=server $(API_VERSIONS_FLAGS) \
1212
| yq 'select(.metadata.annotations."cozystack.io/marked-for-deletion" != "true")' - \
1313
| kubectl apply -f-
1414

1515
delete:
1616
@echo "Deleting marked-for-deletion HelmReleases..."
17-
helm template -n $(NAMESPACE) $(NAME) . --dry-run=server \
17+
helm template -n $(NAMESPACE) $(NAME) . --dry-run=server $(API_VERSIONS_FLAGS) \
1818
| yq 'select(.metadata.annotations."cozystack.io/marked-for-deletion" == "true")' - \
1919
| kubectl delete -f - --ignore-not-found=true
2020

0 commit comments

Comments
 (0)