Skip to content

Commit c7a3503

Browse files
authored
Merge pull request #274 from redhatrises/remove_legacy_code
cleanup: remove legacy code
2 parents 270adbf + d084240 commit c7a3503

File tree

6 files changed

+5
-105
lines changed

6 files changed

+5
-105
lines changed

helm-charts/falcon-sensor/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.26.3
18+
version: 1.27.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
23-
appVersion: 1.26.3
23+
appVersion: 1.27.1
2424

2525
keywords:
2626
- CrowdStrike

helm-charts/falcon-sensor/README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@ The Falcon Helm chart has been tested to deploy on the following Kubernetes dist
2929

3030
| Helm chart Version | Falcon Sensor Version |
3131
|:------------------------|:----------------------------------|
32-
| `<= 1.6.x` | `<= 6.34.x` |
33-
| `>= 1.7.x && <= 1.17.x` | `>= 6.35.x && < 6.49.x` |
34-
| `>= 1.18.x` | `>= 6.49.x` |
35-
| `>= 1.19.x` | `>= 6.54.x` |
32+
| `<= 1.26.x` | `< 7.05.x` |
33+
| `>= 1.27.x` | `>= 7.06.x` |
3634

3735
# Installation
3836

helm-charts/falcon-sensor/templates/container_secret.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ data:
1212
type: kubernetes.io/dockerconfigjson
1313
{{- if or .Values.container.image.pullSecrets.namespaces .Values.container.image.pullSecrets.allNamespaces }}
1414
{{- $name := ( .Values.container.image.pullSecrets.name | default (printf "%s-pull-secret" (include "falcon-sensor.fullname" .))) }}
15-
{{- $myns := split "," .Values.container.image.pullSecrets.namespaces -}}
15+
{{- $myns := split "," .Values.container.image.pullSecrets.namespaces | default "" -}}
1616
{{- if .Values.container.image.pullSecrets.allNamespaces }}
1717
{{- $myns = list -}}
1818
{{- range $index, $ns := (lookup "v1" "Namespace" "" "").items -}}

helm-charts/falcon-sensor/templates/container_webhook_upgrade.yaml

-72
This file was deleted.

helm-charts/falcon-sensor/templates/daemonset.yaml

-13
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,11 @@ spec:
9696
imagePullPolicy: "{{ .Values.node.image.pullPolicy }}"
9797
command:
9898
- /bin/bash
99-
{{- if .Values.node.gke.autopilot }}
10099
args:
101100
- '-c'
102101
- >-
103102
echo "Running /opt/CrowdStrike/falcon-daemonset-init -i";
104103
/opt/CrowdStrike/falcon-daemonset-init -i
105-
{{- else }}
106-
args: ['-c', 'if [ -x "/opt/CrowdStrike/falcon-daemonset-init" ]; then echo "Running falcon-daemonset-init -i" ; /opt/CrowdStrike/falcon-daemonset-init -i ; else if [ -d "/host_opt/CrowdStrike/falconstore" ] ; then echo "Re-creating /opt/CrowdStrike/falconstore as it is a directory instead of a file"; rm -rf /host_opt/CrowdStrike/falconstore; fi; mkdir -p /host_opt/CrowdStrike && touch /host_opt/CrowdStrike/falconstore; fi']
107-
volumeMounts:
108-
- name: falconstore-dir
109-
mountPath: /host_opt
110-
{{- end }}
111104
{{- if or .Values.node.gke.autopilot .Values.node.daemonset.resources }}
112105
resources:
113106
requests:
@@ -178,12 +171,6 @@ spec:
178171
- name: falconstore
179172
mountPath: /opt/CrowdStrike/falconstore
180173
volumes:
181-
{{- if not .Values.node.gke.autopilot }}
182-
- name: falconstore-dir
183-
hostPath:
184-
path: /opt
185-
type: DirectoryOrCreate
186-
{{- end }}
187174
- name: falconstore
188175
hostPath:
189176
path: /opt/CrowdStrike/falconstore

helm-charts/falcon-sensor/templates/node_cleanup.yaml

-13
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,11 @@ spec:
8888
imagePullPolicy: "{{ .Values.node.image.pullPolicy }}"
8989
command:
9090
- /bin/bash
91-
{{- if .Values.node.gke.autopilot }}
9291
args:
9392
- '-c'
9493
- >-
9594
echo "Running /opt/CrowdStrike/falcon-daemonset-init -u";
9695
/opt/CrowdStrike/falcon-daemonset-init -u
97-
{{- else }}
98-
args: ['-c', 'if [ -x "/opt/CrowdStrike/falcon-daemonset-init" ]; then echo "Running /opt/CrowdStrike/falcon-daemonset-init -u"; /opt/CrowdStrike/falcon-daemonset-init -u ; else rm -rf "/host_opt/CrowdStrike"; fi']
99-
volumeMounts:
100-
- name: opt-crowdstrike
101-
mountPath: /host_opt
102-
{{- end }}
10396
{{- if or .Values.node.gke.autopilot .Values.node.daemonset.resources }}
10497
resources:
10598
requests:
@@ -150,12 +143,6 @@ spec:
150143
privileged: false
151144
readOnlyRootFilesystem: true
152145
allowPrivilegeEscalation: true
153-
{{- if not .Values.node.gke.autopilot }}
154-
volumes:
155-
- name: opt-crowdstrike
156-
hostPath:
157-
path: /opt
158-
{{- end }}
159146
serviceAccountName: {{ .Values.serviceAccount.name }}-node-cleanup
160147
terminationGracePeriodSeconds: {{ .Values.node.terminationGracePeriod }}
161148
hostPID: true

0 commit comments

Comments
 (0)