Closed mjtrangoni closed 9 months ago
@makkes wanna take a look? :-)
I'm on it.
@mjtrangoni this should be fixed in the 0.38.0 CLI which we released today. Mind giving it a try?
@makkes thank you! It works now, see
gitops version
Current Version: 0.38.0
GitCommit: 693dafd494f1027c4bc740be9ffef98e21cdcfb6
BuildTime: 2023-12-06T15:43:30Z
Branch: releases/v0.38.0
gitops check
✔ Kubernetes 1.28.4+k3s1 >=1.26
Not related with this issue but I just wonder, the command says, Validate flux and kubernetes compatibility
but the output is only about kubernetes. Is it working as intended?
Describe the bug
Running
gitops check
return exit status 1 instead of skipping/handling the error.Environment
To Reproduce Steps to reproduce the behavior:
gitops check
Expected behavior
To run without errors, maybe checking kubectl version compatibility?
Actual Behavior
Additional Context (screenshots, logs, etc)
It seems this is related to kubectl
--short
flag used in this project, see here.As it says in kubectl's CHANGELOG.md,
--short
is deprecated and changedkubectl version
default output to be identical to whatkubectl version --short
printed