-
| 
         I'm trying build a StatefulSet from a yaml (code stolen from https://github.com/java-operator-sdk/java-operator-sdk/blob/main/sample-operators/webpage/src/main/java/io/javaoperatorsdk/operator/sample/WebPageOperator.java). When I feed my yaml to unmarshal, I get this unhelpful exception: I can kubectl apply -f my yaml file without issue, so I'm stumped what I'm doing wrong here.  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
| 
         It helps if you read the code carefully. I was missing the leading "/" on the resource name, and the resource was not found. Nonetheless, the error reporting is very unhelpful.  | 
  
Beta Was this translation helpful? Give feedback.
It helps if you read the code carefully. I was missing the leading "/" on the resource name, and the resource was not found. Nonetheless, the error reporting is very unhelpful.