Skip to content

Commit 9134aef

Browse files
committed
Added k8s resources and html snippet for ctfd
1 parent b84f461 commit 9134aef

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

aws/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ Then use the administrative backup function to import the zipfile you created wi
8484
After that you will still need to override the flags with their actual values if you do use the 2-domain configuration.
8585
Want to setup your own? You can! Watch out for people finding your key though, so secure it properly: make sure the running container with the actual ctf-key is not exposed to the audience, similar to our heroku container.
8686

87+
Want to make the CTFD instance look pretty? Include the fragment logated at [./k8s/ctfd_resources/index_fragment.html](/k8s/ctfd_resources/index_fragment.html) in your index.html via the admin panel.
88+
8789
### Clean it up
8890

8991
When you're done:

aws/k8s/ctfd-values.yaml

+6-7
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,12 @@ ingress:
119119
# - chart-example.local
120120

121121
resources:
122-
{}
123-
# limits:
124-
# cpu: 100m
125-
# memory: 128Mi
126-
# requests:
127-
# cpu: 100m
128-
# memory: 128Mi
122+
limits:
123+
cpu: 2000m
124+
memory: 2Gi
125+
requests:
126+
cpu: 400m
127+
memory: 512Mi
129128

130129
nodeSelector: {}
131130

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<div class="row">
2+
<div class="col-md-6 offset-md-3">
3+
<img class="w-100 mx-auto d-block" style="max-width: 500px;padding: 50px;padding-top: 14vh;" src="https://owasp.org/www-project-wrongsecrets/assets/images/icon.png" />
4+
<h3 class="text-center">
5+
<p>Welcome to the OWASP Benelux day 2022 CTF!</p>
6+
<p>Star us on GitHub:</p>
7+
<a href="https://github.com/OWASP/wrongsecrets"><i class="fab fa-github fa-2x" aria-hidden="true"></i></a>
8+
</h3>
9+
<br>
10+
<h4 class="text-center">
11+
<a href="challenges">Click here</a> to start hacking!
12+
</h4>
13+
</div>
14+
</div>

0 commit comments

Comments
 (0)