Managing Agent Versions

Default agent versions (flavour, stable/beta) are defined in client-fleet-state/agent-deployer/values.yaml under agentDeployer.

Change default version for all customers: Update agentDeployer.agent.stableVersion / betaVersion in client-fleet-state/agent-deployer/values.yaml. PR to develop branch.

Pin a customer to a specific version/flavour: Add or modify a targetCustomization in client-fleet-state/agent-deployer/fleet.yaml matching their agent_flavour cluster label:
name: agent_flavour_moog
helm:
  values:
    agentDeployer:
      agent:
        stableVersion: "4.5.5"
        betaVersion: "4.6.0-RC-06e41ac9"
        flavour: MOOG
clusterSelector:
  matchLabels:
    agent_flavour: moog

And then create or update the agent_flavour label on the cluster with moog value.

Emergency override (no PR needed):

On the cluster:
# Delete the existing config map (if present)
kubectl delete configmap agent-deployer-override
# Create the config map via CLI
kubectl create configmap agent-deployer-override \
  --from-literal=flavour=Forcepoint \
  --from-literal=stableVersion=4.7.8 \
  --from-literal=betaVersion=5.1.0
Then trigger a Helm upgrade (Continuous Delivery > GitRepos > (select the platform gitrepo) > Force Update). To revert:
kubectl delete configmap agent-deployer-override