Skip to content
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

feat(shield): enable kubernetes-metadata by default and decrease delegated nodes number to 0 #2038

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlbertoBarba
Copy link
Contributor

What this PR does / why we need it:

Enable kubernetes-metadata by default and decrease delegated nodes number to 0

Checklist

  • Title of the PR starts with type and scope, (e.g. feat(agent,node-analyzer,sysdig-deploy):)
  • Chart Version bumped for the respective charts
  • Variables are documented in the README.md (or README.tpl in some charts)
  • Check GithubAction checks (like lint) to avoid merge-check stoppers
  • All test files are added in the tests folder of their respective chart and have a "_test" suffix

@AlbertoBarba AlbertoBarba self-assigned this Nov 15, 2024
@AlbertoBarba AlbertoBarba marked this pull request as ready for review November 15, 2024 15:12
@AlbertoBarba AlbertoBarba requested a review from a team as a code owner November 15, 2024 15:12
@@ -100,7 +100,9 @@ true
{{- $config := dict
"k8s_cluster_name" .Values.cluster_config.name
"collector" (include "common.collector_endpoint" .)
"collector_port" .Values.sysdig_endpoint.collector.port }}
"collector_port" .Values.sysdig_endpoint.collector.port
"k8s_delegated_nodes" (dig "k8s_delegated_nodes" 0 .Values.host.additional_settings)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I imagine we'd want to have a check to see if features.kubernetes_metadata.enabled has been set to false here. If this feature is turned off I think we'd like the agent/host shield to run with the default values (unless manually overridden of course).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I agree that would be better to use the default if kubernetes_metadata is disabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants