From 34bad85d03f267fd6ff75875b67ab7d6f88ebef1 Mon Sep 17 00:00:00 2001 From: Carl Thuringer <87382792+carl-reverb@users.noreply.github.com> Date: Thu, 6 Feb 2025 02:56:23 -0600 Subject: [PATCH] Update datadog-crds to 2.3.0 (#460) --- datadoghq.com/datadogagent_v2alpha1.json | 932 ++++++++++++++++++--- datadoghq.com/datadogmonitor_v1alpha1.json | 18 +- 2 files changed, 843 insertions(+), 107 deletions(-) diff --git a/datadoghq.com/datadogagent_v2alpha1.json b/datadoghq.com/datadogagent_v2alpha1.json index 47d4efa5..a783f982 100644 --- a/datadoghq.com/datadogagent_v2alpha1.json +++ b/datadoghq.com/datadogagent_v2alpha1.json @@ -41,6 +41,7 @@ "items": { "properties": { "name": { + "default": "", "type": "string" } }, @@ -77,6 +78,7 @@ "type": "string" }, "name": { + "default": "", "type": "string" }, "optional": { @@ -140,6 +142,7 @@ "type": "string" }, "name": { + "default": "", "type": "string" }, "optional": { @@ -177,6 +180,9 @@ "properties": { "name": { "type": "string" + }, + "request": { + "type": "string" } }, "required": [ @@ -256,7 +262,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -266,7 +273,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchLabels": { "additionalProperties": { @@ -294,7 +302,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -304,7 +313,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchLabels": { "additionalProperties": { @@ -349,12 +359,30 @@ "mutateUnlabelled": { "type": "boolean" }, + "mutation": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, "registry": { "type": "string" }, "serviceName": { "type": "string" }, + "validation": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, "webhookName": { "type": "string" } @@ -1082,6 +1110,19 @@ }, "endpoint": { "type": "string" + }, + "hostPortConfig": { + "properties": { + "enabled": { + "type": "boolean" + }, + "hostPort": { + "format": "int32", + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false } }, "type": "object", @@ -1094,6 +1135,19 @@ }, "endpoint": { "type": "string" + }, + "hostPortConfig": { + "properties": { + "enabled": { + "type": "boolean" + }, + "hostPort": { + "format": "int32", + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false } }, "type": "object", @@ -1194,6 +1248,15 @@ "type": "object", "additionalProperties": false }, + "serviceDiscovery": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, "tcpQueueLength": { "properties": { "enabled": { @@ -1218,6 +1281,9 @@ }, "global": { "properties": { + "checksTagCardinality": { + "type": "string" + }, "clusterAgentToken": { "type": "string" }, @@ -1344,6 +1410,118 @@ "type": "object", "additionalProperties": false }, + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic", + "additionalProperties": false + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic", + "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", + "x-kubernetes-map-type": "atomic", + "additionalProperties": false + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic", + "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" + }, "fips": { "properties": { "customFIPSConfig": { @@ -1409,6 +1587,7 @@ "items": { "properties": { "name": { + "default": "", "type": "string" } }, @@ -1443,6 +1622,9 @@ "properties": { "name": { "type": "string" + }, + "request": { + "type": "string" } }, "required": [ @@ -1511,6 +1693,7 @@ "type": "string" }, "name": { + "default": "", "type": "string" }, "optional": { @@ -1574,6 +1757,7 @@ "type": "string" }, "name": { + "default": "", "type": "string" }, "optional": { @@ -1601,6 +1785,24 @@ "type": "object", "additionalProperties": false }, + "kubernetesResourcesAnnotationsAsTags": { + "additionalProperties": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "type": "object" + }, + "kubernetesResourcesLabelsAsTags": { + "additionalProperties": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "type": "object" + }, "localService": { "properties": { "forceEnableLocalService": { @@ -1649,7 +1851,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -1659,7 +1862,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchLabels": { "additionalProperties": { @@ -1712,6 +1916,52 @@ "registry": { "type": "string" }, + "runProcessChecksInCoreAgent": { + "type": "boolean" + }, + "secretBackend": { + "properties": { + "args": { + "type": "string" + }, + "command": { + "type": "string" + }, + "enableGlobalPermissions": { + "type": "boolean" + }, + "roles": { + "items": { + "properties": { + "namespace": { + "type": "string" + }, + "secrets": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + } + }, + "required": [ + "namespace", + "secrets" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "timeout": { + "format": "int32", + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, "site": { "type": "string" }, @@ -1751,7 +2001,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -1761,7 +2012,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchFields": { "items": { @@ -1776,7 +2028,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -1786,7 +2039,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", @@ -1805,7 +2059,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "requiredDuringSchedulingIgnoredDuringExecution": { "properties": { @@ -1825,7 +2080,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -1835,7 +2091,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchFields": { "items": { @@ -1850,7 +2107,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -1860,14 +2118,16 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", "x-kubernetes-map-type": "atomic", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -1903,7 +2163,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -1913,7 +2174,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchLabels": { "additionalProperties": { @@ -1926,6 +2188,20 @@ "x-kubernetes-map-type": "atomic", "additionalProperties": false }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, "namespaceSelector": { "properties": { "matchExpressions": { @@ -1941,7 +2217,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -1951,7 +2228,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchLabels": { "additionalProperties": { @@ -1968,7 +2246,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "topologyKey": { "type": "string" @@ -1992,7 +2271,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "requiredDuringSchedulingIgnoredDuringExecution": { "items": { @@ -2012,7 +2292,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -2022,7 +2303,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchLabels": { "additionalProperties": { @@ -2035,6 +2317,20 @@ "x-kubernetes-map-type": "atomic", "additionalProperties": false }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, "namespaceSelector": { "properties": { "matchExpressions": { @@ -2050,7 +2346,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -2060,7 +2357,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchLabels": { "additionalProperties": { @@ -2077,7 +2375,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "topologyKey": { "type": "string" @@ -2089,7 +2388,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", @@ -2117,7 +2417,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -2127,7 +2428,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchLabels": { "additionalProperties": { @@ -2140,6 +2442,20 @@ "x-kubernetes-map-type": "atomic", "additionalProperties": false }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, "namespaceSelector": { "properties": { "matchExpressions": { @@ -2155,7 +2471,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -2165,7 +2482,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchLabels": { "additionalProperties": { @@ -2182,7 +2500,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "topologyKey": { "type": "string" @@ -2206,7 +2525,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "requiredDuringSchedulingIgnoredDuringExecution": { "items": { @@ -2226,7 +2546,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -2236,7 +2557,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchLabels": { "additionalProperties": { @@ -2249,6 +2571,20 @@ "x-kubernetes-map-type": "atomic", "additionalProperties": false }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, "namespaceSelector": { "properties": { "matchExpressions": { @@ -2264,7 +2600,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -2274,7 +2611,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchLabels": { "additionalProperties": { @@ -2291,7 +2629,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "topologyKey": { "type": "string" @@ -2303,7 +2642,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", @@ -2356,6 +2696,7 @@ "type": "string" }, "name": { + "default": "", "type": "string" }, "optional": { @@ -2419,6 +2760,7 @@ "type": "string" }, "name": { + "default": "", "type": "string" }, "optional": { @@ -2461,7 +2803,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", @@ -2478,6 +2821,7 @@ "type": "integer" }, "service": { + "default": "", "type": "string" } }, @@ -2509,7 +2853,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "path": { "type": "string" @@ -2596,7 +2941,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", @@ -2613,6 +2959,7 @@ "type": "integer" }, "service": { + "default": "", "type": "string" } }, @@ -2644,7 +2991,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "path": { "type": "string" @@ -2724,6 +3072,9 @@ "properties": { "name": { "type": "string" + }, + "request": { + "type": "string" } }, "required": [ @@ -2831,19 +3182,36 @@ "allowPrivilegeEscalation": { "type": "boolean" }, + "appArmorProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + }, "capabilities": { "properties": { "add": { "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "drop": { "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", @@ -2897,28 +3265,160 @@ } }, "required": [ - "type" + "type" + ], + "type": "object", + "additionalProperties": false + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "startupProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "additionalProperties": false + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "default": "", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object", + "additionalProperties": false + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" ], "type": "object", "additionalProperties": false }, - "windowsOptions": { + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { "properties": { - "gmsaCredentialSpec": { - "type": "string" - }, - "gmsaCredentialSpecName": { + "host": { "type": "string" }, - "hostProcess": { - "type": "boolean" - }, - "runAsUserName": { - "type": "string" + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true } }, + "required": [ + "port" + ], "type": "object", "additionalProperties": false + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" } }, "type": "object", @@ -2939,6 +3439,9 @@ "readOnly": { "type": "boolean" }, + "recursiveReadOnly": { + "type": "string" + }, "subPath": { "type": "string" }, @@ -2966,6 +3469,9 @@ }, "type": "object" }, + "createPodDisruptionBudget": { + "type": "boolean" + }, "createRbac": { "type": "boolean" }, @@ -3026,7 +3532,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "options": { "items": { @@ -3041,13 +3548,15 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "searches": { "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", @@ -3073,6 +3582,7 @@ "type": "string" }, "name": { + "default": "", "type": "string" }, "optional": { @@ -3136,6 +3646,7 @@ "type": "string" }, "name": { + "default": "", "type": "string" }, "optional": { @@ -3166,6 +3677,46 @@ ], "x-kubernetes-list-type": "map" }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic", + "additionalProperties": false + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, "extraChecksd": { "properties": { "configDataMap": { @@ -3283,6 +3834,7 @@ "items": { "properties": { "name": { + "default": "", "type": "string" } }, @@ -3323,6 +3875,21 @@ }, "securityContext": { "properties": { + "appArmorProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + }, "fsGroup": { "format": "int64", "type": "integer" @@ -3379,7 +3946,11 @@ "format": "int64", "type": "integer" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "supplementalGroupsPolicy": { + "type": "string" }, "sysctls": { "items": { @@ -3398,7 +3969,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "windowsOptions": { "properties": { @@ -3422,6 +3994,12 @@ "type": "object", "additionalProperties": false }, + "serviceAccountAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, "serviceAccountName": { "type": "string" }, @@ -3525,12 +4103,14 @@ "type": "string" }, "fsType": { + "default": "ext4", "type": "string" }, "kind": { "type": "string" }, "readOnly": { + "default": false, "type": "boolean" } }, @@ -3566,7 +4146,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "path": { "type": "string" @@ -3580,6 +4161,7 @@ "secretRef": { "properties": { "name": { + "default": "", "type": "string" } }, @@ -3608,6 +4190,7 @@ "secretRef": { "properties": { "name": { + "default": "", "type": "string" } }, @@ -3652,9 +4235,11 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "name": { + "default": "", "type": "string" }, "optional": { @@ -3676,6 +4261,7 @@ "nodePublishSecretRef": { "properties": { "name": { + "default": "", "type": "string" } }, @@ -3766,7 +4352,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", @@ -3806,7 +4393,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "dataSource": { "properties": { @@ -3852,25 +4440,6 @@ }, "resources": { "properties": { - "claims": { - "items": { - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object", - "additionalProperties": false - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map" - }, "limits": { "additionalProperties": { "anyOf": [ @@ -3920,7 +4489,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -3930,7 +4500,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchLabels": { "additionalProperties": { @@ -3946,6 +4517,9 @@ "storageClassName": { "type": "string" }, + "volumeAttributesClassName": { + "type": "string" + }, "volumeMode": { "type": "string" }, @@ -3983,13 +4557,15 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "wwids": { "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", @@ -4015,6 +4591,7 @@ "secretRef": { "properties": { "name": { + "default": "", "type": "string" } }, @@ -4115,6 +4692,18 @@ "type": "object", "additionalProperties": false }, + "image": { + "properties": { + "pullPolicy": { + "type": "string" + }, + "reference": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, "iscsi": { "properties": { "chapAuthDiscovery": { @@ -4133,6 +4722,7 @@ "type": "string" }, "iscsiInterface": { + "default": "default", "type": "string" }, "lun": { @@ -4143,7 +4733,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "readOnly": { "type": "boolean" @@ -4151,6 +4742,7 @@ "secretRef": { "properties": { "name": { + "default": "", "type": "string" } }, @@ -4249,6 +4841,67 @@ "sources": { "items": { "properties": { + "clusterTrustBundle": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic", + "additionalProperties": false + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + }, + "path": { + "type": "string" + }, + "signerName": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object", + "additionalProperties": false + }, "configMap": { "properties": { "items": { @@ -4272,9 +4925,11 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "name": { + "default": "", "type": "string" }, "optional": { @@ -4348,7 +5003,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", @@ -4377,9 +5033,11 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "name": { + "default": "", "type": "string" }, "optional": { @@ -4413,7 +5071,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", @@ -4456,15 +5115,18 @@ "type": "string" }, "keyring": { + "default": "/etc/ceph/keyring", "type": "string" }, "monitors": { "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "pool": { + "default": "rbd", "type": "string" }, "readOnly": { @@ -4473,6 +5135,7 @@ "secretRef": { "properties": { "name": { + "default": "", "type": "string" } }, @@ -4481,6 +5144,7 @@ "additionalProperties": false }, "user": { + "default": "admin", "type": "string" } }, @@ -4494,6 +5158,7 @@ "scaleIO": { "properties": { "fsType": { + "default": "xfs", "type": "string" }, "gateway": { @@ -4508,6 +5173,7 @@ "secretRef": { "properties": { "name": { + "default": "", "type": "string" } }, @@ -4519,6 +5185,7 @@ "type": "boolean" }, "storageMode": { + "default": "ThinProvisioned", "type": "string" }, "storagePool": { @@ -4566,7 +5233,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "optional": { "type": "boolean" @@ -4589,6 +5257,7 @@ "secretRef": { "properties": { "name": { + "default": "", "type": "string" } }, @@ -4928,6 +5597,7 @@ "items": { "properties": { "name": { + "default": "", "type": "string" } }, @@ -4964,6 +5634,7 @@ "type": "string" }, "name": { + "default": "", "type": "string" }, "optional": { @@ -5027,6 +5698,7 @@ "type": "string" }, "name": { + "default": "", "type": "string" }, "optional": { @@ -5064,6 +5736,9 @@ "properties": { "name": { "type": "string" + }, + "request": { + "type": "string" } }, "required": [ @@ -5143,7 +5818,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -5153,7 +5829,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchLabels": { "additionalProperties": { @@ -5181,7 +5858,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -5191,7 +5869,8 @@ "type": "object", "additionalProperties": false }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "matchLabels": { "additionalProperties": { @@ -5236,12 +5915,30 @@ "mutateUnlabelled": { "type": "boolean" }, + "mutation": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, "registry": { "type": "string" }, "serviceName": { "type": "string" }, + "validation": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, "webhookName": { "type": "string" } @@ -5969,6 +6666,19 @@ }, "endpoint": { "type": "string" + }, + "hostPortConfig": { + "properties": { + "enabled": { + "type": "boolean" + }, + "hostPort": { + "format": "int32", + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false } }, "type": "object", @@ -5981,6 +6691,19 @@ }, "endpoint": { "type": "string" + }, + "hostPortConfig": { + "properties": { + "enabled": { + "type": "boolean" + }, + "hostPort": { + "format": "int32", + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false } }, "type": "object", @@ -6081,6 +6804,15 @@ "type": "object", "additionalProperties": false }, + "serviceDiscovery": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, "tcpQueueLength": { "properties": { "enabled": { diff --git a/datadoghq.com/datadogmonitor_v1alpha1.json b/datadoghq.com/datadogmonitor_v1alpha1.json index 876ced2d..caf37ff2 100644 --- a/datadoghq.com/datadogmonitor_v1alpha1.json +++ b/datadoghq.com/datadogmonitor_v1alpha1.json @@ -85,7 +85,8 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "set" }, "notifyNoData": { "description": "A Boolean indicating whether this monitor notifies when data stops reporting.", @@ -111,7 +112,8 @@ "description": "MonitorRenotifyStatusType The different statuses for which renotification is supported.", "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "set" }, "requireFullWindow": { "description": "A Boolean indicating whether this monitor needs a full window of data before it\u2019s evaluated. We highly\nrecommend you set this to false for sparse metrics, otherwise some evaluations are skipped. Default is false.", @@ -269,10 +271,12 @@ "downtimeStatus": { "description": "DowntimeStatus defines whether the monitor is downtimed", "properties": { - "downtimeId": { + "downtimeID": { + "description": "DowntimeID is the downtime ID.", "type": "integer" }, "isDowntimed": { + "description": "IsDowntimed shows the downtime status of the monitor.", "type": "boolean" } }, @@ -302,14 +306,14 @@ "format": "date-time", "type": "string" }, + "monitorStateSyncStatus": { + "description": "MonitorStateSyncStatus shows the health of syncing the monitor state to Datadog", + "type": "string" + }, "primary": { "description": "Primary defines whether the monitor is managed by the Kubernetes custom\nresource (true) or outside Kubernetes (false)", "type": "boolean" }, - "syncStatus": { - "description": "MonitorStateSyncStatus shows the health of syncing the monitor state to Datadog", - "type": "string" - }, "triggeredState": { "description": "TriggeredState only includes details for monitor groups that are triggering", "items": {