Skip to content

Commit

Permalink
varous fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Oberlechner <[email protected]>
  • Loading branch information
geoberle committed Nov 27, 2024
1 parent 126e94b commit 5252b99
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 32 deletions.
14 changes: 7 additions & 7 deletions config/config.msft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defaults:

# General AKS config
kubernetesVersion: 1.30.5
istioVersion: "['asm-1-22']"
istioVersion: "asm-1-22"
vnetAddressPrefix: "10.128.0.0/14"
subnetPrefix: "10.128.8.0/21"
podSubnetPrefix: "10.128.64.0/18"
Expand Down Expand Up @@ -51,13 +51,13 @@ defaults:
maestro:
eventGrid:
name: arohcp-maestro-{{ .ctx.regionShort }}
maxClientSessionsPerAuthName: '4'
maxClientSessionsPerAuthName: 4
private: false
certDomain: 'selfsigned.maestro.keyvault.azure.com'
postgres:
name: arohcp-maestro-{{ .ctx.regionShort }}
serverVersion: '15'
serverStorageSizeGB: '32'
serverStorageSizeGB: 32
deploy: false
private: false
minTLSVersion: 'TLSV1.2'
Expand Down Expand Up @@ -90,7 +90,7 @@ defaults:

serviceKeyVault:
name: arohcp-svc-{{ .ctx.regionShort }}
rg: hcp-underlay-{{ .ctx.regionShort }}
rg: hcp-underlay-{{ .ctx.region }}-svc
region: {{ .ctx.region }}
softDelete: false
private: false
Expand Down Expand Up @@ -163,7 +163,7 @@ clouds:
osDiskSizeGB: 100
azCount: 3
# DNS
baseDnsZoneName: aro-hcp.azure-test.net'
baseDnsZoneName: aro-hcp.azure-test.net
regionalDNSSubdomain: '{{ .ctx.region }}'

# ACR
Expand Down Expand Up @@ -192,9 +192,9 @@ clouds:

# Grafana
monitoring:
grafanaAdminGroupPrincipalId: '??? the one to be used as Grafana Admin in grafana.bicep ???'
grafanaAdminGroupPrincipalId: '2fdb57d4-3fd3-415d-b604-1d0e37a188fe' # Azure Red Hat OpenShift MSFT Engineering

# DEVOPS MSI
# lets create this MSI manually for the time being and automate soon
# but we should use the MSI name as an input and not the resource ID of the MSI
aroDevopsMsiId: '??? the one for OIDC deployment script / lives in the global RG / needs to be created first thing on regional buildout ???'
aroDevopsMsiId: '/subscriptions/5299e6b7-b23b-46c8-8277-dc1147807117/resourcegroups/global-shared-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/aroint-int-public-oidc'
4 changes: 2 additions & 2 deletions config/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
"type": "object",
"properties": {
"maxClientSessionsPerAuthName": {
"type": "string"
"type": "integer"
},
"name": {
"type": "string"
Expand Down Expand Up @@ -264,7 +264,7 @@
"type": "boolean"
},
"serverStorageSizeGB": {
"type": "string"
"type": "integer"
},
"serverVersion": {
"type": "string"
Expand Down
6 changes: 3 additions & 3 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defaults:

# General AKS config
kubernetesVersion: 1.30.5
istioVersion: "['asm-1-22']"
istioVersion: "asm-1-22"
vnetAddressPrefix: "10.128.0.0/14"
subnetPrefix: "10.128.8.0/21"
podSubnetPrefix: "10.128.64.0/18"
Expand Down Expand Up @@ -51,13 +51,13 @@ defaults:
maestro:
eventGrid:
name: arohcp-maestro-{{ .ctx.regionShort }}
maxClientSessionsPerAuthName: '4'
maxClientSessionsPerAuthName: 4
private: false
certDomain: 'selfsigned.maestro.keyvault.azure.com'
postgres:
name: arohcp-maestro-{{ .ctx.regionShort }}
serverVersion: '15'
serverStorageSizeGB: '32'
serverStorageSizeGB: 32
deploy: true
private: false
minTLSVersion: 'TLSV1.2'
Expand Down
6 changes: 3 additions & 3 deletions config/public-cloud-cs-pr.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@
"repositories": "registry.k8s.io/external-dns/external-dns,quay.io/acm-d/rhtap-hypershift-operator,quay.io/app-sre/uhc-clusters-service,quay.io/package-operator/package-operator-package",
"rg": "hcp-underlay-westus3-imagesync-dev"
},
"istioVersion": "['asm-1-22']",
"istioVersion": "asm-1-22",
"kubernetesVersion": "1.30.5",
"maestro": {
"certDomain": "selfsigned.maestro.keyvault.azure.com",
"consumerName": "hcp-underlay-cspr-mgmt-1",
"eventGrid": {
"maxClientSessionsPerAuthName": "4",
"maxClientSessionsPerAuthName": 4,
"name": "arohcp-maestro-cspr",
"private": false
},
Expand All @@ -68,7 +68,7 @@
"minTLSVersion": "TLSV1.2",
"name": "arohcp-maestro-cspr",
"private": false,
"serverStorageSizeGB": "32",
"serverStorageSizeGB": 32,
"serverVersion": "15"
},
"restrictIstioIngress": false,
Expand Down
6 changes: 3 additions & 3 deletions config/public-cloud-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@
"repositories": "registry.k8s.io/external-dns/external-dns,quay.io/acm-d/rhtap-hypershift-operator,quay.io/app-sre/uhc-clusters-service,quay.io/package-operator/package-operator-package",
"rg": "hcp-underlay-westus3-imagesync-dev"
},
"istioVersion": "['asm-1-22']",
"istioVersion": "asm-1-22",
"kubernetesVersion": "1.30.5",
"maestro": {
"certDomain": "selfsigned.maestro.keyvault.azure.com",
"consumerName": "hcp-underlay-dev-mgmt-1",
"eventGrid": {
"maxClientSessionsPerAuthName": "4",
"maxClientSessionsPerAuthName": 4,
"name": "arohcp-maestro-dev",
"private": false
},
Expand All @@ -68,7 +68,7 @@
"minTLSVersion": "TLSV1.2",
"name": "arohcp-maestro-dev",
"private": false,
"serverStorageSizeGB": "32",
"serverStorageSizeGB": 32,
"serverVersion": "15"
},
"restrictIstioIngress": true,
Expand Down
14 changes: 7 additions & 7 deletions config/public-cloud-msft-int.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"acrName": "arohcpint",
"aksName": "aro-hcp-aks",
"aroDevopsMsiId": "??? the one for OIDC deployment script / lives in the global RG / needs to be created first thing on regional buildout ???",
"baseDnsZoneName": "aro-hcp.azure-test.net'",
"aroDevopsMsiId": "/subscriptions/5299e6b7-b23b-46c8-8277-dc1147807117/resourcegroups/global-shared-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/aroint-int-public-oidc",
"baseDnsZoneName": "aro-hcp.azure-test.net",
"baseDnsZoneRG": "westus3-shared-resources",
"clusterService": {
"acrRG": "",
Expand Down Expand Up @@ -51,13 +51,13 @@
"repositories": "registry.k8s.io/external-dns/external-dns,quay.io/acm-d/rhtap-hypershift-operator,quay.io/app-sre/uhc-clusters-service,quay.io/package-operator/package-operator-package",
"rg": "hcp-underlay-imagesync"
},
"istioVersion": "['asm-1-22']",
"istioVersion": "asm-1-22",
"kubernetesVersion": "1.30.5",
"maestro": {
"certDomain": "selfsigned.maestro.keyvault.azure.com",
"consumerName": "hcp-underlay-int-mgmt-1",
"eventGrid": {
"maxClientSessionsPerAuthName": "4",
"maxClientSessionsPerAuthName": 4,
"name": "arohcp-maestro-int",
"private": false
},
Expand All @@ -68,7 +68,7 @@
"minTLSVersion": "TLSV1.2",
"name": "arohcp-maestro-int",
"private": false,
"serverStorageSizeGB": "32",
"serverStorageSizeGB": 32,
"serverVersion": "15"
},
"restrictIstioIngress": true,
Expand Down Expand Up @@ -102,7 +102,7 @@
"softDelete": false
},
"monitoring": {
"grafanaAdminGroupPrincipalId": "??? the one to be used as Grafana Admin in grafana.bicep ???",
"grafanaAdminGroupPrincipalId": "2fdb57d4-3fd3-415d-b604-1d0e37a188fe",
"grafanaName": "arohcp-int",
"msiName": "aro-hcp-metrics-msi-int",
"workspaceName": "arohcp-int"
Expand All @@ -127,7 +127,7 @@
"name": "arohcp-svc-int",
"private": false,
"region": "westus3",
"rg": "hcp-underlay-int",
"rg": "hcp-underlay-westus3-svc",
"softDelete": false
},
"subnetPrefix": "10.128.8.0/21",
Expand Down
6 changes: 3 additions & 3 deletions config/public-cloud-personal-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@
"repositories": "registry.k8s.io/external-dns/external-dns,quay.io/acm-d/rhtap-hypershift-operator,quay.io/app-sre/uhc-clusters-service,quay.io/package-operator/package-operator-package",
"rg": "hcp-underlay-westus3-imagesync-dev"
},
"istioVersion": "['asm-1-22']",
"istioVersion": "asm-1-22",
"kubernetesVersion": "1.30.5",
"maestro": {
"certDomain": "selfsigned.maestro.keyvault.azure.com",
"consumerName": "hcp-underlay-usw3tst-mgmt-1",
"eventGrid": {
"maxClientSessionsPerAuthName": "4",
"maxClientSessionsPerAuthName": 4,
"name": "arohcp-maestro-usw3tst",
"private": false
},
Expand All @@ -68,7 +68,7 @@
"minTLSVersion": "TLSV1.2",
"name": "arohcp-maestro-usw3tst",
"private": false,
"serverStorageSizeGB": "32",
"serverStorageSizeGB": 32,
"serverVersion": "15"
},
"restrictIstioIngress": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using '../templates/svc-cluster.bicep'

param kubernetesVersion = '{{ .kubernetesVersion }}'
param istioVersion = {{ .istioVersion }}
param istioVersion = ['{{ .istioVersion }}']
param vnetAddressPrefix = '{{ .vnetAddressPrefix }}'
param subnetPrefix = '{{ .subnetPrefix }}'
param podSubnetPrefix = '{{ .podSubnetPrefix }}'
Expand Down
4 changes: 2 additions & 2 deletions dev-infrastructure/region-pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
serviceGroup: Microsoft.Azure.ARO.Test
serviceGroup: Microsoft.Azure.ARO.HCP.Region
rolloutName: Region Rollout
resourceGroups:
- name: {{ .regionRG }}
Expand All @@ -10,7 +10,7 @@ resourceGroups:
parameters: configurations/region.tmpl.bicepparam
- name: metrics-infra
action: ARM
template: modules/modules/metrics.bicep
template: modules/metrics/metrics.bicep
parameters: configurations/metrics.tmpl.bicepparam
dependsOn:
- region
2 changes: 1 addition & 1 deletion dev-infrastructure/svc-pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
serviceGroup: Microsoft.Azure.ARO.Test
serviceGroup: Microsoft.Azure.ARO.HCP.Service.Infra
rolloutName: Service Cluster Rollout
resourceGroups:
- name: {{ .svc.rg }}
Expand Down

0 comments on commit 5252b99

Please sign in to comment.