Skip to content

Commit 896728b

Browse files
committed
fix: correct name error
1 parent f247bd6 commit 896728b

7 files changed

+9
-9
lines changed

.github/workflows/minikube-k8s-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: test script
3030
run: |
3131
eval $(minikube docker-env)
32-
./build-an-deploy.sh
32+
./build-and-deploy.sh
3333
while [[ $(kubectl get pods -l app=wrongsecrets-balancer -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != *"True"* ]]; do echo "waiting for wrongsecrets-balancer" && sleep 2; done
3434
kubectl logs deployments/wrongsecrets-balancer -f >> pod.log &
3535
echo "port forwarding"

aws/build-and-deploy-aws.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ echo "NOTE: WE ARE WORKING HERE WITH A 5 LEGGED LOAD BALANCER on AWS which costs
1010
echo "NOTE 2: You can replace balancer.cookie.cookieParserSecret with a value you fancy."
1111
echo "Note 3: Ensure you turn TLS on :)."
1212

13-
echo "Usage: ./build-an-deploy-aws.sh "
13+
echo "Usage: ./build-and-deploy-aws.sh "
1414

1515
source ./../scripts/check-available-commands.sh
1616
checkCommandsAvailable helm aws kubectl eksctl sed

build-and-deploy-container-minikube.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ checkCommandsAvailable helm docker kubectl yq minikube
66
minikube delete
77
minikube start --cpus=6 --memory=8000MB --network-plugin=cni --cni=calico --driver=docker --kubernetes-version=1.25.6
88
eval $(minikube docker-env)
9-
./build-an-deploy-container.sh
9+
./build-and-deploy-container.sh
1010

1111
sleep 5
1212

build-an-deploy-container.sh renamed to build-and-deploy-container.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ echo "This Script can be used to 'easily' build all WrongSecrets CTF party Compo
44
echo "For this to work the local kubernetes cluster must have access to the same local registry / image cache which 'docker build ...' writes its image to"
55
echo "For example docker-desktop with its included k8s cluster"
66

7-
echo "Usage: ./build-an-deploy.sh"
7+
echo "Usage: ./build-and-deploy.sh"
88

99
source ./scripts/check-available-commands.sh
1010
checkCommandsAvailable helm docker kubectl yq

build-and-deploy-minikube.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ checkCommandsAvailable helm docker kubectl yq minikube
66
minikube delete
77
minikube start --cpus=6 --memory=8000MB --network-plugin=cni --cni=calico --driver=docker --kubernetes-version=1.25.6
88
eval $(minikube docker-env)
9-
./build-an-deploy.sh
9+
./build-and-deploy.sh
1010

1111
sleep 15
1212

build-an-deploy.sh renamed to build-and-deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ echo "This Script can be used to 'easily' build all WrongSecrets CTF party Compo
44
echo "For this to work the local kubernetes cluster must have access to the same local registry / image cache which 'docker build ...' writes its image to"
55
echo "For example docker-desktop with its included k8s cluster"
66

7-
echo "Usage: ./build-an-deploy.sh"
7+
echo "Usage: ./build-and-deploy.sh"
88

99
source ./scripts/check-available-commands.sh
1010
checkCommandsAvailable helm docker kubectl yq

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ For minikube, run:
113113

114114
minikube start --cpus=6 --memory=10000MB --network-plugin=cni --cni=calico --driver=docker --kubernetes-version=1.25.6
115115
eval $(minikube docker-env)
116-
./build-an-deploy-container.sh
116+
./build-and-deploy-container.sh
117117
kubectl port-forward service/wrongsecrets-balancer 3000:3000
118118

119119
```
@@ -134,7 +134,7 @@ kubectl top pods
134134

135135
minikube start --cpus=6 --memory=10000MB --network-plugin=cni --cni=calico --driver=docker --kubernetes-version=1.25.6
136136
eval $(minikube docker-env)
137-
./build-an-deploy.sh
137+
./build-and-deploy.sh
138138
kubectl port-forward service/wrongsecrets-balancer 3000:3000
139139

140140
```
@@ -158,7 +158,7 @@ See [production notes](./guides/production-notes/production-notes.md) for a chec
158158
You got some options on how to setup the stack, with some option to customize the WrongSecrets and Virtual desktop instances to your own liking.
159159
You can find the default config values under: [helm/wrongsecrets-ctf-party/values.yaml](helm/wrongsecrets-ctf-party/values.yaml)
160160

161-
The default ctfd config values are here: [aws/k8s/ctfd-values.yaml](aws/k8s/ctfd-values.yaml). Note that these values are not used, and instead only se in the file [aws/build-an-deploy-aws.sh](aws/build-an-deploy-aws.sh).
161+
The default ctfd config values are here: [aws/k8s/ctfd-values.yaml](aws/k8s/ctfd-values.yaml). Note that these values are not used, and instead only se in the file [aws/build-and-deploy-aws.sh](aws/build-and-deploy-aws.sh).
162162

163163
Download & Save the file and tell helm to use your config file over the default by running:
164164

0 commit comments

Comments
 (0)