-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Gerd Oberlechner <[email protected]>
- Loading branch information
Showing
6 changed files
with
327 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
name: Config Change Detection | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- 'config/*' | ||
- .github/workflows/config-change-detection.yml | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
name: change-detection | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
fetch-depth: 1 | ||
- name: 'Fail if there is uncommited change' | ||
run: | | ||
cd config/ | ||
make detect-change |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
materialize: | ||
@../templatize.sh dev > public-cloud-dev.json | ||
@../templatize.sh cs-pr > public-cloud-cs-pr.json | ||
@USER=tst ../templatize.sh personal-dev > public-cloud-personal-dev.json | ||
.PHONY: materialize | ||
|
||
detect-change: materialize | ||
@diff_output=$$(git diff -- './*.json'); \ | ||
if [ -n "$$diff_output" ]; then \ | ||
echo "Please review the diffs below:\n\n"; \ | ||
echo "$$diff_output"; \ | ||
echo "\n\n===================================================="; \ | ||
echo "\n\nOnce you reviewed the changes and consider them meaningful, commit them."; \ | ||
echo "\n\n===================================================="; \ | ||
exit 1; \ | ||
else \ | ||
echo "No changes detected in the configuration files."; \ | ||
fi | ||
.PHONY: detect-change |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"acrName": "arohcpdev", | ||
"aksName": "aro-hcp-aks", | ||
"aroDevopsMsiId": "/subscriptions/1d3378d3-5a3f-4712-85a1-2485495dfc4b/resourceGroups/global/providers/Microsoft.ManagedIdentity/userAssignedIdentities/aro-hcp-devops", | ||
"baseDnsZoneName": "hcp.osadev.cloud", | ||
"baseDnsZoneRG": "global", | ||
"clusterServiceAcrRG": "global", | ||
"clusterServiceImageRepo": "app-sre/uhc-clusters-service", | ||
"clusterServiceImageTag": "4f12dd5", | ||
"clusterServicePostgresDeploy": true, | ||
"clusterServicePostgresName": "cs-9c782", | ||
"clusterServicePostgresPrivate": false, | ||
"externalDNSImageTag": "v0.14.2", | ||
"firstPartyAppClientId": "57e54810-3138-4f38-bd3b-29cb33f4c358", | ||
"frontendCosmosDBDeploy": true, | ||
"frontendCosmosDBDisableLocalAuth": true, | ||
"frontendCosmosDBName": "aro-hcp-rp-9c782", | ||
"globalRG": "global", | ||
"grafanaAdminGroupPrincipalId": "6b6d3adf-8476-4727-9812-20ffdef2b85c", | ||
"grafanaName": "aro-hcp-grafana-9c782", | ||
"hypershiftOperatorImageTag": "99a256f", | ||
"imageSyncAcrRG": "global", | ||
"imageSyncEnvironmentName": "aro-hcp-image-sync", | ||
"imageSyncImageRepo": "image-sync/component-sync", | ||
"imageSyncImageTag": "latest", | ||
"imageSyncRG": "hcp-underlay-westus3-imagesync-dev", | ||
"imageSyncRepositories": "registry.k8s.io/external-dns/external-dns,quay.io/acm-d/rhtap-hypershift-operator,quay.io/app-sre/uhc-clusters-service", | ||
"istioVersion": "['asm-1-22']", | ||
"kubernetesVersion": "1.30.5", | ||
"maestroCertDomain": "selfsigned.maestro.keyvault.azure.com", | ||
"maestroConsumerName": "hcp-underlay-westus3-cs-pr-mgmt-1", | ||
"maestroEventGridMaxClientSessionsPerAuthName": "4", | ||
"maestroEventgridName": "maestro-9c782", | ||
"maestroImageBase": "quay.io/redhat-user-workloads/maestro-rhtap-tenant/maestro/maestro", | ||
"maestroImageTag": "ea066c250a002f0cc458711945165591bc9f6d3f", | ||
"maestroKeyVaultName": "maestro-9c782", | ||
"maestroPostgresDeploy": false, | ||
"maestroPostgresName": "maestro-9c782", | ||
"maestroPostgresPrivate": false, | ||
"maestroPostgresServerStorageSizeGB": "32", | ||
"maestroPostgresServerVersion": "15", | ||
"maestroRestrictIstioIngress": false, | ||
"managementClusterRG": "hcp-underlay-westus3-cs-pr-mgmt-1", | ||
"mgmtEtcdKVName": "aro-hcp-etcd-1abb8", | ||
"mgmtEtcdKVSoftDelete": false, | ||
"mgmtSystemAgentPoolMaxCount": 4, | ||
"mgmtSystemAgentPoolMinCount": 1, | ||
"mgmtSystemAgentPoolOsDiskSizeGB": 32, | ||
"mgmtSystemAgentPoolVmSize": "Standard_D2s_v3", | ||
"mgmtUserAgentPoolAzCount": 3, | ||
"mgmtUserAgentPoolMaxCount": 12, | ||
"mgmtUserAgentPoolMinCount": 2, | ||
"mgmtUserAgentPoolOsDiskSizeGB": 100, | ||
"mgmtUserAgentPoolVmSize": "Standard_D4s_v3", | ||
"monitoringMsiName": "aro-hcp-metrics-msi-9c782", | ||
"monitoringWorkspaceName": "aro-hcp-monitor-9c782", | ||
"ocMirrorImageRepo": "image-sync/oc-mirror", | ||
"ocMirrorImageTag": "7abc8af", | ||
"ocpAcrName": "arohcpocpdev", | ||
"oidcStorageAccountName": "arohcpoidc9c782", | ||
"podSubnetPrefix": "10.128.64.0/18", | ||
"region": "westus3", | ||
"regionRG": "hcp-underlay-westus3-cs-pr", | ||
"regionalDNSSubdomain": "westus3-cs", | ||
"serviceClusterRG": "hcp-underlay-westus3-cs-pr-svc", | ||
"serviceComponentAcrResourceGroups": "global", | ||
"serviceKeyVaultName": "aro-hcp-dev-svc-kv", | ||
"serviceKeyVaultPrivate": false, | ||
"serviceKeyVaultRG": "global", | ||
"serviceKeyVaultRegion": "westus3", | ||
"serviceKeyVaultSoftDelete": true, | ||
"subnetPrefix": "10.128.8.0/21", | ||
"svcAcrName": "arohcpsvcdev", | ||
"svcEtcdKVName": "aro-hcp-etcd-9c782", | ||
"svcEtcdKVSoftDelete": false, | ||
"vnetAddressPrefix": "10.128.0.0/14" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"acrName": "arohcpdev", | ||
"aksName": "aro-hcp-aks", | ||
"aroDevopsMsiId": "/subscriptions/1d3378d3-5a3f-4712-85a1-2485495dfc4b/resourceGroups/global/providers/Microsoft.ManagedIdentity/userAssignedIdentities/aro-hcp-devops", | ||
"baseDnsZoneName": "hcp.osadev.cloud", | ||
"baseDnsZoneRG": "global", | ||
"clusterServiceAcrRG": "global", | ||
"clusterServiceImageRepo": "app-sre/uhc-clusters-service", | ||
"clusterServiceImageTag": "4f12dd5", | ||
"clusterServicePostgresDeploy": true, | ||
"clusterServicePostgresName": "cs-157ff", | ||
"clusterServicePostgresPrivate": false, | ||
"externalDNSImageTag": "v0.14.2", | ||
"firstPartyAppClientId": "57e54810-3138-4f38-bd3b-29cb33f4c358", | ||
"frontendCosmosDBDeploy": true, | ||
"frontendCosmosDBDisableLocalAuth": true, | ||
"frontendCosmosDBName": "aro-hcp-rp-157ff", | ||
"globalRG": "global", | ||
"grafanaAdminGroupPrincipalId": "6b6d3adf-8476-4727-9812-20ffdef2b85c", | ||
"grafanaName": "aro-hcp-grafana-157ff", | ||
"hypershiftOperatorImageTag": "99a256f", | ||
"imageSyncAcrRG": "global", | ||
"imageSyncEnvironmentName": "aro-hcp-image-sync", | ||
"imageSyncImageRepo": "image-sync/component-sync", | ||
"imageSyncImageTag": "latest", | ||
"imageSyncRG": "hcp-underlay-westus3-imagesync-dev", | ||
"imageSyncRepositories": "registry.k8s.io/external-dns/external-dns,quay.io/acm-d/rhtap-hypershift-operator,quay.io/app-sre/uhc-clusters-service", | ||
"istioVersion": "['asm-1-22']", | ||
"kubernetesVersion": "1.30.5", | ||
"maestroCertDomain": "selfsigned.maestro.keyvault.azure.com", | ||
"maestroConsumerName": "hcp-underlay-westus3-dev-mgmt-1", | ||
"maestroEventGridMaxClientSessionsPerAuthName": "4", | ||
"maestroEventgridName": "maestro-157ff", | ||
"maestroImageBase": "quay.io/redhat-user-workloads/maestro-rhtap-tenant/maestro/maestro", | ||
"maestroImageTag": "ea066c250a002f0cc458711945165591bc9f6d3f", | ||
"maestroKeyVaultName": "maestro-157ff", | ||
"maestroPostgresDeploy": false, | ||
"maestroPostgresName": "maestro-157ff", | ||
"maestroPostgresPrivate": false, | ||
"maestroPostgresServerStorageSizeGB": "32", | ||
"maestroPostgresServerVersion": "15", | ||
"maestroRestrictIstioIngress": true, | ||
"managementClusterRG": "hcp-underlay-westus3-dev-mgmt-1", | ||
"mgmtEtcdKVName": "aro-hcp-etcd-08101", | ||
"mgmtEtcdKVSoftDelete": false, | ||
"mgmtSystemAgentPoolMaxCount": 4, | ||
"mgmtSystemAgentPoolMinCount": 1, | ||
"mgmtSystemAgentPoolOsDiskSizeGB": 32, | ||
"mgmtSystemAgentPoolVmSize": "Standard_D2s_v3", | ||
"mgmtUserAgentPoolAzCount": 3, | ||
"mgmtUserAgentPoolMaxCount": 12, | ||
"mgmtUserAgentPoolMinCount": 2, | ||
"mgmtUserAgentPoolOsDiskSizeGB": 100, | ||
"mgmtUserAgentPoolVmSize": "Standard_D4s_v3", | ||
"monitoringMsiName": "aro-hcp-metrics-msi-157ff", | ||
"monitoringWorkspaceName": "aro-hcp-monitor-157ff", | ||
"ocMirrorImageRepo": "image-sync/oc-mirror", | ||
"ocMirrorImageTag": "7abc8af", | ||
"ocpAcrName": "arohcpocpdev", | ||
"oidcStorageAccountName": "arohcpoidc157ff", | ||
"podSubnetPrefix": "10.128.64.0/18", | ||
"region": "westus3", | ||
"regionRG": "hcp-underlay-westus3-dev", | ||
"regionalDNSSubdomain": "westus3", | ||
"serviceClusterRG": "hcp-underlay-westus3-dev-svc", | ||
"serviceComponentAcrResourceGroups": "global", | ||
"serviceKeyVaultName": "aro-hcp-dev-svc-kv", | ||
"serviceKeyVaultPrivate": false, | ||
"serviceKeyVaultRG": "global", | ||
"serviceKeyVaultRegion": "westus3", | ||
"serviceKeyVaultSoftDelete": true, | ||
"subnetPrefix": "10.128.8.0/21", | ||
"svcAcrName": "arohcpsvcdev", | ||
"svcEtcdKVName": "aro-hcp-etcd-157ff", | ||
"svcEtcdKVSoftDelete": false, | ||
"vnetAddressPrefix": "10.128.0.0/14" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"acrName": "arohcpdev", | ||
"aksName": "aro-hcp-aks", | ||
"aroDevopsMsiId": "/subscriptions/1d3378d3-5a3f-4712-85a1-2485495dfc4b/resourceGroups/global/providers/Microsoft.ManagedIdentity/userAssignedIdentities/aro-hcp-devops", | ||
"baseDnsZoneName": "hcp.osadev.cloud", | ||
"baseDnsZoneRG": "global", | ||
"clusterServiceAcrRG": "global", | ||
"clusterServiceImageRepo": "app-sre/uhc-clusters-service", | ||
"clusterServiceImageTag": "4f12dd5", | ||
"clusterServicePostgresDeploy": false, | ||
"clusterServicePostgresName": "cs-76fc6", | ||
"clusterServicePostgresPrivate": false, | ||
"externalDNSImageTag": "v0.14.2", | ||
"firstPartyAppClientId": "57e54810-3138-4f38-bd3b-29cb33f4c358", | ||
"frontendCosmosDBDeploy": true, | ||
"frontendCosmosDBDisableLocalAuth": true, | ||
"frontendCosmosDBName": "aro-hcp-rp-76fc6", | ||
"globalRG": "global", | ||
"grafanaAdminGroupPrincipalId": "6b6d3adf-8476-4727-9812-20ffdef2b85c", | ||
"grafanaName": "aro-hcp-grafana-76fc6", | ||
"hypershiftOperatorImageTag": "99a256f", | ||
"imageSyncAcrRG": "global", | ||
"imageSyncEnvironmentName": "aro-hcp-image-sync", | ||
"imageSyncImageRepo": "image-sync/component-sync", | ||
"imageSyncImageTag": "latest", | ||
"imageSyncRG": "hcp-underlay-westus3-imagesync-dev", | ||
"imageSyncRepositories": "registry.k8s.io/external-dns/external-dns,quay.io/acm-d/rhtap-hypershift-operator,quay.io/app-sre/uhc-clusters-service", | ||
"istioVersion": "['asm-1-22']", | ||
"kubernetesVersion": "1.30.5", | ||
"maestroCertDomain": "selfsigned.maestro.keyvault.azure.com", | ||
"maestroConsumerName": "hcp-underlay-westus3-tst-mgmt-1", | ||
"maestroEventGridMaxClientSessionsPerAuthName": "4", | ||
"maestroEventgridName": "maestro-76fc6", | ||
"maestroImageBase": "quay.io/redhat-user-workloads/maestro-rhtap-tenant/maestro/maestro", | ||
"maestroImageTag": "ea066c250a002f0cc458711945165591bc9f6d3f", | ||
"maestroKeyVaultName": "maestro-76fc6", | ||
"maestroPostgresDeploy": false, | ||
"maestroPostgresName": "maestro-76fc6", | ||
"maestroPostgresPrivate": false, | ||
"maestroPostgresServerStorageSizeGB": "32", | ||
"maestroPostgresServerVersion": "15", | ||
"maestroRestrictIstioIngress": true, | ||
"managementClusterRG": "hcp-underlay-westus3-tst-mgmt-1", | ||
"mgmtEtcdKVName": "aro-hcp-etcd-85fcc", | ||
"mgmtEtcdKVSoftDelete": false, | ||
"mgmtSystemAgentPoolMaxCount": 4, | ||
"mgmtSystemAgentPoolMinCount": 1, | ||
"mgmtSystemAgentPoolOsDiskSizeGB": 32, | ||
"mgmtSystemAgentPoolVmSize": "Standard_D2s_v3", | ||
"mgmtUserAgentPoolAzCount": 3, | ||
"mgmtUserAgentPoolMaxCount": 6, | ||
"mgmtUserAgentPoolMinCount": 1, | ||
"mgmtUserAgentPoolOsDiskSizeGB": 100, | ||
"mgmtUserAgentPoolVmSize": "Standard_D4s_v3", | ||
"monitoringMsiName": "aro-hcp-metrics-msi-76fc6", | ||
"monitoringWorkspaceName": "aro-hcp-monitor-76fc6", | ||
"ocMirrorImageRepo": "image-sync/oc-mirror", | ||
"ocMirrorImageTag": "7abc8af", | ||
"ocpAcrName": "arohcpocpdev", | ||
"oidcStorageAccountName": "arohcpoidc76fc6", | ||
"podSubnetPrefix": "10.128.64.0/18", | ||
"region": "westus3", | ||
"regionRG": "hcp-underlay-westus3-tst", | ||
"regionalDNSSubdomain": "westus3-76fc6", | ||
"serviceClusterRG": "hcp-underlay-westus3-tst-svc", | ||
"serviceComponentAcrResourceGroups": "global", | ||
"serviceKeyVaultName": "aro-hcp-dev-svc-kv", | ||
"serviceKeyVaultPrivate": false, | ||
"serviceKeyVaultRG": "global", | ||
"serviceKeyVaultRegion": "westus3", | ||
"serviceKeyVaultSoftDelete": true, | ||
"subnetPrefix": "10.128.8.0/21", | ||
"svcAcrName": "arohcpsvcdev", | ||
"svcEtcdKVName": "aro-hcp-etcd-76fc6", | ||
"svcEtcdKVSoftDelete": false, | ||
"vnetAddressPrefix": "10.128.0.0/14" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters