From 1bdbdf3dfb226e91724b9d9f459611875234b1a8 Mon Sep 17 00:00:00 2001 From: Chris Butler Date: Wed, 26 Nov 2025 10:07:01 +0900 Subject: [PATCH 1/2] chore: enforce single cluster by default when merging to main Signed-off-by: Chris Butler --- values-global.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/values-global.yaml b/values-global.yaml index bb72a33c..e91c7f0c 100644 --- a/values-global.yaml +++ b/values-global.yaml @@ -18,7 +18,7 @@ main: # WARNING # This default configuration uses a single cluster on azure. # It fundamentally violates the separation of duties. - clusterGroupName: trusted-hub + clusterGroupName: simple multiSourceConfig: enabled: true clusterGroupChartVersion: 0.9.* From 32862ec7b0603dd870e9ad6796cd4128163f6a43 Mon Sep 17 00:00:00 2001 From: Chris Butler Date: Wed, 26 Nov 2025 10:08:32 +0900 Subject: [PATCH 2/2] chore: add missing file Signed-off-by: Chris Butler --- .github/workflows/validate-defaults.yaml | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/validate-defaults.yaml diff --git a/.github/workflows/validate-defaults.yaml b/.github/workflows/validate-defaults.yaml new file mode 100644 index 00000000..e4fa7477 --- /dev/null +++ b/.github/workflows/validate-defaults.yaml @@ -0,0 +1,34 @@ +--- +name: Validate defaults apply + +on: [push, pull_request] + +jobs: + validate_defaults: + name: Json Schema tests + strategy: + matrix: + python-version: [3.11] + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + + - name: Install yq + uses: chrisdickinson/setup-yq@latest + with: + yq-version: v4.30.7 + + - name: Validate clusterGroupName is simple + run: | + if [ "$(yq '.main.clusterGroupName' values-global.yaml)" != "simple" ]; then + echo "main.clusterGroupName must be 'simple'" + exit 1 + fi