-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sensor | clusterrole | add resources and verbs #340
base: main
Are you sure you want to change the base?
Conversation
f9934c9
to
0cf3166
Compare
6b971ad
to
0c885b5
Compare
@@ -16,6 +16,22 @@ rules: | |||
- "" | |||
resources: | |||
- secrets | |||
{{- if and .Values.node.enabled .Values.node.cdpRolesEnabled }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I am not able to comment on content that is not part of the diff
- https://github.com/CrowdStrike/falcon-helm/pull/340/files#diff-8b1b64050a16b4744833a69c1dd56929ef1e6ef30cbc080ce0d4018c94a46f28R11
- https://github.com/CrowdStrike/falcon-helm/pull/340/files#diff-6ce3e7fab19d7aa64a73efef8b41d75116dc829eb636e3e22cfce3984e99d308L11
app.kubernetes.io/component
should be updated toall_sensor
.- Not in the scope of this PR
- We should replace
kernel_sensor
asnode_sensor
. We never updated the component after introducing support forbpf
. Adding @gpontejos
- We should replace
- Not in the scope of this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked other resources that we create; all_sensor
is applicable, only if we use the same resource name for multiple sensor types. In this case we create resource using the variable "falcon-sensor.fullname"
and that is unique per deployment. So we should add
{{ if .Values.container.enabled }}
app.kubernetes.io/component: "container_sensor"
{{ else if (and .Values.node.enabled .Values.node.cdpRolesEnabled)}}
app.kubernetes.io/component: "kernel_sensor"
{{ end }}
@@ -16,6 +16,22 @@ rules: | |||
- "" | |||
resources: | |||
- secrets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is secrets
required by cdp
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
5fd73ae
to
ca3eb38
Compare
@@ -104,6 +104,9 @@ node: | |||
postDelete: | |||
enabled: true | |||
|
|||
# When enabled, Cloud data protection module is enabled | |||
cdpRolesEnabled: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If data protection is not a separate sku, why are we adding this boolean? Permissions should be applied by default.
adding resources and verbs for the cluster role for the flow sensor integration
node.cdpRolesEnabled=false output
node.cdpRolesEnabled not defined (default true) output