Disable the AI assistant configuration initialization
If you do not want the AI assistant configuration in your workspaces, disable the initialization for your namespace. The init container still runs, but it does not fetch, install, or change any content.
-
The administrator enabled the AI assistant configuration for all workspaces. See Configure a recommended AI assistant configuration.
-
Create the
Secretin your namespace with theLOLA_DISABLEDvariable:apiVersion: v1 kind: Secret metadata: name: lola-config labels: controller.devfile.io/mount-to-devworkspace: "true" controller.devfile.io/watch-secret: "true" annotations: controller.devfile.io/mount-as: env stringData: LOLA_DISABLED: "true"-
Set the value to
trueexactly. The init container ignores any other value and continues the initialization. -
If you already have this
Secret, add the variable to it. Other variables in the sameSecretkeep their effect.
-
|
Creating the |
-
Restart your workspace.
-
In the workspace,
/home/user/.lola/init-statuscontains the following line:ok <timestamp> disabled
Result
-
New workspaces in your namespace start without the AI assistant configuration.
-
Content that a previous start installed remains in
/home/user. To remove it, delete the installed skills, commands, and agents from the directory of each assistant of the previous start:/home/user/.claudefor Claude Code,/home/user/.config/opencodefor OpenCode,/home/user/.cursorfor Cursor,/home/user/.geminiand/home/user/GEMINI.mdfor Gemini CLI,/home/user/.copilotfor Copilot, and/home/user/.openclawfor OpenClaw. Delete the MCP servers from/home/user/.claude.json,/home/user/.config/opencode/opencode.json, and/home/user/.copilot/mcp-config.json. See Prepare a Lola module for Che workspaces for the destinations of every assistant. -
In a file that you also edit yourself, such as
CLAUDE.md,AGENTS.md, orGEMINI.md, delete only the sections between the Lola markers. Lola creates them again at the next installation: -
To restore the configuration, remove the
LOLA_DISABLEDvariable from theSecretand restart the workspace.
|
You cannot remove the init container from a workspace yourself, because it is part of the cluster configuration. To stop the initialization for the whole cluster, contact your administrator. |