-
Notifications
You must be signed in to change notification settings - Fork 1k
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
imp: add talos.dev compatibility #1572
base: main
Are you sure you want to change the base?
Conversation
charts/datadog/templates/_container-host-release-volumemounts.yaml
Outdated
Show resolved
Hide resolved
@@ -65,7 +65,7 @@ | |||
mountPropagation: {{ .Values.datadog.hostVolumeMountPropagation }} | |||
readOnly: true | |||
{{- include "linux-container-host-release-volumemounts" . | nindent 4 }} | |||
{{- if .Values.datadog.systemProbe.enableDefaultOsReleasePaths }} | |||
{{- if or .Values.datadog.systemProbe.enableDefaultOsReleasePaths (not .Values.datadog.disableDefaultOsReleasePaths) }} |
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 think this might need to be and
, otherwise the default value of true
for the deprecated datadog.systemProbe.enableDefaultOsReleasePaths
will always ignore the new config option.
- hostPath: | ||
path: {{ .Values.datadog.systemProbe.osReleasePath | default .Values.datadog.osReleasePath }} | ||
name: os-release-file | ||
{{- end }} | ||
{{- if or (and (eq (include "should-enable-system-probe" .) "true") .Values.datadog.systemProbe.enableDefaultOsReleasePaths) .Values.datadog.sbom.host.enabled }} | ||
{{- if or (and (eq (include "should-enable-system-probe" .) "true") (or .Values.datadog.systemProbe.enableDefaultOsReleasePaths (not .Values.datadog.disableDefaultOsReleasePaths))) .Values.datadog.sbom.host.enabled }} |
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.
as above, I think this should be and
…s in favor of .Values.datadog.disableDefaultOsReleasePaths
@brycekahle @clamoriniere I think I made a mistake as I didn't want to close the PR. @brycekahle I applied your fix :) |
What this PR does / why we need it:
Which issue this PR fixes
Fix processAgent crash when Running on talos.dev cluster. It's because it try to mount files which don't exist on the OS.
Special notes for your reviewer:
I didn't managed to run
make update-test-baselines
Checklist
.github/helm-docs.sh
)CHANGELOG.md
has been updatedREADME.md
make update-test-baselines
)