Secret names too long #12

Open
opened 2026-03-11 16:26:49 +00:00 by dannygroenewegen · 1 comment

While deploying monitoring-ng, I encountered a secret name that was too long (>64 characters). According to R015, secret names should not be longer than 12 characters, but e.g. grafana_oidc_client_secret is longer.

I've tried using the domain m.gathering.org instead of monitoring.gathering.org. This shortens the secret name enough for deployment, but some dashboards hard-code the monitoring part of the domain name.

Can we shorten the longest secret names?

While deploying monitoring-ng, I encountered a secret name that was too long (>64 characters). According to [R015](https://docs.coopcloud.tech/maintainers/handbook/#r015-long-secret-names), secret names should not be longer than 12 characters, but e.g. grafana_oidc_client_secret is longer. I've tried using the domain m.gathering.org instead of monitoring.gathering.org. This shortens the secret name enough for deployment, but some [dashboards](https://git.coopcloud.tech/coop-cloud/monitoring-ng/src/commit/83461e2e76b3c860b9e50c268d3a253bf655e499/grafana-stacks-dashboard.json#L113) hard-code the monitoring part of the domain name. Can we shorten the longest secret names?

Tried leaving out the long secret with -C, but also some of the config names end up being too long: ${STACK_NAME}g_traefik_dashboard_json${GRAFANA_TRAEFIK_DASHBOARD_JSON_VERSION}

Would it manually setting STACK_NAME to something shorter be an option, or is that too much integrated everywhere?

Tried leaving out the long secret with -C, but also some of the config names end up being too long: ${STACK_NAME}_g_traefik_dashboard_json_${GRAFANA_TRAEFIK_DASHBOARD_JSON_VERSION} Would it manually setting STACK_NAME to something shorter be an option, or is that too much integrated everywhere?
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/monitoring-ng#12
No description provided.