Azure / Azure/azure-cli-extensions
HELMREGISTRY connectedk8s extension bug when use private registry with port
Open
Client
Connected Kubernetes
customer-reported
question
Service Attention
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
Description
```
export HELMREGISTRY="myk8stest.com:5000/azurearck8s/test/azure-arc-k8sagents:1.8.14-duplicate"
```
When specific the registry port **5000**, the `azure_arc_agent_version = registry_path.split(':')[1]` will get the `5000/azurearck8s/test/azure-arc-k8sagents` as version which is not the desired version `1.8.14-duplicate`.
[ Line295 in azure-cli-extensions/src/connectedk8s/azext_connectedk8s/custom.py](https://github.com/Azure/azure-cli-extensions/blob/986c08db6222655fa75e75f31df3b5dd19437a52/src/connectedk8s/azext_connectedk8s/custom.py#L295)
Contributor guide
Assessment
This issue has not been assessed yet.