Skip to content

refactor(k8s): delete the deploy-time host overrides of Argo CD #7257

Done

Description

@dan-petty

Problem

Step 15 of docs/HOMELAB_REPO_SWITCH.md (#5134). After step 14 the homelab repository holds the hosts of devops, ingress and mattermost as patches of their Application files. devops k8s deploy-stack still writes the same values as Kustomize overrides on the live Applications, from config.yaml, and cluster then puts the values of git back. Two sources write one field.

Proposed remedy

Delete the override path of #1290: the override functions of deploy-stack, the option --argocd-revision, src/devops_cli/k8s/argocd_overrides.py, the constants of the homelab Applications, the gate modules and tests of the overrides, and the text on the overrides. argocd_gate keeps its rule on the placeholder host fields. deploy-stack still writes ConfigMap devops-cli-config, its sandbox copy and the Secrets.

Acceptance criteria

  • git grep -n CONST_K8S_ARGOCD_HOMELAB_APPLICATIONS -- src tests finds nothing.
  • devops k8s deploy-stack --stack all --dry-run has no argocd_overrides entry.
  • devops ci passes.

Dependencies

dan-petty/homelab#242 (step 14) is merged and synced before this merges. Supersedes #1291.

Source

Source: #5134

Activity

  1. added
    type/refactor
    scope/k8s
    source/agent
    status/new
    value/medium
    effort/medium
    on Nov 25, 2026
  2. added
    priority/p2-medium
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 25, 2026
  3. removed
    status/in-review
    on Nov 25, 2026
  4. devops-cli-service commented on Nov 25, 2026

    @devops-cli-service
    Contributor
  5. devops-cli-service commented on Nov 25, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-25 23:50 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/refactorvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions