Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support for agent startup parameters #2

Merged
merged 2 commits into from
Jan 5, 2024

Conversation

lucaspin
Copy link
Collaborator

@lucaspin lucaspin commented Jan 5, 2024

Motivation

Currently, the controller specifies the required agent's startup parameters, but that's not enough. Additional parameters may be configured by default, and per agent type.

Solution

The controller accepts a new SEMAPHORE_AGENT_STARTUP_PARAMETERS environment variable. That will be the default startup parameters to use when starting agents. That default can be overridden by specifying an agentStartupParameters field in the agent type secret.

@lucaspin lucaspin merged commit 446e87d into main Jan 5, 2024
@lucaspin lucaspin deleted the agent-startup-parameters branch January 5, 2024 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant