mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
20 lines
695 B
Makefile
20 lines
695 B
Makefile
NAME=platform
|
|
NAMESPACE=cozy-system
|
|
|
|
API_VERSIONS_FLAGS=$(addprefix -a ,$(shell kubectl api-versions))
|
|
|
|
show:
|
|
helm template -n $(NAMESPACE) $(NAME) . --dry-run=server $(API_VERSIONS_FLAGS)
|
|
|
|
apply:
|
|
helm template -n $(NAMESPACE) $(NAME) . --dry-run=server $(API_VERSIONS_FLAGS) | kubectl apply -f-
|
|
|
|
namespaces-show:
|
|
helm template -n $(NAMESPACE) $(NAME) . --dry-run=server $(API_VERSIONS_FLAGS) -s templates/namespaces.yaml
|
|
|
|
namespaces-apply:
|
|
helm template -n $(NAMESPACE) $(NAME) . --dry-run=server $(API_VERSIONS_FLAGS) -s templates/namespaces.yaml | kubectl apply -n $(NAMESPACE) -f-
|
|
|
|
diff:
|
|
helm template -n $(NAMESPACE) $(NAME) . --dry-run=server $(API_VERSIONS_FLAGS) | kubectl diff -f-
|