From aad01baaacf565bbd4b1865017092b3ad17298d0 Mon Sep 17 00:00:00 2001 From: Filipp Akinfiev Date: Thu, 15 Feb 2024 12:00:49 +0100 Subject: [PATCH] servicemonitor fix port and selector Signed-off-by: Filipp Akinfiev --- charts/falcosidekick/CHANGELOG.md | 360 +++++++++--------- charts/falcosidekick/Chart.yaml | 2 +- charts/falcosidekick/templates/_helpers.tpl | 1 + .../templates/servicemonitor.yaml | 2 +- 4 files changed, 185 insertions(+), 180 deletions(-) diff --git a/charts/falcosidekick/CHANGELOG.md b/charts/falcosidekick/CHANGELOG.md index 73926f114..b6a8cf980 100644 --- a/charts/falcosidekick/CHANGELOG.md +++ b/charts/falcosidekick/CHANGELOG.md @@ -5,604 +5,608 @@ numbering uses [semantic versioning](http://semver.org). Before release 0.1.20, the helm chart can be found in `falcosidekick` [repository](https://github.com/falcosecurity/falcosidekick/tree/master/deploy/helm/falcosidekick). +## 0.7.13 + +- Fix ServiceMonitor port name and selector labels + ## 0.7.12 -* Align README values with the values.yaml file +- Align README values with the values.yaml file ## 0.7.11 -* Fix a link in the falcosidekick README to the policy report output documentation +- Fix a link in the falcosidekick README to the policy report output documentation ## 0.7.10 -* Set Helm recommended labels (`app.kubernetes.io/name`, `app.kubernetes.io/instance`, `app.kubernetes.io/version`, `helm.sh/chart`, `app.kubernetes.io/part-of`, `app.kubernetes.io/managed-by`) using helpers.tpl +- Set Helm recommended labels (`app.kubernetes.io/name`, `app.kubernetes.io/instance`, `app.kubernetes.io/version`, `helm.sh/chart`, `app.kubernetes.io/part-of`, `app.kubernetes.io/managed-by`) using helpers.tpl ## 0.7.9 -* noop change to the chart itself. Updated makefile. +- noop change to the chart itself. Updated makefile. ## 0.7.8 -* Fix the condition for missing cert files +- Fix the condition for missing cert files ## 0.7.7 -* Support extraArgs in the helm chart +- Support extraArgs in the helm chart ## 0.7.6 -* Fix the behavior with the `AWS IRSA` with a new value `aws.config.useirsa` -* Add a section in the README to describe how to use a subpath for `Falcosidekick-ui` ingress -* Add a `ServiceMonitor` for prometheus-operator -* Add a `PrometheusRule` for prometheus-operator +- Fix the behavior with the `AWS IRSA` with a new value `aws.config.useirsa` +- Add a section in the README to describe how to use a subpath for `Falcosidekick-ui` ingress +- Add a `ServiceMonitor` for prometheus-operator +- Add a `PrometheusRule` for prometheus-operator ## 0.7.5 -* noop change just to test the ci +- noop change just to test the ci ## 0.7.4 -* Fix volume mount when `config.tlsserver.servercrt`, `config.tlsserver.serverkey` and `config.tlsserver.cacrt` variables are defined. +- Fix volume mount when `config.tlsserver.servercrt`, `config.tlsserver.serverkey` and `config.tlsserver.cacrt` variables are defined. ## 0.7.3 -* Allow to set (m)TLS Server cryptographic material via `config.tlsserver.servercrt`, `config.tlsserver.serverkey` and `config.tlsserver.cacrt` variables or through `config.tlsserver.existingSecret` variables. +- Allow to set (m)TLS Server cryptographic material via `config.tlsserver.servercrt`, `config.tlsserver.serverkey` and `config.tlsserver.cacrt` variables or through `config.tlsserver.existingSecret` variables. ## 0.7.2 -* Fix the wrong key of the secret for the user +- Fix the wrong key of the secret for the user ## 0.7.1 -* Allow to set a password `webui.redis.password` for Redis for `Falcosidekick-UI` -* The user for `Falcosidekick-UI` is now set with an env var from a secret +- Allow to set a password `webui.redis.password` for Redis for `Falcosidekick-UI` +- The user for `Falcosidekick-UI` is now set with an env var from a secret ## 0.7.0 -* Support configuration of revisionHistoryLimit of the deployments +- Support configuration of revisionHistoryLimit of the deployments ## 0.6.3 -* Update Falcosidekick to 2.28.0 -* Add Mutual TLS Client config -* Add TLS Server config -* Add `bracketreplacer` config -* Add `customseveritymap` to `alertmanager` output -* Add Drop Event config to `alertmanager` output -* Add `customheaders` to `elasticsearch` output -* Add `customheaders` to `loki` output -* Add `customheaders` to `grafana` output -* Add `rolearn` and `externalid` for `aws` outputs -* Add `method` to `webhook` output -* Add `customattributes` to `gcp.pubsub` output -* Add `region` to `pargerduty` output -* Add `topiccreation` and `tls` to `kafka` output -* Add `Grafana OnCall` output -* Add `Redis` output -* Add `Telegram` output -* Add `N8N` output -* Add `OpenObserver` output +- Update Falcosidekick to 2.28.0 +- Add Mutual TLS Client config +- Add TLS Server config +- Add `bracketreplacer` config +- Add `customseveritymap` to `alertmanager` output +- Add Drop Event config to `alertmanager` output +- Add `customheaders` to `elasticsearch` output +- Add `customheaders` to `loki` output +- Add `customheaders` to `grafana` output +- Add `rolearn` and `externalid` for `aws` outputs +- Add `method` to `webhook` output +- Add `customattributes` to `gcp.pubsub` output +- Add `region` to `pargerduty` output +- Add `topiccreation` and `tls` to `kafka` output +- Add `Grafana OnCall` output +- Add `Redis` output +- Add `Telegram` output +- Add `N8N` output +- Add `OpenObserver` output ## 0.6.2 -* Fix interpolation of `SYSLOG_PORT` +- Fix interpolation of `SYSLOG_PORT` ## 0.6.1 -* Add `webui.allowcors` value for `Falcosidekick-UI` +- Add `webui.allowcors` value for `Falcosidekick-UI` ## 0.6.0 -* Change the docker image for the redis pod for falcosidekick-ui +- Change the docker image for the redis pod for falcosidekick-ui ## 0.5.16 -* Add `affinity`, `nodeSelector` and `tolerations` values for the Falcosidekick test-connection pod +- Add `affinity`, `nodeSelector` and `tolerations` values for the Falcosidekick test-connection pod ## 0.5.15 -* Set extra labels and annotations for `AlertManager` only if they're not empty +- Set extra labels and annotations for `AlertManager` only if they're not empty ## 0.5.14 -* Fix Prometheus extralabels configuration in Falcosidekick +- Fix Prometheus extralabels configuration in Falcosidekick ## 0.5.13 -* Fix missing quotes in Falcosidekick-UI ttl argument +- Fix missing quotes in Falcosidekick-UI ttl argument ## 0.5.12 -* Fix missing space in Falcosidekick-UI ttl argument +- Fix missing space in Falcosidekick-UI ttl argument ## 0.5.11 -* Fix missing space in Falcosidekick-UI arguments +- Fix missing space in Falcosidekick-UI arguments ## 0.5.10 -* upgrade Falcosidekick image to 2.27.0 -* upgrade Falcosidekick-UI image to 2.1.0 -* Add `Yandex Data Streams` output -* Add `Node-Red` output -* Add `MQTT` output -* Add `Zincsearch` output -* Add `Gotify` output -* Add `Spyderbat` output -* Add `Tekton` output -* Add `TimescaleDB` output -* Add `AWS Security Lake` output -* Add `config.templatedfields` to set templated fields -* Add `config.slack.channel` to override `Slack` channel -* Add `config.alertmanager.extralabels` and `config.alertmanager.extraannotations` for `AlertManager` output -* Add `config.influxdb.token`, `config.influxdb.organization` and `config.influxdb.precision` for `InfluxDB` output -* Add `config.aws.checkidentity` to disallow STS checks -* Add `config.smtp.authmechanism`, `config.smtp.token`, `config.smtp.identity`, `config.smtp.trace` to manage `SMTP` auth -* Update default doc type for `Elastichsearch` -* Add `config.loki.user`, `config.loki.apikey` to manage auth to Grafana Cloud for `Loki` output -* Add `config.kafka.sasl`, `config.kafka.async`, `config.kafka.compression`, `config.kafka.balancer`, `config.kafka.clientid` to manage auth and communication for `Kafka` output -* Add `config.syslog.format` to manage the format of `Syslog` payload -* Add `webui.ttl` to set TTL of keys in Falcosidekick-UI -* Add `webui.loglevel` to set log level in Falcosidekick-UI -* Add `webui.user` to set log user:password in Falcosidekick-UI +- upgrade Falcosidekick image to 2.27.0 +- upgrade Falcosidekick-UI image to 2.1.0 +- Add `Yandex Data Streams` output +- Add `Node-Red` output +- Add `MQTT` output +- Add `Zincsearch` output +- Add `Gotify` output +- Add `Spyderbat` output +- Add `Tekton` output +- Add `TimescaleDB` output +- Add `AWS Security Lake` output +- Add `config.templatedfields` to set templated fields +- Add `config.slack.channel` to override `Slack` channel +- Add `config.alertmanager.extralabels` and `config.alertmanager.extraannotations` for `AlertManager` output +- Add `config.influxdb.token`, `config.influxdb.organization` and `config.influxdb.precision` for `InfluxDB` output +- Add `config.aws.checkidentity` to disallow STS checks +- Add `config.smtp.authmechanism`, `config.smtp.token`, `config.smtp.identity`, `config.smtp.trace` to manage `SMTP` auth +- Update default doc type for `Elastichsearch` +- Add `config.loki.user`, `config.loki.apikey` to manage auth to Grafana Cloud for `Loki` output +- Add `config.kafka.sasl`, `config.kafka.async`, `config.kafka.compression`, `config.kafka.balancer`, `config.kafka.clientid` to manage auth and communication for `Kafka` output +- Add `config.syslog.format` to manage the format of `Syslog` payload +- Add `webui.ttl` to set TTL of keys in Falcosidekick-UI +- Add `webui.loglevel` to set log level in Falcosidekick-UI +- Add `webui.user` to set log user:password in Falcosidekick-UI ## 0.5.9 -* Fix: remove `namespace` from `clusterrole` and `clusterrolebinding` metadata +- Fix: remove `namespace` from `clusterrole` and `clusterrolebinding` metadata ## 0.5.8 -* Support `storageEnabled` for `redis` to allow ephemeral installs +- Support `storageEnabled` for `redis` to allow ephemeral installs ## 0.5.7 -* Removing unused Kafka config values +- Removing unused Kafka config values ## 0.5.6 -* Fixing Syslog's port import in `secrets.yaml` +- Fixing Syslog's port import in `secrets.yaml` ## 0.5.5 -* Add `webui.externalRedis` with `enabled`, `url` and `port` to values to set an external Redis database with RediSearch > v2 for the WebUI -* Add `webui.redis.enabled` option to disable the deployment of the database. -* `webui.redis.enabled ` and `webui.externalRedis.enabled` are mutually exclusive +- Add `webui.externalRedis` with `enabled`, `url` and `port` to values to set an external Redis database with RediSearch > v2 for the WebUI +- Add `webui.redis.enabled` option to disable the deployment of the database. +- `webui.redis.enabled ` and `webui.externalRedis.enabled` are mutually exclusive ## 0.5.4 -* Upgrade image to fix Panic of `Prometheus` output when `customfields` is set -* Add `extralabels` for `Loki` and `Prometheus` outputs to set fields to use as labels -* Add `expiresafter` for `AlertManager` output +- Upgrade image to fix Panic of `Prometheus` output when `customfields` is set +- Add `extralabels` for `Loki` and `Prometheus` outputs to set fields to use as labels +- Add `expiresafter` for `AlertManager` output ## 0.5.3 -* Support full configuration of `securityContext` blocks in falcosidekick and falcosidekick-ui deployments, and redis statefulset. +- Support full configuration of `securityContext` blocks in falcosidekick and falcosidekick-ui deployments, and redis statefulset. ## 0.5.2 -* Update Falcosidekick-UI image (fix wrong redirect to localhost when an ingress is used) +- Update Falcosidekick-UI image (fix wrong redirect to localhost when an ingress is used) ## 0.5.1 -* Support `ingressClassName` field in falcosidekick ingresses. +- Support `ingressClassName` field in falcosidekick ingresses. ## 0.5.0 ### Major Changes -* Add `Policy Report` output -* Add `Syslog` output -* Add `AWS Kinesis` output -* Add `Zoho Cliq` output -* Support IRSA for AWS authentication -* Upgrade Falcosidekick-UI to v2.0.1 +- Add `Policy Report` output +- Add `Syslog` output +- Add `AWS Kinesis` output +- Add `Zoho Cliq` output +- Support IRSA for AWS authentication +- Upgrade Falcosidekick-UI to v2.0.1 ### Minor changes -* Allow to set custom Labels for pods +- Allow to set custom Labels for pods ## 0.4.5 -* Allow additional service-ui annotations +- Allow additional service-ui annotations ## 0.4.4 -* Fix output after chart installation when ingress is enable +- Fix output after chart installation when ingress is enable ## 0.4.3 -* Support `annotation` block in service +- Support `annotation` block in service ## 0.4.2 -* Fix: Added the rule to use the podsecuritypolicy -* Fix: Added `ServiceAccountName` to the UI deployment +- Fix: Added the rule to use the podsecuritypolicy +- Fix: Added `ServiceAccountName` to the UI deployment ## 0.4.1 -* Removes duplicate `Fission` keys from secret +- Removes duplicate `Fission` keys from secret ## 0.4.0 ### Major Changes -* Support Ingress API version `networking.k8s.io/v1`, see `ingress.hosts` and `webui.ingress.hosts` in [values.yaml](values.yaml) for a breaking change in the `path` parameter +- Support Ingress API version `networking.k8s.io/v1`, see `ingress.hosts` and `webui.ingress.hosts` in [values.yaml](values.yaml) for a breaking change in the `path` parameter ## 0.3.17 -* Fix: Remove the value for bucket of `Yandex S3`, it enabled the output by default +- Fix: Remove the value for bucket of `Yandex S3`, it enabled the output by default ## 0.3.16 ### Major Changes -* Fix: set correct new image 2.24.0 +- Fix: set correct new image 2.24.0 ## 0.3.15 ### Major Changes -* Add `Fission` output +- Add `Fission` output ## 0.3.14 ### Major Changes -* Add `Grafana` output -* Add `Yandex Cloud S3` output -* Add `Kafka REST` output +- Add `Grafana` output +- Add `Yandex Cloud S3` output +- Add `Kafka REST` output ### Minor changes -* Docker image is now available on AWS ECR Public Gallery (`--set image.registry=public.ecr.aws`) +- Docker image is now available on AWS ECR Public Gallery (`--set image.registry=public.ecr.aws`) ## 0.3.13 ### Minor changes -* Enable extra volumes and volumemounts for `falcosidekick` via values +- Enable extra volumes and volumemounts for `falcosidekick` via values ## 0.3.12 -* Add AWS configuration field `config.aws.rolearn` +- Add AWS configuration field `config.aws.rolearn` ## 0.3.11 ### Minor changes -* Make image registries for `falcosidekick` and `falcosidekick-ui` configurable +- Make image registries for `falcosidekick` and `falcosidekick-ui` configurable ## 0.3.10 ### Minor changes -* Fix table formatting in `README.md` +- Fix table formatting in `README.md` ## 0.3.9 ### Fixes -* Add missing `imagePullSecrets` in `falcosidekick/templates/deployment-ui.yaml` +- Add missing `imagePullSecrets` in `falcosidekick/templates/deployment-ui.yaml` ## 0.3.8 ### Major Changes -* Add `GCP Cloud Run` output -* Add `GCP Cloud Functions` output -* Add `Wavefront` output -* Allow MutualTLS for some outputs -* Add basic auth for Elasticsearch output +- Add `GCP Cloud Run` output +- Add `GCP Cloud Functions` output +- Add `Wavefront` output +- Allow MutualTLS for some outputs +- Add basic auth for Elasticsearch output ## 0.3.7 ### Minor changes -* Fix table formatting in `README.md` -* Fix `config.azure.eventHub` parameter name in `README.md` +- Fix table formatting in `README.md` +- Fix `config.azure.eventHub` parameter name in `README.md` ## 0.3.6 ### Fixes -* Point to the correct name of aadpodidentnity +- Point to the correct name of aadpodidentnity ## 0.3.5 ### Minor Changes -* Fix link to Falco in the `README.md` +- Fix link to Falco in the `README.md` ## 0.3.4 ### Major Changes -* Bump up version (`v1.0.1`) of image for `falcosidekick-ui` +- Bump up version (`v1.0.1`) of image for `falcosidekick-ui` ## 0.3.3 ### Minor Changes -* Set default values for `OpenFaaS` output type parameters -* Fixes of documentation +- Set default values for `OpenFaaS` output type parameters +- Fixes of documentation ## 0.3.2 ### Fixes -* Add config checksum annotation to deployment pods to restart pods on config change -* Fix statsd config options in the secret to make them match the docs +- Add config checksum annotation to deployment pods to restart pods on config change +- Fix statsd config options in the secret to make them match the docs ## 0.3.1 ### Fixes -* Fix for `s3.bucket`, it should be empty +- Fix for `s3.bucket`, it should be empty ## 0.3.0 ### Major Changes -* Add `AWS S3` output -* Add `GCP Storage` output -* Add `RabbitMQ` output -* Add `OpenFaas` output +- Add `AWS S3` output +- Add `GCP Storage` output +- Add `RabbitMQ` output +- Add `OpenFaas` output ## 0.2.9 ### Major Changes -* Updated falcosidekuck-ui default image version to `v0.2.0` +- Updated falcosidekuck-ui default image version to `v0.2.0` ## 0.2.8 ### Fixes -* Fixed to specify `kafka.hostPort` instead of `kafka.url` +- Fixed to specify `kafka.hostPort` instead of `kafka.url` ## 0.2.7 ### Fixes -* Fixed missing hyphen in podidentity +- Fixed missing hyphen in podidentity ## 0.2.6 ### Fixes -* Fix repo and tag for `ui` image +- Fix repo and tag for `ui` image ## 0.2.5 ### Major Changes -* Add `CLOUDEVENTS` output -* Add `WEBUI` output +- Add `CLOUDEVENTS` output +- Add `WEBUI` output ### Minor Changes -* Add details about syntax for adding `custom_fields` +- Add details about syntax for adding `custom_fields` ## 0.2.4 ### Minor Changes -* Add `DATADOG_HOST` to secret +- Add `DATADOG_HOST` to secret ## 0.2.3 ### Minor Changes -* Allow additional pod annotations -* Remove namespace condition in aad-pod-identity +- Allow additional pod annotations +- Remove namespace condition in aad-pod-identity ## 0.2.2 ### Major Changes -* Add `Kubeless` output +- Add `Kubeless` output ## 0.2.1 ### Major Changes -* Add `PagerDuty` output +- Add `PagerDuty` output ## 0.2.0 ### Major Changes -* Add option to use an existing secret -* Add option to add extra environment variables -* Add `Stan` output +- Add option to use an existing secret +- Add option to add extra environment variables +- Add `Stan` output ### Minor Changes -* Use the Existing secret resource and add all possible variables to there, and make it simpler to read and less error-prone in the deployment resource +- Use the Existing secret resource and add all possible variables to there, and make it simpler to read and less error-prone in the deployment resource ## 0.1.37 ### Minor Changes -* Fix aws keys not being added to the deployment +- Fix aws keys not being added to the deployment ## 0.1.36 ### Minor Changes -* Fix helm test +- Fix helm test ## 0.1.35 ### Major Changes -* Update image to use release 2.19.1 +- Update image to use release 2.19.1 ## 0.1.34 -* New outputs can be set : `Kafka`, `AWS CloudWatchLogs` +- New outputs can be set : `Kafka`, `AWS CloudWatchLogs` ## 0.1.33 ### Minor Changes -* Fixed GCP Pub/Sub values references in `deployment.yaml` +- Fixed GCP Pub/Sub values references in `deployment.yaml` ## 0.1.32 ### Major Changes -* Support release namespace configuration +- Support release namespace configuration ## 0.1.31 ### Major Changes -* New outputs can be set : `Googlechat` +- New outputs can be set : `Googlechat` ## 0.1.30 ### Major changes -* New output can be set : `GCP PubSub` -* Custom Headers can be set for `Webhook` output -* Fix typo `aipKey` for OpsGenie output +- New output can be set : `GCP PubSub` +- Custom Headers can be set for `Webhook` output +- Fix typo `aipKey` for OpsGenie output ## 0.1.29 -* Fix falcosidekick configuration table to use full path of configuration properties in the `README.md` +- Fix falcosidekick configuration table to use full path of configuration properties in the `README.md` ## 0.1.28 ### Major changes -* New output can be set : `AWS SNS` -* Metrics in `prometheus` format can be scrapped from `/metrics` URI +- New output can be set : `AWS SNS` +- Metrics in `prometheus` format can be scrapped from `/metrics` URI ## 0.1.27 ### Minor Changes -* Replace extensions apiGroup/apiVersion because of deprecation +- Replace extensions apiGroup/apiVersion because of deprecation ## 0.1.26 ### Minor Changes -* Allow the creation of a PodSecurityPolicy, disabled by default +- Allow the creation of a PodSecurityPolicy, disabled by default ## 0.1.25 ### Minor Changes -* Allow the configuration of the Pod securityContext, set default runAsUser and fsGroup values +- Allow the configuration of the Pod securityContext, set default runAsUser and fsGroup values ## 0.1.24 ### Minor Changes -* Remove duplicated `webhook` block in `values.yaml` +- Remove duplicated `webhook` block in `values.yaml` ## 0.1.23 -* fake release for triggering CI for auto-publishing +- fake release for triggering CI for auto-publishing ## 0.1.22 ### Major Changes -* Add `imagePullSecrets` +- Add `imagePullSecrets` ## 0.1.21 ### Minor Changes -* Fix `Azure Indentity` case sensitive value +- Fix `Azure Indentity` case sensitive value ## 0.1.20 ### Major Changes -* New outputs can be set : `Azure Event Hubs`, `Discord` +- New outputs can be set : `Azure Event Hubs`, `Discord` ### Minor Changes -* Fix wrong port name in output +- Fix wrong port name in output ## 0.1.17 ### Major Changes -* New outputs can be set : `Mattermost`, `Rocketchat` +- New outputs can be set : `Mattermost`, `Rocketchat` ## 0.1.11 ### Major Changes -* Add Pod Security Policy +- Add Pod Security Policy ## 0.1.11 ### Minor Changes -* Fix wrong value reference for Elasticsearch output in deployment.yaml +- Fix wrong value reference for Elasticsearch output in deployment.yaml ## 0.1.10 ### Major Changes -* New output can be set : `DogStatsD` +- New output can be set : `DogStatsD` ## 0.1.9 ### Major Changes -* New output can be set : `StatsD` +- New output can be set : `StatsD` ## 0.1.7 ### Major Changes -* New output can be set : `Opsgenie` +- New output can be set : `Opsgenie` ## 0.1.6 ### Major Changes -* New output can be set : `NATS` +- New output can be set : `NATS` ## 0.1.5 ### Major Changes -* `Falcosidekick` and its chart are now part of `falcosecurity` organization +- `Falcosidekick` and its chart are now part of `falcosecurity` organization ## 0.1.4 ### Minor Changes -* Use more recent image with `Golang` 1.14 +- Use more recent image with `Golang` 1.14 ## 0.1.3 ### Major Changes -* New output can be set : `Loki` +- New output can be set : `Loki` ## 0.1.2 ### Major Changes -* New output can be set : `SMTP` +- New output can be set : `SMTP` ## 0.1.1 ### Major Changes -* New outputs can be set : `AWS Lambda`, `AWS SQS`, `Teams` +- New outputs can be set : `AWS Lambda`, `AWS SQS`, `Teams` ## 0.1.0 ### Major Changes -* Initial release of Falcosidekick Helm Chart +- Initial release of Falcosidekick Helm Chart diff --git a/charts/falcosidekick/Chart.yaml b/charts/falcosidekick/Chart.yaml index 007ddb080..59f06b8d7 100644 --- a/charts/falcosidekick/Chart.yaml +++ b/charts/falcosidekick/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 2.28.0 description: Connect Falco to your ecosystem icon: https://raw.githubusercontent.com/falcosecurity/falcosidekick/master/imgs/falcosidekick_color.png name: falcosidekick -version: 0.7.12 +version: 0.7.13 keywords: - monitoring - security diff --git a/charts/falcosidekick/templates/_helpers.tpl b/charts/falcosidekick/templates/_helpers.tpl index b5290e89c..0448e3b72 100644 --- a/charts/falcosidekick/templates/_helpers.tpl +++ b/charts/falcosidekick/templates/_helpers.tpl @@ -63,6 +63,7 @@ Selector labels {{- define "falcosidekick.selectorLabels" -}} app.kubernetes.io/name: {{ include "falcosidekick.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} +app.kubernetes.io/component: core {{- end }} {{/* diff --git a/charts/falcosidekick/templates/servicemonitor.yaml b/charts/falcosidekick/templates/servicemonitor.yaml index ac73e3e9b..094ee9219 100644 --- a/charts/falcosidekick/templates/servicemonitor.yaml +++ b/charts/falcosidekick/templates/servicemonitor.yaml @@ -12,7 +12,7 @@ metadata: {{- end }} spec: endpoints: - - port: metrics + - port: http {{- if .Values.serviceMonitor.interval }} interval: {{ .Values.serviceMonitor.interval }} {{- end }}