kubescape / helm-charts

Kubescape can run as a set of microservices inside a Kubernetes cluster. This allows you to continually monitor the status of a cluster, including for compliance and vulnerability management
Apache License 2.0
29 stars 41 forks source link

Support podsAnnotation #501

Open pierreblais opened 4 weeks ago

pierreblais commented 4 weeks ago

Overview

I would like add annotations on pods for different purpose (logs parsing, etc)

Problem

There are no options to add labels or annotation to the pods

Solution

I guess it is possible to add podAnnotations to values files in order to set pods annotation. It could be added to each Microservices. podAnnotations is the values used by Bitnami to add pods annotations.

It could be good to add podLabels while working on the feature.

I could work on the feature, is there any things I should know before to start ?

matthyx commented 6 days ago

Hi Pierre, welcome! You can start working on it, please read how we manage unit tests: https://github.com/kubescape/helm-charts/blob/main/charts/kubescape-operator/tests/README.md I will happily review your PR :)