mirror of
https://github.com/karakeep-app/karakeep.git
synced 2026-11-02 17:11:18 +01:00
* Add kubernetes installation * Add kubernetes installation docs * Simplify config * Remove the patch to use only amd64 nodes and add sample env file
25 lines
491 B
Makefile
25 lines
491 B
Makefile
# Define the output file
|
|
OUTPUT_FILE := _manifest.yaml
|
|
|
|
# Define the Kustomize build command
|
|
KUSTOMIZE_BUILD := kustomize build .
|
|
|
|
# The default target
|
|
all: build
|
|
|
|
$(OUTPUT_FILE):
|
|
$(KUSTOMIZE_BUILD) > $(OUTPUT_FILE)
|
|
|
|
# Build the Kustomize configuration into the output file
|
|
build: clean $(OUTPUT_FILE)
|
|
|
|
# Deploy the manifest using kubectl apply
|
|
deploy: $(OUTPUT_FILE)
|
|
kubectl apply -f $(OUTPUT_FILE)
|
|
|
|
# Clean up the output file
|
|
clean:
|
|
rm -f $(OUTPUT_FILE)
|
|
|
|
.PHONY: all build deploy clean
|