Skip to content

Commit

Permalink
Add default message in compose and helm
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Benoit <[email protected]>
  • Loading branch information
mathieu-benoit committed Mar 3, 2024
1 parent 6be6123 commit ba8d213
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ score-compose:
score-compose run \
--build . \
-f score.yaml \
-p containers.hello-world.variables.MESSAGE="Hello, Compose!" \
-o compose.yaml

compose-up:
Expand All @@ -19,6 +20,7 @@ score-helm:
score-helm run \
-f score.yaml \
-p containers.hello-world.image=sample-score-app-hello-world \
-p containers.hello-world.variables.MESSAGE="Hello, Kubernetes!" \
-o values.yaml

NAMESPACE ?= default
Expand All @@ -43,7 +45,7 @@ k8s-up:
kubectl set env deployment hello-world DB_PASSWORD=${DB_PASSWORD} DB_USER=${DB_USERNAME} DB_DATABASE=${DB_NAME} DB_HOST=postgres

k8s-test:
kubectl port-forward service/hello-world 8081:8080
kubectl port-forward service/hello-world 8080:8080

k8s-down:
kubectl delete deployment postgres \
Expand Down

0 comments on commit ba8d213

Please sign in to comment.