Skip to content

Commit de319be

Browse files
authored
Merge pull request #10 from ctfpilot/develop
Update namespaces in Kubernetes templates to use ctfpilot prefix instead of `kubectf`
2 parents dc77552 + 0069f6b commit de319be

File tree

16 files changed

+34
-34
lines changed

16 files changed

+34
-34
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: configmap-oh-look-a-flag
3-
version: 1.6.0
3+
version: 1.7.0
44
description: Challenge configmap for oh-look-a-flag in category forensics
5-
appVersion: "1.6.0"
5+
appVersion: "1.7.0"
66
type: application

challenges/forensics/oh-look-a-flag/k8s/config/templates/k8s.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ metadata:
66
challenges.ctfpilot.com/type: "none"
77
challenges.ctfpilot.com/name: "oh-look-a-flag"
88
challenges.ctfpilot.com/category: "forensics"
9-
challenges.ctfpilot.com/version: "6"
9+
challenges.ctfpilot.com/version: "7"
1010
challenges.ctfpilot.com/configmap: "challenge-config"
1111
challenges.ctfpilot.com/enabled: "true"
1212
ctfpilot.com/component: "challenge-config"
1313
data:
1414
name: "oh-look-a-flag"
1515
path: "challenges/forensics/oh-look-a-flag"
1616
repository: "ctfpilot/challenges-example"
17-
generated_at: "2025-12-20 15:56:40"
17+
generated_at: "2025-12-20 17:57:38"
1818
challenge: |
1919
{
2020
"$schema": "https://raw.githubusercontent.com/ctfpilot/challenge-schema/refs/heads/main/schema.json",

challenges/forensics/oh-look-a-flag/k8s/config/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ challenge:
33
name: oh-look-a-flag
44
category: forensics
55
type: none
6-
version: 6
6+
version: 7
77
path: challenges/forensics/oh-look-a-flag
88
kubectf:
99
expires: 3600
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6
1+
7

challenges/web/the-shared-site/k8s/challenge/templates/k8s.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: "ctf-web-the-shared-site"
5-
namespace: kubectf-challenges
5+
namespace: ctfpilot-challenges
66
labels:
77
challenges.ctfpilot.com/type: "web"
88
challenges.ctfpilot.com/name: "the-shared-site"
@@ -76,7 +76,7 @@ apiVersion: v1
7676
kind: Service
7777
metadata:
7878
name: "ctf-web-the-shared-site"
79-
namespace: kubectf-challenges
79+
namespace: ctfpilot-challenges
8080
labels:
8181
challenges.ctfpilot.com/type: "web"
8282
challenges.ctfpilot.com/name: "the-shared-site"
@@ -95,7 +95,7 @@ apiVersion: networking.k8s.io/v1
9595
kind: Ingress
9696
metadata:
9797
name: "ingress-ctf-web-the-shared-site"
98-
namespace: kubectf-challenges
98+
namespace: ctfpilot-challenges
9999
labels:
100100
challenges.ctfpilot.com/type: "web"
101101
challenges.ctfpilot.com/name: "the-shared-site"

challenges/web/the-shared-site/k8s/config/templates/k8s.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ data:
1414
name: "the-shared-site"
1515
path: "challenges/web/the-shared-site"
1616
repository: "ctfpilot/challenges-example"
17-
generated_at: "2025-12-20 15:57:00"
17+
generated_at: "2025-12-20 17:54:27"
1818
challenge: |
1919
{
2020
"$schema": "https://raw.githubusercontent.com/ctfpilot/challenge-schema/refs/heads/main/schema.json",

challenges/web/the-shared-site/template/k8s.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: "ctf-{{ CHALLENGE_CATEGORY }}-{{ CHALLENGE_NAME }}"
5-
namespace: kubectf-challenges
5+
namespace: ctfpilot-challenges
66
labels:
77
challenges.ctfpilot.com/type: "{{ CHALLENGE_TYPE }}"
88
challenges.ctfpilot.com/name: "{{ CHALLENGE_NAME }}"
@@ -76,7 +76,7 @@ apiVersion: v1
7676
kind: Service
7777
metadata:
7878
name: "ctf-{{ CHALLENGE_CATEGORY }}-{{ CHALLENGE_NAME }}"
79-
namespace: kubectf-challenges
79+
namespace: ctfpilot-challenges
8080
labels:
8181
challenges.ctfpilot.com/type: "{{ CHALLENGE_TYPE }}"
8282
challenges.ctfpilot.com/name: "{{ CHALLENGE_NAME }}"
@@ -95,7 +95,7 @@ apiVersion: networking.k8s.io/v1
9595
kind: Ingress
9696
metadata:
9797
name: "ingress-ctf-{{ CHALLENGE_CATEGORY }}-{{ CHALLENGE_NAME }}"
98-
namespace: kubectf-challenges
98+
namespace: ctfpilot-challenges
9999
labels:
100100
challenges.ctfpilot.com/type: "{{ CHALLENGE_TYPE }}"
101101
challenges.ctfpilot.com/name: "{{ CHALLENGE_NAME }}"

challenges/web/where-robots-cannot-search/k8s/challenge/k8s.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
kind: Deployment
1717
metadata:
1818
name: "ctf-{{ deployment_id }}"
19-
namespace: kubectf-challenges-instanced
19+
namespace: ctfpilot-challenges-instanced
2020
labels:
2121
challenges.ctfpilot.com/type: "web"
2222
challenges.ctfpilot.com/name: "where-robots-cannot-search"
@@ -96,7 +96,7 @@ spec:
9696
kind: Service
9797
metadata:
9898
name: "ctf-{{ deployment_id }}"
99-
namespace: kubectf-challenges-instanced
99+
namespace: ctfpilot-challenges-instanced
100100
labels:
101101
challenges.ctfpilot.com/type: "web"
102102
challenges.ctfpilot.com/name: "where-robots-cannot-search"
@@ -118,7 +118,7 @@ spec:
118118
kind: Ingress
119119
metadata:
120120
name: ingress-ctf-{{ deployment_id }}
121-
namespace: kubectf-challenges-instanced
121+
namespace: ctfpilot-challenges-instanced
122122
labels:
123123
challenges.ctfpilot.com/type: "web"
124124
challenges.ctfpilot.com/name: "where-robots-cannot-search"

0 commit comments

Comments
 (0)