Azure / Azure/azure-cli-extensions

connectedk8s should validate the helm version

Open
#2,469 2 comments 0 reactions 0 assignees View on GitHub
Connected Kubernetes Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

(This bug was created in conjunction with a debug session with the connectedk8s team).

*Repro*
Create a link from helm to microk8s.helm (instead of to microk8s.helm3).

*What*
The connectedk8s cli collects the version of helm, but only uses it for telemetry. The output generated is:
```
helm version --short --client
Helm not available, try enabling it with 'microk8s enable helm'
```
When it should look like:
`v3.0.2+g19e47ee`

Fix:
Parse the output to validate the `v3`, before sending to telemetry.

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.