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

Add shareprocessns parameter #558

Merged
merged 7 commits into from
Mar 1, 2022

Conversation

swarren83
Copy link
Contributor

@swarren83 swarren83 commented Feb 28, 2022

Enables process namespace sharing on cluster checks, cluster agents, and
agents.

What this PR does / why we need it:

Provides helm parameters to toggle shareProcessNamespace on or off.

Special notes for your reviewer:

It is a CIS/PSP best practice to disable process namespace sharing.

Checklist

  • Documentation has been updated with helm-docs (run: .github/helm-docs.sh)
  • Chart Version bumped
  • CHANGELOG.md has been updated
  • Variables are documented in the README.md

@swarren83 swarren83 requested a review from a team as a code owner February 28, 2022 22:36
Copy link
Collaborator

@clamoriniere clamoriniere left a comment

Choose a reason for hiding this comment

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

Hi @swarren83

Thank you for this contribution. The need is legit, but for backward compatibility it makes sens to set the default values to false.
Could you please make this change and we will be able to merge this PR. 🙇

charts/datadog/templates/cluster-agent-deployment.yaml Outdated Show resolved Hide resolved
charts/datadog/templates/daemonset.yaml Outdated Show resolved Hide resolved
charts/datadog/values.yaml Outdated Show resolved Hide resolved
charts/datadog/values.yaml Outdated Show resolved Hide resolved
charts/datadog/values.yaml Outdated Show resolved Hide resolved
@clamoriniere clamoriniere added chart/datadog This issue or pull request is related to the datadog chart enhancement New feature or request labels Mar 1, 2022
@swarren83
Copy link
Contributor Author

@clamoriniere, Thank you for the review. I have made the change to the default value. It looks like there is a conflict with the changelog. Will you be able to resolve this or how would you like me to resolve the conflict?

Copy link
Collaborator

@clamoriniere clamoriniere left a comment

Choose a reason for hiding this comment

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

could you please:

  • incorporate my last comment changes.
  • rebase from the main branch to get
  • bump the chart version after the rebase, because 2.30.12 is now already released.
    thanks 🙇

charts/datadog/templates/cluster-agent-deployment.yaml Outdated Show resolved Hide resolved
charts/datadog/templates/daemonset.yaml Outdated Show resolved Hide resolved
@swarren83
Copy link
Contributor Author

@clamoriniere I have the changes ready. Are you okay with a force push?

@clamoriniere
Copy link
Collaborator

@clamoriniere I have the changes ready. Are you okay with a force push?

yes no problem

@swarren83 swarren83 force-pushed the add-shareprocessns-parameter branch from ba346c3 to d5581ed Compare March 1, 2022 15:38
@swarren83
Copy link
Contributor Author

@clamoriniere All done.

@clamoriniere clamoriniere merged commit 4c1b07e into DataDog:main Mar 1, 2022
@clamoriniere
Copy link
Collaborator

@swarren83
thanks again for this contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chart/datadog This issue or pull request is related to the datadog chart enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants