osm
osm copied to clipboard
OSM CLI prompt to upgrade
Please describe the Improvement and/or Feature Request
OSM CLI should have a way to detect its own version compared to the installed chart version and prompt user to upgrade the CLI.
Scope (please mark with X where applicable)
- New Functionality [ ]
- Install [ ]
- SMI Traffic Access Policy [ ]
- SMI Traffic Specs Policy [ ]
- SMI Traffic Split Policy [ ]
- Permissive Traffic Policy [ ]
- Ingress [ ]
- Egress [ ]
- Envoy Control Plane [ ]
- CLI Tool [X ]
- Metrics [ ]
- Certificate Management [ ]
- Sidecar Injection [ ]
- Logging [ ]
- Debugging [ ]
- Tests [ ]
- CI System [ ]
- Project Release [ ]
Possible use cases
From my shell scripts - I use this to get the latest release for certain automation tasks:
curl --silent "https://api.github.com/repos/openservicemesh/osm/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")'
The Go version of this in the OSM CLI would be great.
The second step would be to compare the latest available with what's running in the Kubernetes cluster.
- we could get that from the Deployment spec:
kubectl get deployment -n osm-system osm-controller -o json | jq '.spec.template.spec.containers[0].image'
- or the running OSM Controller itself (logs or debug endpoint)
I can work on it pls assign it to me
Added default label kind/needed
. Please consider re-labeling this issue appropriately.
Hi pls assign it to me.
This issue will be closed due to a long period of inactivity. If you would like this issue to remain open then please comment or update.
can be fixed by https://github.com/openservicemesh/osm/pull/5266
We can close this now fixed by https://github.com/openservicemesh/osm/pull/5266
This issue will be closed due to a long period of inactivity. If you would like this issue to remain open then please comment or update.
Issue closed due to inactivity.