Skip to content

Helm chart hardcodes global as ManagedClusterSet — should be configurable #10

Description

@bjoydeep

Description

The Helm chart's placement.yaml hardcodes global as the ManagedClusterSet in four places (lines 5, 8, 18, 45). While global exists by default on OCM hubs (via the DefaultClusterSet feature gate, which is enabled by default), users who organize clusters into custom ManagedClusterSets cannot use the chart without post-install patching.

Making this value configurable via a Helm value would improve usability without changing the default behavior.

Steps to Reproduce

  1. helm install dynamic-scoring-framework charts/dynamic-scoring-framework/ on a hub where managed clusters are organized into a custom ManagedClusterSet (not global)
  2. The Placement selects 0 clusters and the addon agent is not deployed
  3. User must manually patch both Placements and create a ManagedClusterSetBinding

Suggested Fix

Replace the hardcoded global with a Helm value (e.g., .Values.hubSetting.clusterSet) defaulting to global, so users can override it when needed.
Affected File - charts/dynamic-scoring-framework/templates/placement.yaml — lines 5, 8, 18, 45

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions