JCasC credentials contain the literal text `${GITHUB_TOKEN}` instead of the value
AdvancedTroubleshootingPlugins, JCasC & Kubernetes agents
Answer
Likely causes → The environment variable or secret file was not available to the controller process, so resolution produced the raw string (JCasC logs a warning), or the value was escaped with ^${...}.
Diagnose → kubectl -n jenkins exec jenkins-0 -- printenv GITHUB_TOKEN, check /run/secrets/GITHUB_TOKEN, controller log for Configuration import: Found unresolved variable GITHUB_TOKEN.
Fix → Provide the secret as env (envFrom: secretRef) or a file in the secrets dir; restart/reload.
Prevent → A startup check that fails if unresolved variables are logged.
More on Plugins, JCasC & Kubernetes agents
Startup log: `SEVERE: Failed Loading plugin Pipeline: Groovy v... (workflow-cps)` with `Update required: Pipeline: Supporting APIs (workflow-support) ... to be updated to ... or higher`IntermediatePlugin fails with `Jenkins (2.426.3) or higher required`BeginnerJCasC fails at startup: `io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration elements for type class jenkins.model.Jenkins : agentProtocols`Intermediate`io.jenkins.plugins.casc.UnknownConfiguratorException: No configurator for the following root elements: sonarGlobalConfiguration`IntermediateKubernetes plugin: `Failure executing: POST at: https://10.96.0.1/api/v1/namespaces/jenkins-agents/pods. Message: pods is forbidden: User "system:serviceaccount:jenkins:jenkins" cannot create resource "pods" in API group "" in the namespace "jenkins-agents".`BeginnerAgent pod events: `Failed to pull image "maven:3.9-eclipse-temurin21": manifest unknown` and the build log says `Unable to pull container image "maven:3.9-eclipse-temurin21". Check if image tag name is spelled correctly.`Beginner