-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Logging 6.0
Inside About Logging 6.0 section in Quick Start, the step number 9." Create a ClusterLogForwarder CR to configure log forwarding is not defined properly. If copy/paste this example, the following error is obtained:
The ClusterLogForwarder "collector" is invalid: * spec.outputs[0].lokiStack.authentication: Required value * <nil>: Invalid value: "null": some validation rules were not checked because the object was invalid; correct the existing errors to complete validation
To create a correct CLF, the authentication part must be inside lokistack:
spec: serviceAccount: name: collector outputs: - name: default-lokistack type: lokiStack lokiStack: target: name: logging-loki namespace: openshift-logging authentication: -->this token: --> this from: serviceAccount --> this tls: ca: key: service-ca.crt configMapName: openshift-service-ca.crt