Skip to content

fix: per-deployment ConfigMap name via ALDAAS_SESSION_ID - #8

Merged
Negashev merged 1 commit into
mainfrom
fix/session-id-per-deployment
Jul 30, 2026
Merged

Negashev merged 1 commit into
mainfrom
fix/session-id-per-deployment

Conversation

@Negashev

Copy link
Copy Markdown
Owner

Problem

ALDAAS_NAME is the same across all review apps (aldaas-dandelion-app-backend). In shared namespaces, all pods wrote to the same ConfigMap aldaas-session-aldaas-dandelion-app-backend, overwriting each other's workflow names.

Fix

Add ALDAAS_SESSION_ID env var: when set, ConfigMap name becomes aldaas-session-${ALDAAS_SESSION_ID} (e.g. aldaas-session-72536668-review-feature-hr-9oqso9).

Falls back to ALDAAS_NAME if not set (backward compatibility).

Usage

Set ALDAAS_SESSION_ID=$CI_PROJECT_ID-$CI_ENVIRONMENT_SLUG in the aldaas container env (HELM_UPGRADE_VALUES_FILE).

ALDAAS_NAME is the same across all review apps (aldaas-dandelion-app-backend).
In shared namespaces, all pods wrote to the same ConfigMap
aldaas-session-aldaas-dandelion-app-backend, overwriting each other.

Add ALDAAS_SESSION_ID env var: when set, ConfigMap name becomes
aldaas-session-${ALDAAS_SESSION_ID} (e.g. aldaas-session-72536668-review-feature-hr-9oqso9).
Falls back to ALDAAS_NAME if not set (backward compatibility).
@Negashev
Negashev merged commit 245d168 into main Jul 30, 2026
1 check passed
@Negashev
Negashev deleted the fix/session-id-per-deployment branch July 30, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant