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
A custom annotation or label with json as text should be allow to transform to object.
For example
[
{
"annotations": {
"summary": "Instance instance1 has been down for more than 5 minutes",
"data": "{\"field1\": \"value1\"}"
},
"labels": {
"instance": "instance1"
},
"startsAt": "2024-03-12T14:09:43.689Z"
}]
we should be allowed to do something like that in template:
{{ range (data .Annotations.data).SortedPairs }} - {{ .Name }} = {{ .Value }}
{{ end }}
The text was updated successfully, but these errors were encountered:
A custom annotation or label with json as text should be allow to transform to object.
For example
we should be allowed to do something like that in template:
The text was updated successfully, but these errors were encountered: