You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However we shouldn't have an operator that has a semantic version issue in the repos. A new operator dev discovered this and was confused by the message Error: unable to parse operators kubernetes version: Invalid Semantic Version.
This requires 2 efforts:
The error message should be more clear that this is an issue with the format of the operator
we should add a linter for package verify that errors on this condition
The text was updated successfully, but these errors were encountered:
In KUDO version 0.10.0 without this workaround the error message is:
Error: unable to parse operators kubernetes version: Invalid Semantic Version
Suggestion for the error message, if it's still needed:
Error: Encountered "Invalid Semantic Version". The value for the Kubernetes version (kubernetesVersion) in the operator declaration was not parsable. It's either missing/blank or this string "?" does not appear in the Semantic Version form (semver.org). Suggest adding "kubernetesVersion: x.x.x" to operator.yaml.
If the value is still needed and it's missing perhaps the default can be set to the current k8s version found on cluster?
There is a check for semantic versions defined in the operator at the time of installation here:
https://github.com/kudobuilder/kudo/blob/master/pkg/kudoctl/util/kudo/kudo.go#L292-L295
However we shouldn't have an operator that has a semantic version issue in the repos. A new operator dev discovered this and was confused by the message
Error: unable to parse operators kubernetes version: Invalid Semantic Version
.This requires 2 efforts:
package verify
that errors on this conditionThe text was updated successfully, but these errors were encountered: