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
{{ message }}
Repository navigation
grafana, loki and prometheus-server addons fail to render on KubeVela v1.11 (CUE v0.14) #805
On KubeVela v1.11.0, which builds against CUE v0.14.1, the grafana, loki and prometheus-server addons can't be enabled. Their app templates join lists with +:
CUE v0.11 removed list arithmetic, so the addon's CUE fails to compile:
output.spec.policies: Addition of lists is superseded by list.Concat; see https://cuelang.org/e/v0.11-list-arithmetic
The CUE compatibility upgrade that rewrites + into list.Concat (kubevela#6983, the fix for #786) runs on definition templates only. vela addon enable builds template.cue and resources/*.cue in pkg/addon/render.go with cuecontext.New().BuildInstance, and nothing upgrades them first. The same failure was fixed for velaux in #788.
Activity