Skip to content

feat(chart): add extraInitContainers, extraContainers, extraVolumeMounts, extraVolumes support#454

Merged
thepagent merged 1 commit intoopenabdev:mainfrom
chaodu-agent:feat/extra-containers-support
Apr 19, 2026
Merged

feat(chart): add extraInitContainers, extraContainers, extraVolumeMounts, extraVolumes support#454
thepagent merged 1 commit intoopenabdev:mainfrom
chaodu-agent:feat/extra-containers-support

Conversation

@chaodu-agent
Copy link
Copy Markdown
Collaborator

Summary

This PR adds four extension points to the Helm chart deployment template, allowing users to inject custom resources without modifying the chart itself.

Key Changes

  • extraInitContainers — inject init containers that run before the main openab container (e.g., fetch secrets from Vault, pull config from S3, wait for dependencies)
  • extraContainers — add sidecar containers alongside the main container (e.g., MCP tool servers, log forwarders, token refreshers)
  • extraVolumeMounts — mount additional volumes into the main container (e.g., Secret-based credentials, shared config)
  • extraVolumes — declare additional volumes for the pod (PVC, Secret, ConfigMap, emptyDir)

Example Usage

agents:
  kiro:
    extraVolumes:
      - name: mcp-socket
        emptyDir: {}
    extraVolumeMounts:
      - name: mcp-socket
        mountPath: /tmp/mcp
    extraContainers:
      - name: my-mcp-server
        image: ghcr.io/myorg/my-mcp-tools:latest
        volumeMounts:
          - name: mcp-socket
            mountPath: /tmp/mcp

Design

  • Follows the standard Helm extra* pattern (with + toYaml + nindent)
  • All four fields default to [] — zero impact on existing deployments
  • Per-agent scoped (under agents.<name>), so each agent can have its own extensions
  • Placement in deployment.yaml:
    • extraInitContainers: before containers:
    • extraVolumeMounts: after the tmp mount in the main container
    • extraContainers: after the main container
    • extraVolumes: after the tmp emptyDir volume

…nts, extraVolumes support

Add four extension points to the Helm chart deployment template, allowing
users to inject custom init containers, sidecar containers, volume mounts,
and volumes without modifying the chart itself.

- extraInitContainers: runs before the main container
- extraContainers: sidecar containers alongside the main container
- extraVolumeMounts: additional mounts in the main container
- extraVolumes: additional volumes for the pod
@chaodu-agent chaodu-agent requested a review from thepagent as a code owner April 18, 2026 23:13
@github-actions github-actions bot added the closing-soon PR missing Discord Discussion URL — will auto-close in 3 days label Apr 18, 2026
@github-actions
Copy link
Copy Markdown

⚠️ This PR is missing a Discord Discussion URL in the body.

All PRs must reference a prior Discord discussion to ensure community alignment before implementation.

Please edit the PR description to include a link like:

Discord Discussion URL: https://discord.com/channels/...

This PR will be automatically closed in 3 days if the link is not added.

@thepagent thepagent merged commit d9c87a7 into openabdev:main Apr 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

closing-soon PR missing Discord Discussion URL — will auto-close in 3 days

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants