-
Notifications
You must be signed in to change notification settings - Fork 41
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
Adding Prometheus Exporter to Helm Charts #343
Conversation
PR Description updated to latest commit (80d39f2) |
PR Analysis(review updated until commit 8ba1036)
PR Feedback
How to useInstructions
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done!
Please see my few comments.
In addition, we should add documentation and we should remove the deprecated Prometheus support (currently we support only the kubescape workload).
charts/kubescape-operator/templates/prometheus-exporter/clusterrole.yaml
Outdated
Show resolved
Hide resolved
charts/kubescape-operator/templates/prometheus-exporter/clusterrole.yaml
Outdated
Show resolved
Hide resolved
charts/kubescape-operator/templates/prometheus-exporter/deployment.yaml
Outdated
Show resolved
Hide resolved
@0xt3j4s What are the metrics that will be supported? Configuration scanning and image scanning? |
Currently, the metrics support configuration scanning (control metrics) and image scanning (vulnerability metrics). |
@0xt3j4s Can you pls fix the conflicts? |
PR Description updated to latest commit (8ba1036) |
Persistent review updated to latest commit 8ba1036 |
charts/kubescape-operator/templates/prometheus-exporter/deployment.yaml
Outdated
Show resolved
Hide resolved
465452d
to
b771449
Compare
Signed-off-by: Tejas <[email protected]> Signed-off-by: Matthias Bertschy <[email protected]>
Type
Enhancement
Description
This PR introduces the integration of Prometheus Exporter into the Helm charts of the kubescape-operator. The main changes include:
PR changes walkthrough
8 files
_helpers.tpl
charts/kubescape-operator/templates/_helpers.tpl
Added a new configuration for Prometheus Exporter.
clusterrole.yaml
charts/kubescape-operator/templates/prometheus-exporter/clusterrole.yaml
Added a new cluster role for Prometheus Exporter.
clusterrolebinding.yaml
charts/kubescape-operator/templates/prometheus-exporter/clusterrolebinding.yaml
Added a new cluster role binding for Prometheus Exporter.
deployment.yaml
charts/kubescape-operator/templates/prometheus-exporter/deployment.yaml
Added a new deployment configuration for Prometheus
Exporter.
networkpolicy.yaml
charts/kubescape-operator/templates/prometheus-exporter/networkpolicy.yaml
Added a new network policy for Prometheus Exporter.
service.yaml
charts/kubescape-operator/templates/prometheus-exporter/service.yaml
Added a new service configuration for Prometheus Exporter.
serviceaccount.yaml
charts/kubescape-operator/templates/prometheus-exporter/serviceaccount.yaml
Added a new service account for Prometheus Exporter.
values.yaml
charts/kubescape-operator/values.yaml
Updated the values.yaml file to include configurations for
Prometheus Exporter.
User description
Type
Enhancement
Description
This PR introduces the integration of Prometheus Exporter into the Helm charts of the kubescape-operator. The main changes include:
PR changes walkthrough
8 files
_helpers.tpl
charts/kubescape-operator/templates/_helpers.tpl
Added a new configuration for Prometheus Exporter.
clusterrole.yaml
charts/kubescape-operator/templates/prometheus-exporter/clusterrole.yaml
Added a new ClusterRole for Prometheus Exporter with
specific rules.
clusterrolebinding.yaml
charts/kubescape-operator/templates/prometheus-exporter/clusterrolebinding.yaml
Added a new ClusterRoleBinding for Prometheus Exporter.
deployment.yaml
charts/kubescape-operator/templates/prometheus-exporter/deployment.yaml
Added a new Deployment configuration for Prometheus
Exporter.
networkpolicy.yaml
charts/kubescape-operator/templates/prometheus-exporter/networkpolicy.yaml
Added a new NetworkPolicy for Prometheus Exporter.
service.yaml
charts/kubescape-operator/templates/prometheus-exporter/service.yaml
Added a new Service configuration for Prometheus Exporter.
serviceaccount.yaml
charts/kubescape-operator/templates/prometheus-exporter/serviceaccount.yaml
Added a new ServiceAccount for Prometheus Exporter.
values.yaml
charts/kubescape-operator/values.yaml
Updated the values.yaml file to include configurations for
Prometheus Exporter.