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

Admission controller: add failure policy, change default apm and dsd socket #643

Merged
merged 4 commits into from
Dec 5, 2022

Conversation

khewonc
Copy link
Contributor

@khewonc khewonc commented Nov 17, 2022

What does this PR do?

  • Enable admission controller by default
  • Add failure policy option
  • Change default APM and DSD socket to match helm

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Describe your test plan

Write there any instructions and details you may have to test your PR.

@khewonc khewonc added the enhancement New feature or request label Nov 17, 2022
@khewonc khewonc added this to the v1.0.0 milestone Nov 17, 2022
@khewonc khewonc requested review from a team as code owners November 17, 2022 19:34
Copy link
Contributor

@alai97 alai97 left a comment

Choose a reason for hiding this comment

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

Looks good for docs!

Copy link
Contributor

@CharlyF CharlyF left a comment

Choose a reason for hiding this comment

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

one nit suggestion to be cleaner.

apmSocketHostPath = "/var/run/datadog/apm"
apmSocketPath = "/var/run/datadog/apm/apm.sock"
apmSocketHostPath = "/var/run/datadog"
apmSocketPath = "/var/run/datadog/apm.sock"
Copy link
Contributor

Choose a reason for hiding this comment

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

These are not technically necessary - You should rename DogstatsdSocketVolumePath in DogstatsdAPMSocketVolumePath in apis/datadoghq/common/const.go and you have apmSocketPath defined using DogstatsdAPMSocketVolumePath and APMSocketName too.
This is a test file so it's not the most important.

@khewonc khewonc merged commit 89d2d0e into main Dec 5, 2022
@khewonc khewonc deleted the khewonc/admission-controller-qa branch December 5, 2022 22:44
khewonc added a commit that referenced this pull request Dec 6, 2022
…socket (#643)

* Add failure policy, change default apm and dsd socket
mftoure pushed a commit that referenced this pull request Oct 3, 2024
…socket (#643)

* Add failure policy, change default apm and dsd socket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants