From 4e41f6c2c366239a9d93c87536a3cfd137e3f928 Mon Sep 17 00:00:00 2001 From: Oleksandr Andriienko Date: Wed, 8 Apr 2026 01:41:12 +0300 Subject: [PATCH 1/3] feat(e2e): expose _applyAppConfig Expose _applyAppConfig to make it reusable with rolloutRestart and scaleDownAndRestart Signed-off-by: Oleksandr Andriienko --- src/deployment/rhdh/deployment.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deployment/rhdh/deployment.ts b/src/deployment/rhdh/deployment.ts index 171d5bc..144fe0c 100644 --- a/src/deployment/rhdh/deployment.ts +++ b/src/deployment/rhdh/deployment.ts @@ -57,7 +57,7 @@ export class RHDHDeployment { this.deploymentConfig.namespace, ); - await this._applyAppConfig(); + await this.applyAppConfig(); await this._applySecrets(); if (this.deploymentConfig.method === "helm") { @@ -81,7 +81,7 @@ export class RHDHDeployment { } } - private async _applyAppConfig(): Promise { + async applyAppConfig(): Promise { const authConfig = AUTH_CONFIG_PATHS[this.deploymentConfig.auth]; const appConfigYaml = await mergeYamlFilesIfExists( [ From 6ecb4db91d952ab073cbdc379a35be63dbe5688d Mon Sep 17 00:00:00 2001 From: Oleksandr Andriienko Date: Wed, 8 Apr 2026 01:57:59 +0300 Subject: [PATCH 2/3] feat(e2e): bump newer version Signed-off-by: Oleksandr Andriienko --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 94b19c0..c7c3905 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/e2e-test-utils", - "version": "1.1.25", + "version": "1.1.26", "description": "Test utilities for RHDH E2E tests", "license": "Apache-2.0", "repository": { From 92efba874f5ef132ee949dc7d1660f25ea13e964 Mon Sep 17 00:00:00 2001 From: Oleksandr Andriienko Date: Wed, 8 Apr 2026 02:10:40 +0300 Subject: [PATCH 3/3] feat(e2e): add changelog Signed-off-by: Oleksandr Andriienko --- docs/.vitepress/config.ts | 2 +- docs/changelog.md | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 9f6d41e..b4c1ed8 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -33,7 +33,7 @@ export default defineConfig({ { text: "Examples", link: "/examples/" }, { text: "Overlay Testing", link: "/overlay/" }, { - text: "v1.1.25", + text: "v1.1.26", items: [{ text: "Changelog", link: "/changelog" }], }, ], diff --git a/docs/changelog.md b/docs/changelog.md index a0ceab3..19b2b5c 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,7 +2,14 @@ All notable changes to this project will be documented in this file. -## [1.1.25] - Current +## [1.1.26] - Current + +### Added + +- **`RHDHDeployment.applyAppConfig()`** (exposes the former private `_applyAppConfig`): Applies the merged app-config ConfigMap without a full `deploy()`, using the same merge path as `deploy()` after you change `configure()` options (for example a different `appConfig` file). +- **Use with restarts**: Call **`scaleDownAndRestart()`** or **`rolloutRestart()`** afterward when Helm does not reload config by itself; finish with **`waitUntilReady()`**. Typical pattern: `configure({ auth, appConfig, valueFile, ... })` → `applyAppConfig()` → `scaleDownAndRestart()` → `waitUntilReady()`. + +## [1.1.25] ### Added