google / kctf

kCTF is a Kubernetes-based infrastructure for CTF competitions. For documentation, see
https://google.github.io/kctf/
Apache License 2.0
665 stars 73 forks source link

fix web deployments with AddToScheme for missing resources #363

Closed sroettger closed 2 years ago

sroettger commented 2 years ago

This lead to errors of the form:

ERROR   controller.challenge    Error updating backend config for load balancer {"reconciler group": "kctf.dev", "reconciler kind": "Challenge", "name": "chalname", "namespace": "default", "Challenge ": "chalname", " with namespace ": "default", " Name: ": "chalname", " with namespace ": "default", "error": "no kind is registered for the type v1.BackendConfig in scheme \"pkg/runtime/scheme.go:100\""} 
sroettger commented 2 years ago

kctf-test is my project. This is all from the ./build-and-deploy script

sroettger commented 2 years ago

theres several changes to kctf-test from kctf-docker - idk if this will affect installation. where did -test come from?

I pushed another commit to undo these changes