diff --git a/datadoghq.com/datadogagent_v1alpha1.json b/datadoghq.com/datadogagent_v1alpha1.json index 20bebaca..8ee217fa 100644 --- a/datadoghq.com/datadogagent_v1alpha1.json +++ b/datadoghq.com/datadogagent_v1alpha1.json @@ -9438,10 +9438,6 @@ "type" ], "x-kubernetes-list-type": "map" - }, - "defaultOverride": { - "type": "object", - "x-kubernetes-preserve-unknown-fields": true } }, "type": "object", @@ -9449,4 +9445,4 @@ } }, "type": "object" -} \ No newline at end of file +} diff --git a/datadoghq.com/datadogagent_v2alpha1.json b/datadoghq.com/datadogagent_v2alpha1.json index 71e3fc8b..124d8e50 100644 --- a/datadoghq.com/datadogagent_v2alpha1.json +++ b/datadoghq.com/datadogagent_v2alpha1.json @@ -18,6 +18,302 @@ "agentCommunicationMode": { "type": "string" }, + "agentSidecarInjection": { + "properties": { + "clusterAgentCommunicationEnabled": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "image": { + "properties": { + "jmxEnabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "pullPolicy": { + "type": "string" + }, + "pullSecrets": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "tag": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "profiles": { + "items": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "additionalProperties": false + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "additionalProperties": false + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "additionalProperties": false + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, + "required": [ + "name" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "provider": { + "type": "string" + }, + "registry": { + "type": "string" + }, + "selectors": { + "items": { + "properties": { + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "additionalProperties": false + }, + "objectSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "additionalProperties": false + }, + "cwsInstrumentation": { + "properties": { + "enabled": { + "type": "boolean" + }, + "mode": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, "enabled": { "type": "boolean" }, @@ -27,8 +323,14 @@ "mutateUnlabelled": { "type": "boolean" }, + "registry": { + "type": "string" + }, "serviceName": { "type": "string" + }, + "webhookName": { + "type": "string" } }, "type": "object", @@ -52,6 +354,35 @@ "type": "object", "additionalProperties": false }, + "instrumentation": { + "properties": { + "disabledNamespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "enabled": { + "type": "boolean" + }, + "enabledNamespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "libVersions": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "additionalProperties": false + }, "unixDomainSocketConfig": { "properties": { "enabled": { @@ -68,24 +399,57 @@ "type": "object", "additionalProperties": false }, - "clusterChecks": { - "properties": { - "enabled": { - "type": "boolean" - }, - "useClusterChecksRunners": { - "type": "boolean" - } - }, - "type": "object", - "additionalProperties": false - }, - "cspm": { + "asm": { "properties": { - "checkInterval": { - "type": "string" + "iast": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false }, - "customBenchmarks": { + "sca": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "threats": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "clusterChecks": { + "properties": { + "enabled": { + "type": "boolean" + }, + "useClusterChecksRunners": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "cspm": { + "properties": { + "checkInterval": { + "type": "string" + }, + "customBenchmarks": { "properties": { "configData": { "type": "string" @@ -132,6 +496,15 @@ }, "enabled": { "type": "boolean" + }, + "hostBenchmarks": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false } }, "type": "object", @@ -187,6 +560,33 @@ "enabled": { "type": "boolean" }, + "network": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "remoteConfiguration": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "securityProfiles": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, "syscallMonitorEnabled": { "type": "boolean" } @@ -257,6 +657,9 @@ "originDetectionEnabled": { "type": "boolean" }, + "tagCardinality": { + "type": "string" + }, "unixDomainSocketConfig": { "properties": { "enabled": { @@ -273,6 +676,15 @@ "type": "object", "additionalProperties": false }, + "ebpfCheck": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, "eventCollection": { "properties": { "collectKubernetesEvents": { @@ -342,6 +754,9 @@ "format": "int32", "type": "integer" }, + "registerAPIService": { + "type": "boolean" + }, "useDatadogMetrics": { "type": "boolean" }, @@ -352,6 +767,24 @@ "type": "object", "additionalProperties": false }, + "helmCheck": { + "properties": { + "collectEvents": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "valuesAsTags": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "additionalProperties": false + }, "kubeStateMetricsCore": { "properties": { "conf": { @@ -532,6 +965,13 @@ "type": "object", "additionalProperties": false }, + "customResources": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, "ddUrl": { "type": "string" }, @@ -594,6 +1034,15 @@ "type": "object", "additionalProperties": false }, + "processDiscovery": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, "prometheusScrape": { "properties": { "additionalConfigs": { @@ -612,6 +1061,56 @@ "type": "object", "additionalProperties": false }, + "remoteConfiguration": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "sbom": { + "properties": { + "containerImage": { + "properties": { + "analyzers": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "enabled": { + "type": "boolean" + }, + "host": { + "properties": { + "analyzers": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, "tcpQueueLength": { "properties": { "enabled": { @@ -657,6 +1156,9 @@ "clusterName": { "type": "string" }, + "containerStrategy": { + "type": "string" + }, "credentials": { "properties": { "apiKey": { @@ -702,6 +1204,9 @@ "criSocketPath": { "type": "string" }, + "disableNonResourceRules": { + "type": "boolean" + }, "dockerSocketPath": { "type": "string" }, @@ -756,88 +1261,46 @@ "type": "object", "additionalProperties": false }, - "kubelet": { + "fips": { "properties": { - "agentCAPath": { - "type": "string" - }, - "host": { + "customFIPSConfig": { "properties": { - "configMapKeyRef": { - "properties": { - "key": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object", - "additionalProperties": false - }, - "fieldRef": { - "properties": { - "apiVersion": { - "type": "string" - }, - "fieldPath": { - "type": "string" - } - }, - "required": [ - "fieldPath" - ], - "type": "object", - "additionalProperties": false + "configData": { + "type": "string" }, - "resourceFieldRef": { + "configMap": { "properties": { - "containerName": { - "type": "string" - }, - "divisor": { - "anyOf": [ - { - "type": "integer" + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } }, - { - "type": "string" - } + "required": [ + "key", + "path" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "key" ], - "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", - "x-kubernetes-int-or-string": true - }, - "resource": { - "type": "string" - } - }, - "required": [ - "resource" - ], - "type": "object", - "additionalProperties": false - }, - "secretKeyRef": { - "properties": { - "key": { - "type": "string" + "x-kubernetes-list-type": "map" }, "name": { "type": "string" - }, - "optional": { - "type": "boolean" } }, - "required": [ - "key" - ], "type": "object", "additionalProperties": false } @@ -845,9 +1308,185 @@ "type": "object", "additionalProperties": false }, - "hostCAPath": { - "type": "string" - }, + "enabled": { + "type": "boolean" + }, + "image": { + "properties": { + "jmxEnabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "pullPolicy": { + "type": "string" + }, + "pullSecrets": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "tag": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "localAddress": { + "type": "string" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "portRange": { + "format": "int32", + "type": "integer" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object", + "additionalProperties": false + }, + "useHTTPS": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "kubelet": { + "properties": { + "agentCAPath": { + "type": "string" + }, + "host": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "additionalProperties": false + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "additionalProperties": false + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "additionalProperties": false + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "hostCAPath": { + "type": "string" + }, "tlsVerify": { "type": "boolean" } @@ -870,6 +1509,12 @@ "logLevel": { "type": "string" }, + "namespaceLabelsAsTags": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, "networkPolicy": { "properties": { "create": { @@ -923,17 +1568,20 @@ "type": "object", "additionalProperties": false }, - "namespaceLabelsAsTags": { + "nodeLabelsAsTags": { "additionalProperties": { "type": "string" }, "type": "object" }, - "nodeLabelsAsTags": { - "additionalProperties": { - "type": "string" + "originDetectionUnified": { + "properties": { + "enabled": { + "type": "boolean" + } }, - "type": "object" + "type": "object", + "additionalProperties": false }, "podAnnotationsAsTags": { "additionalProperties": { @@ -2585,281 +3233,63 @@ "type": "object", "additionalProperties": false }, - "securityContextConstraints": { - "properties": { - "create": { - "type": "boolean" + "serviceAccountName": { + "type": "string" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } }, - "customConfiguration": { - "properties": { - "allowHostDirVolumePlugin": { - "type": "boolean" - }, - "allowHostIPC": { - "type": "boolean" - }, - "allowHostNetwork": { - "type": "boolean" - }, - "allowHostPID": { - "type": "boolean" - }, - "allowHostPorts": { - "type": "boolean" - }, - "allowPrivilegedContainer": { - "type": "boolean" - }, - "allowedCapabilities": { - "items": { + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "volumes": { + "items": { + "properties": { + "awsElasticBlockStore": { + "properties": { + "fsType": { "type": "string" }, - "type": "array" - }, - "allowedFlexVolumes": { - "items": { - "properties": { - "driver": { - "type": "string" - } - }, - "type": "object", - "additionalProperties": false + "partition": { + "format": "int32", + "type": "integer" }, - "type": "array" - }, - "apiVersion": { - "type": "string" + "readOnly": { + "type": "boolean" + }, + "volumeID": { + "type": "string" + } }, - "defaultAddCapabilities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "fsGroup": { - "properties": { - "ranges": { - "items": { - "properties": { - "max": { - "format": "int64", - "type": "integer" - }, - "min": { - "format": "int64", - "type": "integer" - } - }, - "type": "object", - "additionalProperties": false - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "additionalProperties": false - }, - "groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "type": "string" - }, - "metadata": { - "type": "object" - }, - "priority": { - "format": "int32", - "type": "integer" - }, - "readOnlyRootFilesystem": { - "type": "boolean" - }, - "requiredDropCapabilities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "runAsUser": { - "properties": { - "type": { - "type": "string" - }, - "uid": { - "format": "int64", - "type": "integer" - }, - "uidRangeMax": { - "format": "int64", - "type": "integer" - }, - "uidRangeMin": { - "format": "int64", - "type": "integer" - } - }, - "type": "object", - "additionalProperties": false - }, - "seLinuxContext": { - "properties": { - "seLinuxOptions": { - "properties": { - "level": { - "type": "string" - }, - "role": { - "type": "string" - }, - "type": { - "type": "string" - }, - "user": { - "type": "string" - } - }, - "type": "object", - "additionalProperties": false - }, - "type": { - "type": "string" - } - }, - "type": "object", - "additionalProperties": false - }, - "seccompProfiles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "supplementalGroups": { - "properties": { - "ranges": { - "items": { - "properties": { - "max": { - "format": "int64", - "type": "integer" - }, - "min": { - "format": "int64", - "type": "integer" - } - }, - "type": "object", - "additionalProperties": false - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "additionalProperties": false - }, - "users": { - "items": { - "type": "string" - }, - "type": "array" - }, - "volumes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "allowHostDirVolumePlugin", - "allowHostIPC", - "allowHostNetwork", - "allowHostPID", - "allowHostPorts", - "allowPrivilegedContainer", - "allowedCapabilities", - "allowedFlexVolumes", - "defaultAddCapabilities", - "priority", - "readOnlyRootFilesystem", - "requiredDropCapabilities", - "volumes" - ], - "type": "object", - "additionalProperties": false - } - }, - "type": "object", - "additionalProperties": false - }, - "serviceAccountName": { - "type": "string" - }, - "tolerations": { - "items": { - "properties": { - "effect": { - "type": "string" - }, - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "tolerationSeconds": { - "format": "int64", - "type": "integer" - }, - "value": { - "type": "string" - } - }, - "type": "object", - "additionalProperties": false - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "volumes": { - "items": { - "properties": { - "awsElasticBlockStore": { - "properties": { - "fsType": { - "type": "string" - }, - "partition": { - "format": "int32", - "type": "integer" - }, - "readOnly": { - "type": "boolean" - }, - "volumeID": { - "type": "string" - } - }, - "required": [ - "volumeID" - ], - "type": "object", - "additionalProperties": false - }, - "azureDisk": { - "properties": { - "cachingMode": { + "required": [ + "volumeID" + ], + "type": "object", + "additionalProperties": false + }, + "azureDisk": { + "properties": { + "cachingMode": { "type": "string" }, "diskName": { @@ -4006,6 +4436,59 @@ "type": "object", "additionalProperties": false }, + "agentList": { + "items": { + "properties": { + "available": { + "format": "int32", + "type": "integer" + }, + "current": { + "format": "int32", + "type": "integer" + }, + "currentHash": { + "type": "string" + }, + "daemonsetName": { + "type": "string" + }, + "desired": { + "format": "int32", + "type": "integer" + }, + "lastUpdate": { + "format": "date-time", + "type": "string" + }, + "ready": { + "format": "int32", + "type": "integer" + }, + "state": { + "type": "string" + }, + "status": { + "type": "string" + }, + "upToDate": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "available", + "current", + "desired", + "ready", + "upToDate" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, "clusterAgent": { "properties": { "availableReplicas": { @@ -4147,6 +4630,1134 @@ "type" ], "x-kubernetes-list-type": "map" + }, + "remoteConfigConfiguration": { + "properties": { + "features": { + "properties": { + "admissionController": { + "properties": { + "agentCommunicationMode": { + "type": "string" + }, + "agentSidecarInjection": { + "properties": { + "clusterAgentCommunicationEnabled": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "image": { + "properties": { + "jmxEnabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "pullPolicy": { + "type": "string" + }, + "pullSecrets": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "tag": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "profiles": { + "items": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "additionalProperties": false + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "additionalProperties": false + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "additionalProperties": false + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, + "required": [ + "name" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "provider": { + "type": "string" + }, + "registry": { + "type": "string" + }, + "selectors": { + "items": { + "properties": { + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "additionalProperties": false + }, + "objectSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "additionalProperties": false + }, + "cwsInstrumentation": { + "properties": { + "enabled": { + "type": "boolean" + }, + "mode": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "enabled": { + "type": "boolean" + }, + "failurePolicy": { + "type": "string" + }, + "mutateUnlabelled": { + "type": "boolean" + }, + "registry": { + "type": "string" + }, + "serviceName": { + "type": "string" + }, + "webhookName": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "apm": { + "properties": { + "enabled": { + "type": "boolean" + }, + "hostPortConfig": { + "properties": { + "enabled": { + "type": "boolean" + }, + "hostPort": { + "format": "int32", + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "instrumentation": { + "properties": { + "disabledNamespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "enabled": { + "type": "boolean" + }, + "enabledNamespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "libVersions": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "additionalProperties": false + }, + "unixDomainSocketConfig": { + "properties": { + "enabled": { + "type": "boolean" + }, + "path": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "asm": { + "properties": { + "iast": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "sca": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "threats": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "clusterChecks": { + "properties": { + "enabled": { + "type": "boolean" + }, + "useClusterChecksRunners": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "cspm": { + "properties": { + "checkInterval": { + "type": "string" + }, + "customBenchmarks": { + "properties": { + "configData": { + "type": "string" + }, + "configMap": { + "properties": { + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "key" + ], + "x-kubernetes-list-type": "map" + }, + "name": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "enabled": { + "type": "boolean" + }, + "hostBenchmarks": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "cws": { + "properties": { + "customPolicies": { + "properties": { + "configData": { + "type": "string" + }, + "configMap": { + "properties": { + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "key" + ], + "x-kubernetes-list-type": "map" + }, + "name": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "enabled": { + "type": "boolean" + }, + "network": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "remoteConfiguration": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "securityProfiles": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "syscallMonitorEnabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "dogstatsd": { + "properties": { + "hostPortConfig": { + "properties": { + "enabled": { + "type": "boolean" + }, + "hostPort": { + "format": "int32", + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "mapperProfiles": { + "properties": { + "configData": { + "type": "string" + }, + "configMap": { + "properties": { + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "key" + ], + "x-kubernetes-list-type": "map" + }, + "name": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "originDetectionEnabled": { + "type": "boolean" + }, + "tagCardinality": { + "type": "string" + }, + "unixDomainSocketConfig": { + "properties": { + "enabled": { + "type": "boolean" + }, + "path": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "ebpfCheck": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "eventCollection": { + "properties": { + "collectKubernetesEvents": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "externalMetricsServer": { + "properties": { + "enabled": { + "type": "boolean" + }, + "endpoint": { + "properties": { + "credentials": { + "properties": { + "apiKey": { + "type": "string" + }, + "apiSecret": { + "properties": { + "keyName": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object", + "additionalProperties": false + }, + "appKey": { + "type": "string" + }, + "appSecret": { + "properties": { + "keyName": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "url": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "port": { + "format": "int32", + "type": "integer" + }, + "registerAPIService": { + "type": "boolean" + }, + "useDatadogMetrics": { + "type": "boolean" + }, + "wpaController": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "helmCheck": { + "properties": { + "collectEvents": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "valuesAsTags": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "additionalProperties": false + }, + "kubeStateMetricsCore": { + "properties": { + "conf": { + "properties": { + "configData": { + "type": "string" + }, + "configMap": { + "properties": { + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "key" + ], + "x-kubernetes-list-type": "map" + }, + "name": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "liveContainerCollection": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "liveProcessCollection": { + "properties": { + "enabled": { + "type": "boolean" + }, + "scrubProcessArguments": { + "type": "boolean" + }, + "stripProcessArguments": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "logCollection": { + "properties": { + "containerCollectAll": { + "type": "boolean" + }, + "containerCollectUsingFiles": { + "type": "boolean" + }, + "containerLogsPath": { + "type": "string" + }, + "containerSymlinksPath": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "openFilesLimit": { + "format": "int32", + "type": "integer" + }, + "podLogsPath": { + "type": "string" + }, + "tempStoragePath": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "npm": { + "properties": { + "collectDNSStats": { + "type": "boolean" + }, + "enableConntrack": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "oomKill": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "orchestratorExplorer": { + "properties": { + "conf": { + "properties": { + "configData": { + "type": "string" + }, + "configMap": { + "properties": { + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "key" + ], + "x-kubernetes-list-type": "map" + }, + "name": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "customResources": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "ddUrl": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "extraTags": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "scrubContainers": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "otlp": { + "properties": { + "receiver": { + "properties": { + "protocols": { + "properties": { + "grpc": { + "properties": { + "enabled": { + "type": "boolean" + }, + "endpoint": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "http": { + "properties": { + "enabled": { + "type": "boolean" + }, + "endpoint": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "processDiscovery": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "prometheusScrape": { + "properties": { + "additionalConfigs": { + "type": "string" + }, + "enableServiceEndpoints": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "version": { + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "remoteConfiguration": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "sbom": { + "properties": { + "containerImage": { + "properties": { + "analyzers": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "enabled": { + "type": "boolean" + }, + "host": { + "properties": { + "analyzers": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "tcpQueueLength": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "usm": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false } }, "type": "object", @@ -4154,4 +5765,4 @@ } }, "type": "object" -} \ No newline at end of file +} diff --git a/datadoghq.com/datadogmetric_v1alpha1.json b/datadoghq.com/datadogmetric_v1alpha1.json index e341b75a..c80e191b 100644 --- a/datadoghq.com/datadogmetric_v1alpha1.json +++ b/datadoghq.com/datadogmetric_v1alpha1.json @@ -26,6 +26,10 @@ "query": { "description": "Query is the raw datadog query", "type": "string" + }, + "timeWindow": { + "description": "TimeWindow provides the time window for the metric query, defaults to MaxAge.", + "type": "string" } }, "type": "object", @@ -96,4 +100,4 @@ } }, "type": "object" -} \ No newline at end of file +} diff --git a/datadoghq.com/datadogmonitor_v1alpha1.json b/datadoghq.com/datadogmonitor_v1alpha1.json index 7aeff45c..a400a621 100644 --- a/datadoghq.com/datadogmonitor_v1alpha1.json +++ b/datadoghq.com/datadogmonitor_v1alpha1.json @@ -15,6 +15,17 @@ "spec": { "description": "DatadogMonitorSpec defines the desired state of DatadogMonitor", "properties": { + "controllerOptions": { + "description": "ControllerOptions are the optional parameters in the DatadogMonitor controller", + "properties": { + "disableRequiredTags": { + "description": "DisableRequiredTags disables the automatic addition of required tags to monitors.", + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, "message": { "description": "Message is a message to include with notifications for this monitor", "type": "string" @@ -26,6 +37,10 @@ "options": { "description": "Options are the optional parameters associated with your monitor", "properties": { + "enableLogsSample": { + "description": "A Boolean indicating whether to send a log sample when the log monitor triggers.", + "type": "boolean" + }, "escalationMessage": { "description": "A message to include with a re-notification.", "type": "string" @@ -35,6 +50,10 @@ "format": "int64", "type": "integer" }, + "groupbySimpleMonitor": { + "description": "A Boolean indicating whether the log alert monitor triggers a single alert or multiple alerts when any group breaches a threshold.", + "type": "boolean" + }, "includeTags": { "description": "A Boolean indicating whether notifications from this monitor automatically inserts its triggering tags into the title.", "type": "boolean" @@ -53,19 +72,39 @@ "format": "int64", "type": "integer" }, + "notificationPresetName": { + "description": "An enum that toggles the display of additional content sent in the monitor notification.", + "type": "string" + }, "notifyAudit": { "description": "A Boolean indicating whether tagged users are notified on changes to this monitor.", "type": "boolean" }, + "notifyBy": { + "description": "A string indicating the granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor grouped by cluster, namespace, and pod can be configured to only notify on each new cluster violating the alert conditions by setting notify_by to [\"cluster\"]. Tags mentioned in notify_by must be a subset of the grouping tags in the query. For example, a query grouped by cluster and namespace cannot notify on region. Setting notify_by to [*] configures the monitor to notify as a simple-alert.", + "items": { + "type": "string" + }, + "type": "array" + }, "notifyNoData": { "description": "A Boolean indicating whether this monitor notifies when data stops reporting.", "type": "boolean" }, + "onMissingData": { + "description": "An enum that controls how groups or monitors are treated if an evaluation does not return data points. The default option results in different behavior depending on the monitor query type. For monitors using Count queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than Count, for example Gauge, Measure, or Rate, the monitor shows the last known status. This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors", + "type": "string" + }, "renotifyInterval": { "description": "The number of minutes after the last notification before a monitor re-notifies on the current status. It only re-notifies if it\u2019s not resolved.", "format": "int64", "type": "integer" }, + "renotifyOccurrences": { + "description": "The number of times re-notification messages should be sent on the current status at the provided re-notification interval.", + "format": "int64", + "type": "integer" + }, "requireFullWindow": { "description": "A Boolean indicating whether this monitor needs a full window of data before it\u2019s evaluated. We highly recommend you set this to false for sparse metrics, otherwise some evaluations are skipped. Default is false.", "type": "boolean" @@ -134,12 +173,21 @@ "description": "Query is the Datadog monitor query", "type": "string" }, + "restrictedRoles": { + "description": "RestrictedRoles is a list of unique role identifiers to define which roles are allowed to edit the monitor. `restricted_roles` is the successor of `locked`. For more information about `locked` and `restricted_roles`, see the [monitor options docs](https://docs.datadoghq.com/monitors/guide/monitor_api_options/#permissions-options).", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, "tags": { "description": "Tags is the monitor tags associated with your monitor", "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "set" }, "type": { "description": "Type is the monitor type", @@ -227,6 +275,11 @@ "description": "ID is the monitor ID generated in Datadog", "type": "integer" }, + "monitorLastForceSyncTime": { + "description": "MonitorLastForceSyncTime is the last time the API monitor was last force synced with the DatadogMonitor resource", + "format": "date-time", + "type": "string" + }, "monitorState": { "description": "MonitorState is the overall state of monitor", "type": "string" @@ -246,7 +299,7 @@ "type": "boolean" }, "syncStatus": { - "description": "SyncStatus shows the health of syncing the monitor state to Datadog", + "description": "MonitorStateSyncStatus shows the health of syncing the monitor state to Datadog", "type": "string" }, "triggeredState": { @@ -267,10 +320,17 @@ "type": "string" } }, + "required": [ + "monitorGroup" + ], "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-map-keys": [ + "monitorGroup" + ], + "x-kubernetes-list-type": "map" } }, "type": "object", @@ -278,4 +338,4 @@ } }, "type": "object" -} \ No newline at end of file +}