Skip to content

Commit

Permalink
Merge pull request #498 from kubescape/bump
Browse files Browse the repository at this point in the history
prepare next release
  • Loading branch information
matthyx authored Sep 5, 2024
2 parents 1e4a3d6 + 5ea839f commit 4c3c49d
Show file tree
Hide file tree
Showing 6 changed files with 871 additions and 872 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.21.1
version: 1.21.2

# 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.21.1
appVersion: 1.21.2

maintainers:
- name: Ben Hirschberg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ spec:
serviceAccountName: {{ $hookName }}
containers:
- name: {{ $hookName }}
image: "docker.io/bitnami/kubectl:1.30.3"
imagePullPolicy: "IfNotPresent"
image: "{{ .Values.serviceDiscovery.configMapUpdate.image.repository }}:{{ .Values.serviceDiscovery.configMapUpdate.image.tag }}"
imagePullPolicy: {{ .Values.serviceDiscovery.configMapUpdate.image.pullPolicy }}
command:
- /bin/sh
- -e
Expand All @@ -84,6 +84,7 @@ spec:
kubectl -n {{ .Values.ksNamespace }} delete deployment kubevuln --ignore-not-found=true;
kubectl -n {{ .Values.ksNamespace }} delete deployment operator --ignore-not-found=true;
kubectl -n {{ .Values.ksNamespace }} delete deployment otel-collector --ignore-not-found=true;
kubectl -n {{ .Values.ksNamespace }} delete deployment prometheus-exporter --ignore-not-found=true;
kubectl -n {{ .Values.ksNamespace }} delete deployment storage --ignore-not-found=true;
kubectl -n {{ .Values.ksNamespace }} delete deployment synchronizer --ignore-not-found=true;
kubectl -n {{ .Values.ksNamespace }} delete statefulset kollector --ignore-not-found=true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
{{ $api_server_ip := "127.0.0.1" }}
{{- $api_server_service := (lookup "v1" "Service" "default" "kubernetes") -}}
{{- if $api_server_service -}}
{{ $api_server_ip = $api_server_service.spec.clusterIP }}
{{ $api_server_ip = $api_server_service.spec.clusterIP }}
{{- end -}}
{{ .Values.gateway.name }},{{ .Values.kubescape.name }},{{ .Values.kubevuln.name }},{{ .Values.nodeAgent.name }},{{ .Values.operator.name }},otel-collector,kubernetes.default.svc.*,{{ $api_server_ip }}
{{- if ne .Values.global.noProxy "" -}}
,{{- .Values.global.noProxy -}}
{{- end -}}
{{- end -}}
Loading

0 comments on commit 4c3c49d

Please sign in to comment.