Skip to content

feat(k8s): devops k8s doctor checks the gitea stack: tunnel host, anonymous refusal, clone url, registry token and no egress #2187

Description

@dan-petty

Friction

After the Gitea stack (#1081) was deployed on 2026-10-24, its checks were hand-run curl and kubectl lines from the PR body: the tunnel host answers, an anonymous API read is refused, the clone URL of a repository names the public host (this needs the admin password and a test repository), the pod has no internet egress, and the namespace passes Pod Security restricted. The owner's paste of one of them failed on a placeholder. The owner (2026-10-24): "most of this should be managed with infra code and devops cli functionality".

What should happen

devops k8s doctor (or a --stack gitea scope of it) runs the Gitea checks and reports each one: Application gitea Synced and Healthy; the volume Retain; https://git.<domain>/api/v1/repos/search refuses an anonymous read; the registry /v2/ asks for a token; a temporary private repository, made and deleted with the admin password from the keyring (gitea.admin_password), has a clone_url under https://git.<domain>/ and no SSH URL; the pod reaches no address outside the cluster. The password never reaches an argument list or the output.

Acceptance criteria

  • Tests on the shared HTTP and process fakes cover each check's pass and fail result, and that the temporary repository is deleted when a check fails.
  • The README's Gitea section names the command instead of the hand-run lines.

Activity

  1. added
    source/agent
    type/feature
    on Oct 24, 2026
  2. dan-petty commented on Oct 24, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.

  3. added a commit that references this issue on Oct 26, 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

    source/agenttype/feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions