Azure / Azure/azure-cli-extensions

HELMREGISTRY connectedk8s extension bug when use private registry with port

Open
#5,637 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.