Skip to content

[FEATURE] Helm chart with least-privilege RBAC, external secrets and ServiceMonitor #228

Backlog

Description

@OkiriGabriel

Feature

k8s/ holds three plain manifests (deployment.yaml, rbac.yaml, service-configmap.yaml). Teams running on Kubernetes expect a Helm chart they can install, upgrade and configure per environment, rather than editing YAML.

Proposed chart (charts/devops-ai-agent)

  • Deployment (non-root, read-only root filesystem, dropped capabilities, seccompProfile: RuntimeDefault), Service, optional Ingress, a HorizontalPodAutoscaler that's only allowed with shared storage (see the multi-worker issue), and a PodDisruptionBudget.
  • RBAC split into read-only (the default) and remediation (rollout restart, scale, cordon, NetworkPolicy for [FEATURE] Approval-gated containment: isolate pod, cordon node, disable key, block IP (evidence first) #168 containment), each opt-in and namespace-scoped through ALLOWED_NAMESPACES.
  • Secrets from an existing Secret, or externalSecrets / CSI references. The chart never renders secret values from values.yaml by default.
  • values.yaml for storage provider, LLM provider, Slack, webhook secrets, AUTO_APPLY=false, EXECUTOR_* limits, and probes (/health).
  • A ServiceMonitor for /metrics (with METRICS_TOKEN), plus the Grafana dashboard as a ConfigMap.
  • CI: helm lint, kubeconform, ct install on kind; publish to GHCR as an OCI chart on tags (with the image issue).

Files

New charts/devops-ai-agent/, .github/workflows/ci.yml, docs/DEPLOYMENT.md

Activity

  1. added
    enhancement
    on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions