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

Expose Prometheus Metrics #1902

Open
daemon1024 opened this issue Nov 26, 2024 · 2 comments
Open

Expose Prometheus Metrics #1902

daemon1024 opened this issue Nov 26, 2024 · 2 comments
Labels
enhancement New feature or request mentorship

Comments

@daemon1024
Copy link
Member

  • Number of Policies Applied
  • Number of Alerts
  • List of Policies
  • Policy active or not
@daemon1024 daemon1024 added the enhancement New feature or request label Nov 26, 2024
@Ayush9026
Copy link

/assign i will solve this issue.

@navaneeth-dev
Copy link

@daemon1024 I would like to work on this.

This should be added in the KubeArmorController pkg. But when running make deploy in k3s or vagrant dev setup I get the same error but KubeArmor built successfully:

vagrant@kubearmor-dev:~/KubeArmor/pkg/KubeArmorController$ make deploy                                                                                                                             
go mod tidy; /home/vagrant/go/bin/controller-gen "crd:trivialVersions=true,preserveUnknownFields=false" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bas
es                                                                                                                                                                                                 
Error: unable to parse option "crd:trivialVersions=true,preserveUnknownFields=false": [unknown argument "trivialVersions" (at <input>:1:16) extra arguments provided: "true,preserveUnknownFields=f
alse" (at <input>:1:17)]
run `controller-gen crd:trivialVersions=true,preserveUnknownFields=false rbac:roleName=manager-role webhook paths=./... output:crd:artifacts:config=config/crd/bases -w` to see all available markers, or `controller-gen crd:trivialVersions=true,preserveUnknownFields=false rbac:roleName=manager-role webhook paths=./... output:crd:artifacts:config=config/crd/bases -h` for usage
make: *** [Makefile:52: manifests] Error 1

Any idea what to do?
Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mentorship
Projects
None yet
Development

No branches or pull requests

4 participants