Skip to content

Commit

Permalink
fix(ctfd): update ctfd.yaml with shell command to loop forever
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Plant <tom@tplant.com.au>
  • Loading branch information
pl4nty committed Oct 9, 2024
1 parent b54cef0 commit 3183a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubernetes/cluster-1/ctfd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ spec:
env:
DATABASE_URL: sqlite:////opt/CTFd/CTFd/db/ctfd.db
# `shell -c` evaluates a string as shell input
# command: [ "sh", "-c"]
command: [ "sh", "-c"]
# loop forever, outputting "yo" every 5 seconds
# args: ["while true; do echo 'yo' && sleep 5; done;"]
args: ["while true; do echo 'yo' && sleep 5; done;"]
# TODO wrong port? gets 8080
# probes:
# liveness:
Expand Down

0 comments on commit 3183a81

Please sign in to comment.