diff --git a/azure_jumpstart_arcbox/artifacts/DevOpsLogonScript.ps1 b/azure_jumpstart_arcbox/artifacts/DevOpsLogonScript.ps1 index 7f15d1fc5a..5e6957f823 100644 --- a/azure_jumpstart_arcbox/artifacts/DevOpsLogonScript.ps1 +++ b/azure_jumpstart_arcbox/artifacts/DevOpsLogonScript.ps1 @@ -263,6 +263,7 @@ $kubeVipDaemonset | kubectl apply -f - Write-Host "`n" } +# Switch Kubernetes context to ArcBox-DataSvc-K3s cluster foreach ($cluster in $clusters) { if ($cluster.context -like '*-datasvc-k3s') { $Env:KUBECONFIG=$cluster.kubeConfig @@ -361,7 +362,7 @@ foreach ($configName in $configs) { } } elseif ($configStatus.ComplianceState -eq "Non-compliant" -and $retryCount -eq $maxRetries) { - Write-Host "GitOps configuration $configName has failed on $Env:k3sArcDataClusterName. Exiting..." + Write-Host "GitOps configuration $configName has failed on $Env:k3sArcDataClusterName. Exiting..." -ForegroundColor Red break } } @@ -397,7 +398,7 @@ foreach ($configName in $configs) { # --release-namespace kube-system ` # --configuration-settings 'secrets-store-csi-driver.enableSecretRotation=true' 'secrets-store-csi-driver.syncSecret.enabled=true' -# # Replace Variable values +# Replace Variable values Get-ChildItem -Path $Env:ArcBoxKVDir | ForEach-Object { # (Get-Content -path $_.FullName -Raw) -Replace '\{JS_CERTNAME}', $certname | Set-Content -Path $_.FullName diff --git a/azure_jumpstart_arcbox/artifacts/devops_ingress/bookbuyer.yaml b/azure_jumpstart_arcbox/artifacts/devops_ingress/bookbuyer.yaml index feb77ea40a..48deae7aa4 100644 --- a/azure_jumpstart_arcbox/artifacts/devops_ingress/bookbuyer.yaml +++ b/azure_jumpstart_arcbox/artifacts/devops_ingress/bookbuyer.yaml @@ -17,18 +17,3 @@ spec: port: number: 14001 path: /bookbuyer ---- -kind: IngressBackend -apiVersion: policy.openservicemesh.io/v1alpha1 -metadata: - name: backend -spec: - backends: - - name: bookbuyer - port: - number: 14001 - protocol: http - sources: - - kind: Service - namespace: ingress-nginx - name: ingress-nginx-controller diff --git a/azure_jumpstart_arcbox/artifacts/devops_ingress/bookstore.yaml b/azure_jumpstart_arcbox/artifacts/devops_ingress/bookstore.yaml index 7cf3770a2e..3062d655e3 100644 --- a/azure_jumpstart_arcbox/artifacts/devops_ingress/bookstore.yaml +++ b/azure_jumpstart_arcbox/artifacts/devops_ingress/bookstore.yaml @@ -24,22 +24,3 @@ spec: port: number: 14001 path: /bookstore-v2 ---- -kind: IngressBackend # Ingress Backend for Bookstore App -apiVersion: policy.openservicemesh.io/v1alpha1 -metadata: - name: backend -spec: - backends: - - name: bookstore - port: - number: 14001 - protocol: http - - name: bookstore-v2 - port: - number: 14001 - protocol: http - sources: - - kind: Service - namespace: ingress-nginx - name: ingress-nginx-controller diff --git a/azure_jumpstart_arcbox/bicep/main.bicep b/azure_jumpstart_arcbox/bicep/main.bicep index 4b1daceecd..747ffd9288 100644 --- a/azure_jumpstart_arcbox/bicep/main.bicep +++ b/azure_jumpstart_arcbox/bicep/main.bicep @@ -98,7 +98,7 @@ module ubuntuRancherK3sDataSvcDeployment 'kubernetes/ubuntuRancher.bicep' = if ( } } -module ubuntuRancherK3sDataSvcNodesDeployment 'kubernetes/ubuntuRancherNodes.bicep' = [for i in range(0, k3sClusterNodesCount): if (flavor == 'Full' || flavor == 'DataOps') { +module ubuntuRancherK3sDataSvcNodesDeployment 'kubernetes/ubuntuRancherNodes.bicep' = [for i in range(0, k3sClusterNodesCount): if (flavor == 'Full' || flavor == 'DataOps' || flavor == 'DevOps') { name: 'ubuntuRancherK3sDataSvcNodesDeployment-${i}' params: { sshRSAPublicKey: sshRSAPublicKey