Skip to content

Commit

Permalink
🔨(tilt) improve local stack
Browse files Browse the repository at this point in the history
Improve the local tilt file in order to be abble to start all thing
without any dependencies to DINUM environment
  • Loading branch information
rouja authored and lebaudantoine committed Dec 16, 2024
1 parent ed4f7dc commit 0ad37ee
Show file tree
Hide file tree
Showing 9 changed files with 752 additions and 412 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -305,3 +305,6 @@ start-tilt: ## start the kubernetes cluster using kind
tilt up -f ./bin/Tiltfile
.PHONY: build-k8s-cluster

start-tilt-keycloak: ## start the kubernetes cluster using kind, without Pro Connect for authentication, use keycloak
DEV_ENV=dev-keycloak tilt up -f ./bin/Tiltfile
.PHONY: build-k8s-cluster
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ $ make build-k8s-cluster
Once the Kubernetes cluster is ready, start the application stack locally:
```shell
$ make start-tilt
or
$ make start-tilt-keycloak # start stack without Pro Connect, use keycloak
```
These commands set up and run your application environment using Tilt for local Kubernetes development.

Expand Down
2 changes: 1 addition & 1 deletion bin/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ docker_build(
]
)

k8s_yaml(local('cd ../src/helm && helmfile -n meet -e dev template .'))
k8s_yaml(local('cd ../src/helm && helmfile -n meet -e ${DEV_ENV:-dev} template .'))

migration = '''
set -eu
Expand Down
Loading

0 comments on commit 0ad37ee

Please sign in to comment.