camel-k: Delete knative warning when Knative is not installed

The operator prints periodically this info:

{"level":"info","ts":1623416979.434832,"logger":"camel-k","msg":"could not find any knative type in namespace camel, last error was: services.serving.knative.dev is forbidden: User \"system:serviceaccount:camel:camel-k-operator\" cannot list resource \"services\" in API group \"serving.knative.dev\" in the namespace \"camel\""}

It looks like an error, while it’s not. That log should be suppressed.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 3
  • Comments: 16 (13 by maintainers)

Most upvoted comments

@dimitraz great, feel free to go ahead. I think we can use that opportunity to revisit the IsEnabledInNamespace method entirely, as I doubt the current implementation is relevant.