Skip to content

Commit

Permalink
add DatadogGenericResource configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
swang392 committed Feb 7, 2025
1 parent b71e039 commit 19779a4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/datadog-operator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 2.6.0

* Update Datadog Operator version to 1.12.0.
* Add DatadogGenericResource configuration.

## 2.5.1

Expand Down
3 changes: 3 additions & 0 deletions charts/datadog-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ spec:
{{- if (semverCompare ">=1.9.0-0" $version) }}
- "-datadogDashboardEnabled={{ .Values.datadogDashboard.enabled }}"
{{- end }}
{{- if (semverCompare ">=1.12.0" $version) }}
- "-datadogGenericResourceEnabled={{ .Values.datadogGenericResource.enabled }}"
{{- end }}
{{- if (semverCompare ">=1.7.0" $version) }}
- "-remoteConfigEnabled={{ .Values.remoteConfiguration.enabled }}"
{{- end }}
Expand Down
5 changes: 5 additions & 0 deletions charts/datadog-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ datadogAgent:
datadogDashboard:
# datadogDashboard.enabled -- Enables the Datadog Dashboard controller
enabled: false
datadogGenericResource:
# datadogGenericResource.enabled -- Enables the Datadog Generic Resource controller
enabled: false
datadogMonitor:
# datadogMonitor.enabled -- Enables the Datadog Monitor controller
enabled: false
Expand Down Expand Up @@ -147,6 +150,8 @@ datadogCRDs:
datadogSLOs: false
# datadogCRDs.crds.datadogDashboards -- Set to true to deploy the DatadogDashboard CRD
datadogDashboards: false
# datadogCRDs.crds.datadogGenericResources -- Set to true to deploy the datadogGenericResource CRD
datadogGenericResources: false

# podAnnotations -- Allows setting additional annotations for Datadog Operator PODs
podAnnotations: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ spec:
- "-datadogAgentEnabled=true"
- "-datadogSLOEnabled=false"
- "-datadogDashboardEnabled=false"
- "-datadogGenericResourceEnabled=false"
- "-remoteConfigEnabled=false"
ports:
- name: metrics
Expand Down

0 comments on commit 19779a4

Please sign in to comment.