rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
450 stars 258 forks source link

CIS Benchmark -- Error building controller: unknown provider when using containerd.io as CRI #5899

Open busyboy77 opened 2 years ago

busyboy77 commented 2 years ago

Setup

v2.6.4

Version 101.0.4951.54 (Official Build) (64-bit)

Describe the bug

CIS Benchamrk app suite is always in a CrashLoopBackOff State when deployed on a K8s Cluster with Containerd as CRI. the error from the CIS-operator pod is something like

# kubectl logs -f pod/cis-operator-54865c6788-wgrtc  -n  cis-operator-system
time="2022-05-10T10:39:11Z" level=info msg="Starting CIS-Operator"
time="2022-05-10T10:39:11Z" level=fatal msg="Error building controller: unknown provider"

To Reproduce Deploy the K8s Cluster using Kubeadm and Containerd as CRI deploy the Rancher Deploy the CIS-Benchmark from the Apps & Marketplace.

The CIS-Operator pod is always in CrashLoopBackOff State with above given error message.

Result

Expected Result

Screenshots

Additional context

Detailed Description

Context

technerd4357 commented 2 years ago

Yes, same issue with containerd (RuntimeVersion: 1.4.9) and k8s v1.21.7.