34 Commits
Author SHA1 Message Date
Néstor SalcedaandGitHub 2268fe045e [stable/sysdig] Implement a more comprehensive securityContexts (#22160)
Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2020-04-28 04:42:06 -07:00
Néstor SalcedaandGitHub f600d33b37 [stable/sysdig] Add affinity instructions to schedule on amd64 and linux (#22150)
* [stable/sysdig] Add affinity instructions to schedule on amd64 and linux

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* [stable/sysdig] Add support for custom annotations

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2020-04-28 01:36:05 -07:00
Néstor SalcedaandGitHub cae81df502 [stable/sysdig] Upgrade to latest Sysdig Agent (9.9.1) (#22083)
* [stable/sysdig] Upgrade to latest Sysdig Agent (9.9.1)

Add the nodeSelector property to daemonset to schedule only on certain
nodes.

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Add a livenessProbe

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2020-04-23 09:17:11 -07:00
Néstor SalcedaandGitHub b5bd582e6a [stable/sysdig] Use app.kubernetes.io labels instead of custom ones (#22022)
* [stable/sysdig] Use app.kubernetes.io labels instead of custom ones

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* [stable/sysdig] Bump chart version

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2020-04-20 07:07:39 -07:00
Fede BarcelonaandGitHub 609560713f [stable/sysdig] Add SCC if Openshift is detected (#21825)
* [stable/sysdig] Add SCC if Openshift is detected

Signed-off-by: Federico Barcelona <fede_rico_94@hotmail.com>

* [stable/sysdig] Rename value to use scc.create instead

Signed-off-by: Federico Barcelona <fede_rico_94@hotmail.com>
2020-04-08 09:21:44 -07:00
Néstor SalcedaandGitHub a11d5fa79e [stable/sysdig] Add a hack to implement watches on Helm based Operator (#21822)
This implementation in operators breaks the pattern in some Helm based
operators about using an splitted image description:

https://github.com/helm/charts/blob/master/stable/postgresql/values.yaml#L15
https://github.com/helm/charts/blob/master/stable/prometheus/values.yaml#L534
https://github.com/helm/charts/blob/master/stable/redis/values.yaml#L15
https://github.com/helm/charts/blob/master/stable/wordpress/values.yaml#L14

But is required to certify the operator.

https://github.com/operator-framework/operator-sdk/blob/master/doc/helm/user-guide.md#passing-environment-variables-to-the-helm-chart

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2020-04-07 07:37:46 -07:00
Néstor SalcedaandGitHub 0322682a42 [stable/sysdig] Use stable API and fix configmap issues (#21500)
Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2020-03-17 08:56:22 -07:00
Brendan GermainandGitHub 595e8dce25 [stable/sysdig] fix setting env vars (#21106) (#21106)
Signed-off-by: Brendan Germain <brendan.germain@nasdaq.com>
2020-02-28 13:30:46 -08:00
Néstor SalcedaandKubernetes Prow Robot 651f4c576c [stable/sysdig] Remove auditLog.clusterIP value (#20041)
We don't need to use clusterIP in advance:

* If using webhook, we can deploy the agent and then configure webhook
  to post audit logs to the clusterIP.
* If using AuditSink, we can rely on KubeDNS for reaching the service.

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2020-01-10 09:36:35 -08:00
Néstor SalcedaandKubernetes Prow Robot bb500af264 [stable/sysdig] Enable K8s audit log feature for Sysdig Agent (#19815)
* Add auditlog support Sysdig Agent

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Add documentation for the K8s audit log feature

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2020-01-06 07:17:35 -08:00
Néstor SalcedaandKubernetes Prow Robot 80804650f8 [stable/sysdig] Add slim support for Sysdig Agent (#19778)
* Drop permissions to read configmaps and secrets

Sysdig is no longer planning to add support for configmaps and secrets
in cointerface

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Mount /etc/modprobe.d from host

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Add support for slim image for Agent

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Document new values for slim

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Add a new major release with slim support

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Document the /etc/modprobe.d support on CHANGELOG

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2019-12-26 08:53:38 -08:00
Néstor SalcedaandKubernetes Prow Robot 192155b684 [stable/sysdig] Update the notes to contain the reference to Secure tab (#19125)
Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2019-11-25 09:19:24 -08:00
Néstor SalcedaandKubernetes Prow Robot c59c010a6c [stable/sysdig] Fix 1.16 compatibility errors introduced in v1.4.19 (#18230)
* Revert "[stable/sysdig] Fixes compatibility with 1.16 (#17538)"

This reverts commit d1811c2bef.

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Add selector section needed for the version upgrade

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Update Chart metadata and CHANGELOG

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* We support Kubernetes since 1.9+, with beta APIs enabled

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2019-10-28 02:31:26 -07:00
Xiang DaiandKubernetes Prow Robot d1811c2bef [stable/sysdig] Fixes compatibility with 1.16 (#17538)
* Fixes compatibility with 1.16

Signed-off-by: Xiang Dai <764524258@qq.com>

* fix a typo

Signed-off-by: Xiang Dai <764524258@qq.com>

* bump up version

Signed-off-by: Xiang Dai <764524258@qq.com>

* bump up

Signed-off-by: Xiang Dai <764524258@qq.com>

* update changelog

Signed-off-by: Xiang Dai <764524258@qq.com>
2019-10-16 01:43:40 -07:00
Thiago CaiubiandKubernetes Prow Robot f0ade143a2 Allow the DaemonSet to schedule ussing affinity rules (#17180)
Heavily inspired by
https://github.com/helm/charts/blob/master/stable/signalsciences.

Signed-off-by: Thiago Caiubi <thiago.caiubi@gmail.com>
2019-09-17 07:02:26 -07:00
Jorge Salamero SanzandKubernetes Prow Robot 9477ef31a0 [stable/sysdig] Add configmaps, secrets access and more config settings (#16891)
* [stable/sysdig] Add configmaps, secrets access and more config settings

Signed-off-by: Jorge Salamero Sanz <bencer@cauterized.net>

* [stable/sysdig] Ooops, forget to increase version in Chart.yaml

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2019-09-05 04:47:09 -07:00
Néstor SalcedaandKubernetes Prow Robot 1f22c8f661 [stable/sysdig] New upstream sysdig version 0.90.1 (#14245)
* Add a volume with the os release version

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Upgrade to Sysdig Agent 0.90.1

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Update changelog

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2019-05-29 09:22:30 -07:00
Néstor SalcedaandKubernetes Prow Robot 9bb750ccd2 [stable/sysdig] Hardcode new_k8s value to true (#13749)
If you change some agent settings in values.yaml of passing via the
command line, you can alter the value of new_k8s flag

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2019-05-14 06:41:14 -07:00
Néstor SalcedaandKubernetes Prow Robot 08678ecb94 Upgrade image to 0.89.5 and update cluster role (#13094)
Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2019-04-22 05:07:44 -07:00
Néstor SalcedaandKubernetes Prow Robot af554de493 [stable/sysdig] Use latest released agent image version and add options to support eBPF based probe (#11856)
* Upgrade agent image version to 0.89.0

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Add support for configuring eBPF

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Bump up Chart version

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Update CHANGELOG with latest news

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2019-03-01 03:22:42 -08:00
Néstor SalcedaandKubernetes Prow Robot 67ec941dfc [stable/sysdig] Add resource limits and enable rollingUpdate strategy by default (#11535)
* Provide a sane default resource limits for the Agent installation

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Update the Sysdig Agent using rolling updates by default

This configuration also supports the old OnDelete strategy and allows
you to tune the maxUnavailable, maxSurge or minReadySeconds

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Update Chart version and update CHANGELOG

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Limit also the CPU used per Agent

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Update CPU limit setting in the README

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2019-02-19 07:59:17 -08:00
Néstor SalcedaandKubernetes Prow Robot 23c3e66dc2 Revert the checksum annotations (#11283)
The sysdig agent automatically restarts when it detects a configuration
change.

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2019-02-19 04:39:51 -08:00
Néstor SalcedaandKubernetes Prow Robot 57e7476a38 [stable/sysdig] Improvements for latests versions of Sysdig Agent (#11493)
* Use a 5s pod termination grace period

Is lowered to avoid data gaps if the pod fails to terminate quickly. The
faster it finishes less time takes a new agent to start up successfully,
thus it means prevent some data gaps.

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Check for running file instead of relying on logs

Some people disable log files and this can be problematic.

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Mount whole /run and /var/run inside the container

This is done for accessing the CRI / containerd socket, when present.

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Avoid floating references for the agent

This is described on [Best Practices](https://github.com/helm/helm/blob/master/docs/chart_best_practices/pods.md)

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Update Chart version and CHANGELOG

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2019-02-18 22:53:17 -08:00
Néstor SalcedaandKubernetes Prow Robot b5ae711e6a Add checksum annotations to DaemonSet (#9796)
This makes rolling upgrade work when a ConfigMap is changed

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2019-01-06 21:46:40 -08:00
Néstor Salcedaandk8s-ci-robot f466d228d0 [stable/sysdig] Allow to use other image registries than docker.io (#9301)
* Allow to use other image registries than docker.io

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Add a section to README for documenting how to use private repositories

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Add a section for documenting the AWS Marketplace setup.

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Do not create Daemonset if accessKey is missing

This fixes the CI build

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Fixes suggested by @bencer

Thanks!

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Fix the changes that @bencer requested.

I didn't see them before

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Fix feedback from @bencer

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2018-11-19 09:00:56 -08:00
Néstor Salcedaandk8s-ci-robot e761e8c892 [stable/sysdig] Add support for deploying Custom App Checks using Helm Chart (#8103)
* Add support for deploying Custom App Checks using Helm Chart

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Add a DESIGN document which works a reminder for known issues

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Fix issues from @bencer's review

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Add an script for generating Helm config files with custom AppChecks

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2018-10-02 08:51:36 -07:00
Majid Burneyandk8s-ci-robot cb56cb262e [stable/sysdig] Fix error in ClusterRoleBinding's roleRef (#7592)
Signed-off-by: Majid Burney <majid.burney@leafly.com>
2018-09-11 07:26:06 -07:00
Majid Burneyandk8s-ci-robot c87cf6bb5e [stable/sysdig] Fix readinessProbe (#6919)
* [stable/sysdig] Fix readinessProbe

`initialDelaysSeconds` was improperty indented beneath `exec`, instead of directly beneath `readinessProbe`.

* [stable/sysdig] Version bump

* [stable/sysdig] Update changelog
2018-07-31 12:16:39 -07:00
Néstor Salcedaandk8s-ci-robot 6791878b94 [stable/sysdig] Improvements to Sysdig Helm Chart (#6596)
* Fix link for getting access key

* Add dnsPolicy to daemonset

* Increment version and add to changelog
2018-07-11 08:21:26 -07:00
Néstor Salcedaandk8s-ci-robot 402aeebfe8 [stable/sysdig] Update to latest agent version (#6079)
* [stable/sysdig] Update to latest agent version

* Run Sysdig Agent as [daemonset v2.0](https://github.com/draios/sysdig-cloud-scripts/blob/master/agent_deploy/kubernetes/sysdig-agent-daemonset-v2.yaml).
* Fix value's naming in order to follow [best practices](https://docs.helm.sh/chart_best_practices/#naming-conventions).
* Use a secure.enabled flag for enabling Sysdig Secure.
* Allow rbac resource creation or use existing serviceAccountName.
* Use required function for retrieving sysdig.accessKey. This ensures that key is present.
* Add a Changelog

* Use GitHub accounts instead of real names for making CI pass

* Fix version number as a string

* Add OWNERS file

* Separate rbac and serviceAccount

Follow RBAC best practices: https://github.com/kubernetes/helm/blob/master/docs/chart_best_practices/rbac.md

* Fix namespace issues in cluster role binding
2018-06-21 11:16:43 -07:00
Jorge Salamero SanzandVic Iglesias 195412751b [stable/sysdig] Add Sysdig Secure support (#2459)
* Implement Sysdig Secure flag and additional env var handling

* Fix template

* Add trailing \n on SecureConf

* Fix linter errors

* Fix linter errors with feeling
2017-11-08 21:25:01 -08:00
Alejandro EscobarandLachlan Evenson 4bf69283dc updated chart to allow creation of resources in a monitoring namespace and support rbac. (#1393)
updated namespacing changes

review changes 1.

further pr changes.

updated version to 0.3, minor change due to rbac updates.
2017-07-19 08:44:03 -07:00
Ashley PenneyandReinhard Nägele 31098bf3c2 Allow sysdig to run on master nodes (#1100)
Kubernetes 1.6 switched to a taint on the master node, we need to
add a toleration so this can schedule.
2017-05-22 20:20:54 +02:00
Jorge Salamero SanzandSean Knox 084d7b5d58 First public version of the Sysdig Helm package (#735)
* First public version of the Sysdig Helm package

* Add default resources values

* Fixes in documentation

* Fix typo

* Modify resource values to recommended ones

* Rename to Sysdig Monitor

* Add missing resources definition

* Add a consistent label set to the daemonset
2017-05-03 20:13:19 -07:00