Skip to content

fix(k8s): sync-secrets says the grafana admin password is missing from the keyring, not from the cluster #2209

Closed

Description

@dan-petty

What happened

devops k8s sync-secrets prints "Grafana secret not found in active cluster." when the Grafana admin password is missing. The sync reads that password from the OS keyring, not from the cluster, so the message sends the reader to the wrong place. Found by #2156 (2026-10-25).

What should happen

The message names where the sync looked and what to run, for example: "The Grafana admin password is not in the keyring (grafana_admin_password). Store it with devops config set grafana.admin_password, or adopt it from the cluster with devops k8s push-secrets."

Acceptance criteria

  • A test shows the message for a missing keyring entry, and it names the keyring entry and the command.

Source: #2156

Activity

  1. added
    source/agent
    type/bug
    on Oct 25, 2026
  2. dan-petty commented on Oct 25, 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.

    • Type: type/bug. The candidate describes an incorrect message in a command that should be fixed to provide accurate information.
    • Priority: P2-Medium. This is a user experience issue that causes confusion but does not block functionality or introduce security vulnerabilities.
    • Value: Medium. Fixing the error message improves clarity for users working with Kubernetes secrets and keyring integration.
    • Effort: Low. The fix involves changing only the text of an error message, which is a simple change requiring minimal code modification.
    • Related: fix(config): secrets report 'stored in keyring' when no keyring backend is available #454, which asks for a different change. Both items involve keyring functionality and secret management, but the candidate focuses on user-facing error messages while item 454 concerns backend availability and secret persistence.
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/bug

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions