From 2d3ed3de4bf2d90f5dd10c8c7b7386ac11b485b9 Mon Sep 17 00:00:00 2001 From: Sebastian Florek Date: Wed, 13 May 2026 13:49:00 +0200 Subject: [PATCH] feat: add default AgentRuntime configuration for cloud installs Add a templated `AgentRuntime` configuration in `bootstrap/setup/agents/runtimes/default.yaml` for cloud installations. This setup includes `aiProxy: true` to facilitate agent runs using the AI proxy path without requiring per-runtime API key configuration. --- README.md | 4 +++- setup/agents/runtimes/default.yaml | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 setup/agents/runtimes/default.yaml diff --git a/README.md b/README.md index 55e39e9..9f9ceb0 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ temp/ # a temp folder used during bootstrap that is gitignored You're free to extend this as you'd like, although if you use the plural marketplace that structure will be expected. You can also deploy services w/ manifests in other repos, this is meant to serve as a base to define the core infrastructure and get you started in a sane way. +For cloud installs (`plural up --cloud`), bootstrap also templates a default `AgentRuntime` at `bootstrap/agents/runtimes/default.yaml`. It is configured with `aiProxy: true` so agent runs use the AI proxy path without requiring per-runtime API key wiring. + ## Using the Plural Catalog Many of the common operations you'll need to do to manage your kubernetes infrastructure have all been operationalized as part of the service catalog that's synced via `bootstrap/catalogs.yaml`. A decent example here would be setting up a new kubernetes fleet, which you can do with the following: @@ -124,4 +126,4 @@ spec: name: externaldns ``` -To see a number of working examples, look at your `bootstrap/o11y` or `bootstrap/network` folders, where we should install a few global services for common runtime-level kubernetes concerns. If you want to reverse our default setup, simply delete them from the repo and push. \ No newline at end of file +To see a number of working examples, look at your `bootstrap/o11y` or `bootstrap/network` folders, where we should install a few global services for common runtime-level kubernetes concerns. If you want to reverse our default setup, simply delete them from the repo and push. diff --git a/setup/agents/runtimes/default.yaml b/setup/agents/runtimes/default.yaml new file mode 100644 index 0000000..721d1e4 --- /dev/null +++ b/setup/agents/runtimes/default.yaml @@ -0,0 +1,15 @@ +[[ if .Cloud ]] +apiVersion: deployments.plural.sh/v1alpha1 +kind: AgentRuntime +metadata: + name: opencode +spec: + targetNamespace: agents + type: OPENCODE + aiProxy: true + default: true + dind: true + browser: + enabled: true + browser: chrome +[[ end ]]