Skip to content

Conversation

@Baarsgaard
Copy link
Collaborator

@Baarsgaard Baarsgaard commented Dec 7, 2025

When testing #2335 I found that setting .spec.disableDefaultAdminSecret=true on the first apply would fail.

The deployment would be invalid as the admin secret would be skipped, but the environment variables of the instance would still reference the secret.

To test for this I re-arranged the E2E tests a bit.
It was not possible to disable the admin secret on the internal instance without also changing the external one to use JWT as a login.

Hence, the default grafana instance enables useKubeAuth and changed the role assignment to use the sub field to narrow it down.

@github-actions github-actions bot added the bugfix this PR fixes a bug label Dec 7, 2025
@Baarsgaard Baarsgaard changed the title fix: when and admin secret is missing fix(Grafana): CreateContainerConfigError with disableDefaultAdminSecret and admin secret missing Dec 7, 2025
@Baarsgaard Baarsgaard force-pushed the fix_cannot_create_pod_without_admin_secret branch from 596b09e to d75972e Compare December 7, 2025 16:58
@Baarsgaard Baarsgaard added this pull request to the merge queue Dec 8, 2025
Merged via the queue into master with commit d514007 Dec 8, 2025
16 checks passed
@Baarsgaard Baarsgaard deleted the fix_cannot_create_pod_without_admin_secret branch December 8, 2025 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix this PR fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants