Skip to content

feat(k8s): parameterize checked-in devops-cli configmaps #7821

Done

Description

@dan-petty

Problem or Motivation

devops-cli-config and devops-cli-config-sandbox are not checked into k8s/devops/kustomization.yaml: k8s/devops/configmap.example.yaml is only rendered imperatively from a workstation config.yaml via devops k8s deploy-stack. When service defaults change in dan-petty/devops-cli (such as moving searxng_url and crawl4ai.url to namespace research), Argo CD cannot roll them out to the cluster automatically.

Proposed Solution

  • Add optional layered configuration via DEVOPS_CLI_CONFIG_OVERRIDE in settings.py (merging override > DEVOPS_CLI_CONFIG > global config, with path-traversal validation, unknown-key checks, and config audit-keys coverage).
  • Rename k8s/devops/configmap.example.yaml to k8s/devops/configmap.yaml, add k8s/devops/configmap-sandbox.yaml and k8s/devops/configmap-overrides.yaml, and include all three in k8s/devops/kustomization.yaml.
  • Update k8s/devops/ pods and admissionpolicy.yaml to mount a projected config volume (devops-cli-config or devops-cli-config-sandbox plus devops-cli-config-overrides) and set DEVOPS_CLI_CONFIG_OVERRIDE=/config/overrides.yaml.
  • Skip imperative ConfigMap overwrites on Argo CD clusters in stack_lifecycle.py while preserving local/minikube overrides.

Activity

  1. added
    type/feature
    scope/k8s
    source/agent
    on Nov 29, 2026
  2. dan-petty commented on Nov 29, 2026

    @dan-petty
    OwnerAuthor
  3. added
    status/new
    value/medium
    effort/medium
    priority/p2-medium
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 29, 2026
  4. removed
    status/in-review
    on Nov 29, 2026
  5. devops-cli-service commented on Nov 29, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-29 22:09 UTC

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

    effort/mediumpriority/p2-mediumscope/k8ssource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions