Skip to content

Commit

Permalink
chore: add target to deploy released image (#3046)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas authored Oct 9, 2024
1 parent b755f6f commit 8453735
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/.kustomize-5.4.3.pkg
1 change: 1 addition & 0 deletions bin/kustomize
5 changes: 5 additions & 0 deletions deployment/Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ teardown: teardown-cluster teardown-registry
apply:
kubectl kustomize --load-restrictor=LoadRestrictionsNone overlays/dev | kubectl apply -f -

deploy-version version: setup-cluster
# Ideally this would point to https://github.com/TBD54566975/ftl//deployment/overlays/dev/?ref={{version}} but that doesn't work due to symlinks
# For now this is using the new config with a released image
kustomize build --load-restrictor=LoadRestrictionsNone overlays/dev | sed 's/ftl:5000/ftl0/g' | sed 's/ftl-controller:latest/ftl-controller:{{version}}/g' | kubectl apply -f -

delete:
kubectl kustomize --load-restrictor=LoadRestrictionsNone overlays/dev | kubectl delete -f -

Expand Down

0 comments on commit 8453735

Please sign in to comment.