-
Bug
-
Resolution: Done
-
Undefined
-
None
-
Logging 6.0, Logging 6.1
-
None
-
False
-
-
False
-
-
-
Moderate
Section: Upgrading to Logging 6.0
URL: https://docs.openshift.com/container-platform/4.16/observability/logging/logging-6.0/log6x-upgrading-to-6.html#red-hat-managed-lokistack
Description
The Red Hat Managed Lokistack example misses to set the "serviceAccount" field.
The current example is:
apiVersion: observability.openshift.io/v1
kind: ClusterLogForwarder
metadata:
name: instance
namespace: openshift-logging
spec:
outputs:
- name: default-lokistack
type: lokiStack
lokiStack:
target:
name: lokistack-dev
namespace: openshift-logging
authentication:
token:
from: serviceAccount
[...]
And it's misses the field ".spec.serviceAccount: <serviceAccountName>". A valid example should be like:
apiVersion: observability.openshift.io/v1
kind: ClusterLogForwarder
metadata:
name: instance
namespace: openshift-logging
spec:
serviceAccount:
name: collector
outputs:
- name: default-lokistack
type: lokiStack
lokiStack:
target:
name: lokistack-dev
namespace: openshift-logging
authentication:
token:
from: serviceAccount
[...]