Open andrewlarry opened 1 year ago
You want to use --set config.image
instead of --set image
. All the Helm values that start with config
will go through to the controller's configuration, but anything that's top-level is values for the controller deployment itself. Sorry if that's a bit confusing.
Works as expected with --set config.image
. Thanks for the help.
The help text is a bit misleading. "The image to use for the controller" seems more accurate.
The help text from here? I agree, that's a vestige of a time from before the Helm chart, those are the CLI options for the controller binary.
Ok, agent-stack-k8s --help
makes more sense now. I though "Options" was a continuation of the "Deploy with Helm" section.
Hey were you able to get your hooks working? I just figured out a way but not sure if I missed something!
I'd like to add custom hooks to the agent image without updating the controller pod. I notice that when I deploy with
--set image=my-custom-image:latest
, the controller gets redeployed with my image. This was unexpected based on the help text.--image string The image to use for the Buildkite agent (default "ghcr.io/buildkite/agent-k8s:latest")
Is that behavior intentional? And is there a recommended approach for customizing the agent images?