-
Bug
-
Resolution: Done
-
Major
-
Logging 5.7.0
-
False
-
None
-
False
-
NEW
-
VERIFIED
-
-
-
-
Log Collection - Sprint 232
Description of problem:
When create clf/instance with below file, there is no error in clf:
$ oc get clf -oyaml apiVersion: v1 items: - apiVersion: logging.openshift.io/v1 kind: ClusterLogForwarder metadata: creationTimestamp: "2022-12-16T08:43:10Z" generation: 1 name: instance namespace: openshift-logging resourceVersion: "262832" uid: 6887a972-bfda-454f-ae32-d83a5689b805 spec: outputs: - name: default secret: name: loki-client type: loki url: https://logs-prod-us-central1.grafana.net pipelines: - inputRefs: - application name: to-loki outputRefs: - default status: conditions: - lastTransitionTime: "2022-12-16T08:43:10Z" status: "True" type: Ready kind: List metadata: resourceVersion: ""
Version-Release number of selected component (if applicable):
cluster-logging.v5.6.0
How reproducible:
Always
Steps to Reproduce:
- deploy CLO
- create a CLF, add an output named `default`
- check CLF status
Actual results:
No error in CLF.
Expected results:
Should have error message like:
- lastTransitionTime: "2020-07-07T01:43:04Z" message: output name "default" is reserved reason: Invalid status: "False" type: Ready
Additional info:
- clones
-
LOG-3437 [release-5.6] No error in the clf/instance when creating a clf with an output named as `default`.
- Closed
- links to