Skip to content

Commit

Permalink
feat:devbox controller support websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
bearslyricattack committed Dec 20, 2024
1 parent 004463e commit dc3fdb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/devbox/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func main() {
var requestEphemeralStorage string
var limitEphemeralStorage string
var debugMode bool
var WebSocketImage string
flag.StringVar(&registryAddr, "registry-addr", "sealos.hub:5000", "The address of the registry")
flag.StringVar(&registryUser, "registry-user", "admin", "The user of the registry")
flag.StringVar(&registryPassword, "registry-password", "passw0rd", "The password of the registry")
Expand All @@ -93,6 +94,7 @@ func main() {
flag.Float64Var(&requestMemoryRate, "request-memory-rate", 10, "The request rate of memory limit in devbox.")
flag.StringVar(&requestEphemeralStorage, "request-ephemeral-storage", "500Mi", "The request value of ephemeral storage in devbox.")
flag.StringVar(&limitEphemeralStorage, "limit-ephemeral-storage", "10Gi", "The limit value of ephemeral storage in devbox.")
flag.StringVar(&WebSocketImage, "websocket-image", "jpillora/chisel", "The image name of devbox websocket proxy pod")
opts := zap.Options{
Development: true,
}
Expand Down

0 comments on commit dc3fdb2

Please sign in to comment.