postee: route "stdout" contains reference to undefined or misconfigured template "raw-json"."

Description

What did you expect to happen?

The installation succeeded. We expected to see results of the scan in the container log.

What happened instead?

We received error from the logs regarding the template.

Output of run with POSTEE_DEBUG=true:

#################################################

ERROR MESSAGE

################################################# { insertId: “q35i4olmi0ay1o75” labels: {5} logName: “projects/t-2004107-aquaops-0000/logs/stderr” receiveTimestamp: “2022-11-16T10:55:12.840010372Z” resource: {2} severity: “ERROR” textPayload: “2022/11/16 10:55:08 route “stdout” contains reference to undefined or misconfigured template “raw-json”.” timestamp: “2022-11-16T10:55:08.364027297Z” }

(paste your output here)

Additional details (environment setup, networking info…):

We copied the yaml file from the GitHub page and checked it several times. There are no syntax errors inside. Also the config map after the deployment exactly resembles the documentation.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 33 (3 by maintainers)

Most upvoted comments

Hello @g-soeldner , @smangels , @stanislavdip

We merged #556. Fix will be include to next release.

Regards, Dmtriyi

Hello @DmitriyLewen Postee deployed in Kubernetes cluster via ArgoCD, helm chart: version: v2.10.2
repository: https://aquasecurity.github.io/helm-charts/

Here are the permissions for the files:

/server $ ls -la /server/rego-templates/custom/
total 28
drwxr-xr-x    3 root     root          4096 Apr 27 07:48 .
drwxr-xr-x    1 postee   postee        4096 Apr 27 09:29 ..
drwx------    2 root     root         16384 Apr 27 07:48 lost+found
/server $ ls -la /server/rego-filters/custom/
total 28
drwxr-xr-x    3 root     root          4096 Apr 27 07:48 .
drwxr-xr-x    1 postee   postee        4096 Apr 27 09:29 ..
drwx------    2 root     root         16384 Apr 27 07:48 lost+found

thank you @DmitriyLewen . i have created an issue #507

@AndreyLevchenko can you take a look at this?