-
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
add nodeAnnotationsAsTags configuration option #1483
base: main
Are you sure you want to change the base?
add nodeAnnotationsAsTags configuration option #1483
Conversation
f52633c
to
d2b6c1a
Compare
@@ -233,6 +233,12 @@ datadog: | |||
# kubernetes.io/role: kube_role | |||
# <KUBERNETES_NODE_LABEL>: <DATADOG_TAG_KEY> | |||
|
|||
# datadog.nodeAnnotationsAsTags -- Provide a mapping of Kubernetes Node Annotations to Datadog Tags | |||
nodeAnnotationsAsTags: | |||
cluster.k8s.io/machine: kube_machine |
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.
This should be commented
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 intend to have this as a default value
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.
see here
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.
It might be better to not set any default here and let the one in the agent apply if there's no value specified here.
@@ -233,6 +233,12 @@ datadog: | |||
# kubernetes.io/role: kube_role | |||
# <KUBERNETES_NODE_LABEL>: <DATADOG_TAG_KEY> | |||
|
|||
# datadog.nodeAnnotationsAsTags -- Provide a mapping of Kubernetes Node Annotations to Datadog Tags | |||
nodeAnnotationsAsTags: |
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.
This option is not used in any template
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.
My bad, missed adding the template file before committing.
updated.
d2b6c1a
to
c43d19e
Compare
What this PR does / why we need it:
Which issue this PR fixes
Adds
nodeAnnotationsAsTags
configuration option to the datadog chart.Special notes for your reviewer:
This configuration option was introduced some time ago in this PR but was not introduced yet in helm chart.
An similar option, nodeLabelsAsTags, is already present in helm.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
.github/helm-docs.sh
)CHANGELOG.md
has been updatedREADME.md
make update-test-baselines
)