Skip to content

Commit

Permalink
Merge pull request #474 from kubescape/bump
Browse files Browse the repository at this point in the history
fix include/exclude ns feature
  • Loading branch information
matthyx committed Jul 24, 2024
2 parents e66b805 + b2cbb3b commit fd0d619
Show file tree
Hide file tree
Showing 6 changed files with 113 additions and 97 deletions.
4 changes: 2 additions & 2 deletions charts/kubescape-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)

version: 1.19.5
version: 1.20.1

# 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
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.

appVersion: 1.19.5
appVersion: 1.20.1

maintainers:
- name: Ben Hirschberg
Expand Down
4 changes: 4 additions & 0 deletions charts/kubescape-operator/templates/node-agent/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ spec:
- name : no_proxy
value: "{{ $no_proxy_envar_list }}"
{{- end }}
{{- if .Values.nodeAgent.skipKernelVersionCheck }}
- name: SKIP_KERNEL_VERSION_CHECK
value: "true"
{{- end }}
- name: NODE_NAME
valueFrom:
fieldRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ data:
config.json: |
{
"inCluster": {
{{- if ne .Values.includeNamespaces "" }}
"includeNamespaces": "{{ .Values.includeNamespaces }}",
{{- else if ne .Values.excludeNamespaces "" }}
"excludeNamespaces": "{{ .Values.excludeNamespaces }}",
{{- end }}
"resources": [
{
"group": "",
Expand Down
Loading

0 comments on commit fd0d619

Please sign in to comment.