Skip to content

Commit 6958843

Browse files
committed
chore(web-basics): add helm values
Add helm values and update ports for all challenges Signed-off-by: Gabriel Mocanu <gabi.mocanu98@gmail.com>
1 parent 1be81be commit 6958843

File tree

48 files changed

+312
-36
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+312
-36
lines changed

chapters/web-application-security/web-basics/drills/cockroach/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Web: Web basics and browser security model: Cockroach
44

55
## Description
66

7-
Get the flag from [cockroach](http://141.85.224.157:8080/cockroach/).
7+
Get the flag from [cockroach](http://141.85.224.157:30001/cockroach/).
88
What happened?
99
Get the flag!
1010

chapters/web-application-security/web-basics/drills/cockroach/deploy/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
EXTERNAL_PORT := 8080
1+
EXTERNAL_PORT := 30001
22
INTERNAL_PORT := 80
33
NAME := web-basics_cockroach
44
FLAG := $(shell cat ../flag)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
namespace: web-basics
2+
3+
challenge:
4+
name: cockroach
5+
category: web-basics
6+
7+
image:
8+
repository: ghcr.io/open-education-hub/web-security/web-basics/cockroach
9+
tag: latest
10+
pullPolicy: Always
11+
12+
containerPort: 80
13+
14+
service:
15+
type: NodePort
16+
port: 80
17+
nodePort: 30001
18+
19+
healthCheck:
20+
enabled: true
21+
path: "/_healthcheck"
22+
initialDelaySeconds: 10
23+
periodSeconds: 15

chapters/web-application-security/web-basics/drills/cockroach/sol/solution.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
PORT=8080
2+
PORT=30001
33

44
if [[ $1 == "local" ]]
55
then

chapters/web-application-security/web-basics/drills/eyes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Web: Web basics and browser security model: Eyes
44

55
## Description
66

7-
Get the flag from [eyes](http://141.85.224.118:8081/eyes).
7+
Get the flag from [eyes](http://141.85.224.118:30002/eyes).
88

99
Score: 25
1010

chapters/web-application-security/web-basics/drills/eyes/deploy/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
EXTERNAL_PORT := 8081
1+
EXTERNAL_PORT := 30002
22
INTERNAL_PORT := 80
33
NAME := web-basics_eyes
44
FLAG := $(shell cat ../flag)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
namespace: web-basics
2+
3+
challenge:
4+
name: eyes
5+
category: web-basics
6+
7+
image:
8+
repository: ghcr.io/open-education-hub/web-security/web-basics/eyes
9+
tag: latest
10+
pullPolicy: Always
11+
12+
containerPort: 80
13+
14+
service:
15+
type: NodePort
16+
port: 80
17+
nodePort: 30002
18+
19+
healthCheck:
20+
enabled: true
21+
path: "/eyes"
22+
initialDelaySeconds: 10
23+
periodSeconds: 15

chapters/web-application-security/web-basics/drills/eyes/sol/solution.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
PORT=8081
2+
PORT=30002
33

44
if [[ $1 == "local" ]]
55
then

chapters/web-application-security/web-basics/drills/gimme/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Web: Web basics and browser security model: Gimme
44

55
## Description
66

7-
Get the flag from [gimme](http://141.85.224.157:8082/gimme) (now it’s safe! no more cockroaches :D).
7+
Get the flag from [gimme](http://141.85.224.157:30003/gimme) (now it’s safe! no more cockroaches :D).
88
Try to add a new resource.
99

1010
Score: 25

chapters/web-application-security/web-basics/drills/gimme/deploy/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
EXTERNAL_PORT := 8082
1+
EXTERNAL_PORT := 30003
22
INTERNAL_PORT := 80
33
NAME := web-basics_gimme
44
FLAG := $(shell cat ../flag)

0 commit comments

Comments
 (0)