Skip to content

Commit

Permalink
[datadog-operator] add flag for introspection
Browse files Browse the repository at this point in the history
  • Loading branch information
celenechang committed Feb 26, 2024
1 parent 0b71eb1 commit ca52eea
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 4 deletions.
4 changes: 4 additions & 0 deletions charts/datadog-operator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.5.1

* Add configuration for Operator flag `introspectionEnabled`: this parameter is used to enable the Introspection. It is disabled by default.

## 1.5.0

* Update Datadog Operator version to 1.4.0.
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: datadog-operator
version: 1.5.0
version: 1.5.1
appVersion: 1.4.0
description: Datadog Operator
keywords:
Expand Down
3 changes: 2 additions & 1 deletion charts/datadog-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Datadog Operator

![Version: 1.5.0](https://img.shields.io/badge/Version-1.5.0-informational?style=flat-square) ![AppVersion: 1.4.0](https://img.shields.io/badge/AppVersion-1.4.0-informational?style=flat-square)
![Version: 1.5.1](https://img.shields.io/badge/Version-1.5.1-informational?style=flat-square) ![AppVersion: 1.4.0](https://img.shields.io/badge/AppVersion-1.4.0-informational?style=flat-square)

## Values

Expand Down Expand Up @@ -33,6 +33,7 @@
| image.tag | string | `"1.4.0"` | Define the Datadog Operator version to use |
| imagePullSecrets | list | `[]` | Datadog Operator repository pullSecret (ex: specify docker registry credentials) |
| installCRDs | bool | `true` | Set to true to deploy the Datadog's CRDs |
| introspection.enabled | bool | `false` | If true, enables introspection feature (beta). Requires v1.4.0+ |
| logLevel | string | `"info"` | Set Datadog Operator log level (debug, info, error, panic, fatal) |
| maximumGoroutines | string | `nil` | Override default goroutines threshold for the health check failure. |
| metricsPort | int | `8383` | Port used for OpenMetrics endpoint |
Expand Down
1 change: 1 addition & 0 deletions charts/datadog-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ spec:
value: {{ .value | quote }}
{{- end }}
args:
- "-introspectionEnabled={{ .Values.introspection.enabled }}"
- "-supportExtendedDaemonset={{ .Values.supportExtendedDaemonset }}"
- "-logEncoder=json"
- "-metrics-addr=:{{ .Values.metricsPort }}"
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 @@ -56,6 +56,11 @@ fullnameOverride: ""
logLevel: "info"
# maximumGoroutines -- Override default goroutines threshold for the health check failure.
maximumGoroutines:


introspection:
# introspection.enabled -- If true, enables introspection feature (beta). Requires v1.4.0+
enabled: false
# supportExtendedDaemonset -- If true, supports using ExtendedDaemonSet CRD
supportExtendedDaemonset: "false"
# operatorMetricsEnabled -- Enable forwarding of Datadog Operator metrics and events to Datadog.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
namespace: datadog-agent
labels:
app.kubernetes.io/name: datadog-operator
helm.sh/chart: datadog-operator-1.5.0
helm.sh/chart: datadog-operator-1.5.1
app.kubernetes.io/instance: datadog-operator
app.kubernetes.io/version: "1.4.0"
app.kubernetes.io/managed-by: Helm
Expand Down Expand Up @@ -47,6 +47,7 @@ spec:
fieldRef:
fieldPath: metadata.name
args:
- "-introspectionEnabled=false"
- "-supportExtendedDaemonset=false"
- "-logEncoder=json"
- "-metrics-addr=:8383"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
namespace: datadog-agent
labels:
app.kubernetes.io/name: datadog-operator
helm.sh/chart: datadog-operator-1.5.0
helm.sh/chart: datadog-operator-1.5.1
app.kubernetes.io/instance: datadog-operator
app.kubernetes.io/version: "1.4.0"
app.kubernetes.io/managed-by: Helm
Expand Down Expand Up @@ -47,6 +47,7 @@ spec:
fieldRef:
fieldPath: metadata.name
args:
- "-introspectionEnabled=false"
- "-supportExtendedDaemonset=false"
- "-logEncoder=json"
- "-metrics-addr=:8383"
Expand Down

0 comments on commit ca52eea

Please sign in to comment.