Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/validate-defaults.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion values-global.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand Down