Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CEL_bug

This repo contains an example of the flake failure I see when creating a CR with CEL rules (using HTTP POST):

Invalid value: "object": internal error: runtime error: index out of range [3] with length 3 evaluating rule: <rule name>

this is the CEL rule: (has(self.prop1) ? 1 : 0) + (has(self.prop2) ? 1 : 0) == 1

The sent JSON is valid and works most of the time.

K8S version: v1.25.0

HOWTO reproduce:

$ go test

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages