I tried to run a config file to set Falco as my backend webhook. Iam getting this error on trying to run my config file
revaa@revaa-Lenovo-E41-25:~/opa$ kubectl apply -f conflc.yamlerror: unable to recognize "conflc.yaml": no matches for kind "Config" in version "v1"
Here is my config file
apiVersion: v1kind: Configclusters:- name: falco cluster: server: http://$FALCO_SERVICE_CLUSTERIP:8765/k8s_auditcontexts:- context: cluster: falco user: "" name: default-contextcurrent-context: default-contextpreferences: {}users: []
How to fix this?