Azure / aksArc

# Welcome to the Azure Kubernetes Service on Azure Stack HCI repo This is where the AKS-HCI team will track features and issues with AKS-HCI. We will monitor this repo in order to engage with our community and discuss questions, customer scenarios, or feature requests. Checkout our projects tab to see the roadmap for AKS-HCI!
MIT License
109 stars 45 forks source link

[BUG] add *.nuget.org and *.azureedge.net to the list of required URLs #300

Open Elektronenvolt opened 1 year ago

Elektronenvolt commented 1 year ago

Describe the bug There is a list of required URLs for AKS Hybrid in the docs: Network port and URL requirements

*We had to add `.nuget.org` because:**

On a machine we only had Powershellgallery as package source registered: image

This blocked an AKS Hybrid upgrade at Powershell (and Windows Admin Center): image

Registering nuget.org as package source was only possible after adding *.nuget.org to the list of allowed URLs. After having Nuget in the list of package sources the update worked as expected. image

*We had to add `.azureedge.net` because:**

PowershellGallery.com redirects downloads to *.azureedge.net and the Nuget Packageprovider discovers packages over https://onegetcdn.azureedge.net/ image

To Reproduce Steps to reproduce the behavior:

  1. Try to register nuget.org as package source without having connectivity to *.nuget.org with Register-PackageSource -Name nuget.org -Location https://api.nuget.org/v3/index.json -ProviderName NuGet
  2. Try to install the AksHci Powershell module without having connectivity to *.azureedge.net with Install-Module AksHci -Repository PSGallery