Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Insufficient Helm chart ClusterRole definitions #947

Closed
nkaijala-elisa opened this issue Oct 5, 2023 · 1 comment
Closed

bug: Insufficient Helm chart ClusterRole definitions #947

nkaijala-elisa opened this issue Oct 5, 2023 · 1 comment

Comments

@nkaijala-elisa
Copy link

Cluster information

Cluster: Openshift 4.11
CRI: CRI-O

Symptom

after installing fluentd CRDs and fluentd in fluentd-only mode, the operator pod throws the following error:

2023-10-05T09:07:18Z    ERROR   Reconciler error        {"controller": "fluentd", "controllerGroup": "fluentd.fluent.io", "controllerKind": "Fluentd", "Fluentd": {"name":"fluentd","namespace":"<ns_name>"}, "namespace": "<ns_name>", "name": "fluentd", "reconcileID": "8dd87298-5330-4e30-a568-133cc3702d0e", "error": "secrets \"fluentd-config\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>"}

Expected behaviour

a Functioning operator with correct RBAC settings.

Steps to reproduce

Install fluentd CRDs and fluentd in fluentd-only mode on an openshift cluster.

Proposed fix

Add - clusterfluentbitconfigs/finalizers under

  - apiGroups:
      - fluentbit.fluent.io
    resources:

in charts/fluent-operator/templates/fluent-operator-clusterRole.yaml

@github-actions
Copy link

github-actions bot commented Oct 5, 2023

@nkaijala-elisa this issue was automatically closed because it did not follow the issue template

@github-actions github-actions bot closed this as completed Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant