Skip to content

Commit

Permalink
feature(admission-controller,agent,kspm-collector,node-analyzer,rapid…
Browse files Browse the repository at this point in the history
…-response,sysdig-deploy): update chart versions and remore unrequired tempalte specification in tests
  • Loading branch information
mavimo committed Jul 24, 2023
1 parent 89e5a46 commit f119d84
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 27 deletions.
2 changes: 1 addition & 1 deletion charts/admission-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: admission-controller
description: Sysdig Admission Controller using Sysdig Secure inline image scanner
type: application
version: 0.11.5
version: 0.11.6
appVersion: 3.9.24
home: https://sysdiglabs.github.io/admission-controller/
icon: https://avatars.githubusercontent.com/u/5068817?s=200&v=4
Expand Down
8 changes: 4 additions & 4 deletions charts/admission-controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $ pre-commit run -a
$ helm repo add sysdig https://charts.sysdig.com
$ helm repo update
$ helm upgrade --install sysdig-admission-controller sysdig/admission-controller \
--create-namespace -n sysdig-admission-controller --version=0.11.5 \
--create-namespace -n sysdig-admission-controller --version=0.11.6 \
--set clusterName=CLUSTER_NAME \
--set sysdig.secureAPIToken=SECURE_API_TOKEN
```
Expand Down Expand Up @@ -55,7 +55,7 @@ This chart deploys the Sysdig Admission Controller on a [Kubernetes](http://kube
To install the chart with the release name `admission-controller`:

```console
$ helm upgrade --install sysdig-admission-controller sysdig/admission-controller -n sysdig-admission-controller --version=0.11.5
$ helm upgrade --install sysdig-admission-controller sysdig/admission-controller -n sysdig-admission-controller --version=0.11.6
```

The command deploys the Sysdig Admission Controller on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
Expand Down Expand Up @@ -181,7 +181,7 @@ Specify each parameter using the **`--set key=value[,key=value]`** argument to `

```console
$ helm upgrade --install sysdig-admission-controller sysdig/admission-controller \
--create-namespace -n sysdig-admission-controller --version=0.11.5 \
--create-namespace -n sysdig-admission-controller --version=0.11.6 \
--set sysdig.secureAPIToken=YOUR-KEY-HERE,clusterName=YOUR-CLUSTER-NAME
```

Expand All @@ -190,7 +190,7 @@ installing the chart. For example:

```console
$ helm upgrade --install sysdig-admission-controller sysdig/admission-controller \
--create-namespace -n sysdig-admission-controller --version=0.11.5 \
--create-namespace -n sysdig-admission-controller --version=0.11.6 \
--values values.yaml
```

Expand Down
2 changes: 1 addition & 1 deletion charts/agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Sysdig Monitor and Secure agent
type: application

# currently matching sysdig 1.14.32
version: 1.11.0
version: 1.11.1

appVersion: 12.15.0

Expand Down
2 changes: 0 additions & 2 deletions charts/agent/tests/k8s_coldstart_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ tests:
enabled: true
enforce_leader_election: true
namespace: NAMESPACE
template: templates/configmap.yaml
- it: Enable leaderelection and specify custom cold start number
set:
Expand All @@ -29,7 +28,6 @@ tests:
enabled: true
enforce_leader_election: true
namespace: NAMESPACE
template: templates/configmap.yaml
- it: Test manual setting of k8s_coldstart values
set:
Expand Down
3 changes: 0 additions & 3 deletions charts/agent/tests/notes_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,6 @@ tests:
- matchRegexRaw:
pattern: |-
A PriorityClass is recommended for GKE Autopilot environments. Please set gke.createPriorityClass=true or provide the name of an existing PriorityClass by using the priorityClassName parameter.
template: templates/NOTES.txt
- it: Test warning not printed for GKE Autopilot environments when PriorityClass creation specified
set:
Expand All @@ -492,7 +491,6 @@ tests:
- notMatchRegexRaw:
pattern: |-
A PriorityClass is recommended for GKE Autopilot environments. Please set gke.createPriorityClass=true or provide the name of an existing PriorityClass by using the priorityClassName parameter.
template: templates/NOTES.txt
- it: Test warning not printed for GKE Autopilot environments when priorityClassName is specified
set:
Expand All @@ -505,4 +503,3 @@ tests:
- notMatchRegexRaw:
pattern: |-
A PriorityClass is recommended for GKE Autopilot environments. Please set gke.createPriorityClass=true or provide the name of an existing PriorityClass by using the priorityClassName parameter.
template: templates/NOTES.txt
8 changes: 0 additions & 8 deletions charts/agent/tests/volumes_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,26 @@ tests:
- equal:
path: spec.template.spec.containers[*].volumeMounts[?(@.name == "varrun-vol")].mountPath
value: /host/var/run
template: templates/daemonset.yaml
- equal:
path: spec.template.spec.volumes[?(@.name == "varrun-vol")].hostPath.path
value: /var/run
template: templates/daemonset.yaml
- it: Ensure /var/lib host volume is mounted as /host/var/lib in container
asserts:
- equal:
path: spec.template.spec.containers[*].volumeMounts[?(@.name == "varlib-vol")].mountPath
value: /host/var/lib
template: templates/daemonset.yaml
- equal:
path: spec.template.spec.volumes[?(@.name == "varlib-vol")].hostPath.path
value: /var/lib
template: templates/daemonset.yaml
- it: Ensure /var/lib host volume is not mounted as /host/var/lib in container when running on gke.autopilot
set:
gke:
autopilot: true
asserts:
- isNull:
path: spec.template.spec.containers[*].volumeMounts[?(@.name == "varlib-vol")]
template: templates/daemonset.yaml
- isNull:
path: spec.template.spec.volumes[?(@.name == "varlib-vol")]
template: templates/daemonset.yaml
- it: Ensure /var/lib host volume is not mounted as /host/var/lib in container when running on global.gke.autopilot
set:
global:
Expand All @@ -41,7 +35,5 @@ tests:
asserts:
- isNull:
path: spec.template.spec.containers[*].volumeMounts[?(@.name == "varlib-vol")]
template: templates/daemonset.yaml
- isNull:
path: spec.template.spec.volumes[?(@.name == "varlib-vol")]
template: templates/daemonset.yaml
2 changes: 1 addition & 1 deletion charts/kspm-collector/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: kspm-collector
description: Sysdig KSPM collector

version: 0.3.3
version: 0.3.4
appVersion: 1.26.0

keywords:
Expand Down
2 changes: 0 additions & 2 deletions charts/kspm-collector/tests/conditional_flag_test.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
suite: Test conditional flags and its dependent changes
templates:
- serviceaccount.yaml
- deployment.yaml
tests:
- it: check global kspm deploy
set:
Expand All @@ -13,4 +12,3 @@ tests:
- containsDocument:
kind: ServiceAccount
apiVersion: v1
template: serviceaccount.yaml
2 changes: 1 addition & 1 deletion charts/node-analyzer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: node-analyzer
description: Sysdig Node Analyzer

# currently matching Sysdig's appVersion 1.14.34
version: 1.11.0
version: 1.11.1
appVersion: 12.6.0
keywords:
- monitoring
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ tests:
maxSurge: 1
maxUnavailable: 2
type: RollingUpdate
template: templates/daemonset-node-analyzer.yaml
2 changes: 1 addition & 1 deletion charts/rapid-response/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.6.2
version: 0.6.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
1 change: 0 additions & 1 deletion charts/rapid-response/tests/custom_resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ tests:
memory: 1500Mi
any: true
count: 1
template: daemonset.yaml
2 changes: 1 addition & 1 deletion charts/sysdig-deploy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sysdig-deploy
description: A chart with various Sysdig components for Kubernetes
type: application
version: 1.14.0
version: 1.14.1
maintainers:
- name: aroberts87
email: [email protected]
Expand Down

0 comments on commit f119d84

Please sign in to comment.