diff --git a/config.sample.toml b/config.sample.toml index b5891953..1b35b723 100644 --- a/config.sample.toml +++ b/config.sample.toml @@ -14,6 +14,9 @@ teamlabel = "ctfteam" templated_manifest_dir = "kubernetes/templates" templated_manifests = [ "harbor.yml", + "mongo.yml", + "gogs.yml", + "mysql.yml", ] [services.api] diff --git a/kubernetes/templates/test.yml b/kubernetes/templates/test.yml new file mode 100644 index 00000000..3431edeb --- /dev/null +++ b/kubernetes/templates/test.yml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Pod +metadata: + name: ubuntu-test-pod +spec: + containers: + - name: ubuntu-container + image: ubuntu + command: + - sleep + - "3600" + resources: + limits: + memory: "256Mi" + cpu: "0.5" diff --git a/kubernetes/templates/web_challenge.yml b/kubernetes/templates/web_challenge.yml deleted file mode 100644 index 81d205aa..00000000 --- a/kubernetes/templates/web_challenge.yml +++ /dev/null @@ -1,35 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: appy -spec: - selector: - matchLabels: - app: appy - replicas: 1 - template: - metadata: - labels: - app: appy - spec: - containers: - - name: mycontainer - image: myimage - ports: - - name: server - containerPort: 3000 - ---- -apiVersion: v1 -kind: Service -metadata: - name: myservice -spec: - type: NodePort - selector: - app: appy - ports: - - name: server - protocol: TCP - port: 3000 - targetPort: 3000