Skip to content

feat: Allow user to control the OpenNMS instance ID - #78

Merged
indigo423 merged 1 commit into
mainfrom
issue/75
Nov 7, 2025
Merged

feat: Allow user to control the OpenNMS instance ID#78
indigo423 merged 1 commit into
mainfrom
issue/75

Conversation

@indigo423

@indigo423 indigo423 commented Nov 7, 2025

Copy link
Copy Markdown
Member

When multitenant mode is disabled, allow users to control the OpenNMS Instance ID with a configuration in the values.yaml file.

Reviewer hint

We keep the multi-tenant logic with the releaseName as the instance ID when multiTenant is true.

Resolves: #75

@indigo423
indigo423 requested a review from Copilot November 7, 2025 10:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables users to configure the OpenNMS instance ID when multi-tenant mode is disabled. Previously, the instance ID was always empty in single-tenant mode.

Key changes:

  • Added a new instanceId configuration parameter (default: "OpenNMS") under core.configuration
  • Updated the app-settings ConfigMap template to use the configured instance ID when multiTenant=false
  • Fixed spelling of "Kafka" in documentation

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
horizon/values.yaml Added instanceId configuration parameter and fixed "Kafka" spelling
horizon/values.schema.json Added JSON schema definition for the new instanceId parameter
horizon/templates/app-settings.configmap.yaml Updated to use configured instance ID in single-tenant mode
horizon/README.md Documented new parameter and fixed "Kafka" spelling
horizon/Chart.yaml Bumped chart version to 1.1.18

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread horizon/values.yaml Outdated
Comment thread horizon/README.md Outdated
@indigo423
indigo423 force-pushed the issue/75 branch 2 times, most recently from 2b2e796 to 191f9c0 Compare November 7, 2025 10:03
@indigo423
indigo423 requested a review from Copilot November 7, 2025 10:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread horizon/values.schema.json Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread horizon/values.yaml Outdated
When multitenant mode is disabled, allow users to control the OpenNMS
Instance ID with a configuration in the values.yaml file.

Resolves: #75

Signed-off-by: Ronny Trommer <ronny@no42.org>
@indigo423
indigo423 merged commit 8e2118b into main Nov 7, 2025
1 check passed
@indigo423
indigo423 deleted the issue/75 branch November 7, 2025 14:51
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.

Allow a user to define the Instance ID via the values.yml file

3 participants