Skip to content

Commit

Permalink
Update upstream specifications to their latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhoss authored Oct 11, 2024
1 parent f7bfe87 commit 216fa7f
Show file tree
Hide file tree
Showing 246 changed files with 10,428 additions and 4,445 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1"
kind: "CustomResourceDefinition"
metadata:
annotations:
controller-gen.kubebuilder.io/version: "v0.6.1"
controller-gen.kubebuilder.io/version: "v0.14.0"
name: "datadogmetrics.datadoghq.com"
spec:
group: "datadoghq.com"
Expand Down Expand Up @@ -35,10 +35,10 @@ spec:
description: "DatadogMetric allows autoscaling on arbitrary Datadog query"
properties:
apiVersion:
description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
type: "string"
kind:
description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
type: "string"
metadata:
type: "object"
Expand All @@ -49,7 +49,7 @@ spec:
description: "ExternalMetricName is reserved for internal use"
type: "string"
maxAge:
description: "MaxAge provides the max age for the metric query (overrides the default setting `external_metrics_provider.max_age`)"
description: "MaxAge provides the max age for the metric query (overrides the default setting\n`external_metrics_provider.max_age`)"
type: "string"
query:
description: "Query is the raw datadog query"
Expand Down Expand Up @@ -112,5 +112,3 @@ status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1"
kind: "CustomResourceDefinition"
metadata:
annotations:
controller-gen.kubebuilder.io/version: "v0.6.1"
controller-gen.kubebuilder.io/version: "v0.14.0"
name: "datadogmonitors.datadoghq.com"
spec:
group: "datadoghq.com"
Expand Down Expand Up @@ -39,10 +39,10 @@ spec:
description: "DatadogMonitor allows to define and manage Monitors from your Kubernetes Cluster"
properties:
apiVersion:
description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
type: "string"
kind:
description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
type: "string"
metadata:
type: "object"
Expand Down Expand Up @@ -72,7 +72,7 @@ spec:
description: "A message to include with a re-notification."
type: "string"
evaluationDelay:
description: "Time (in seconds) to delay evaluation, as a non-negative integer. For example, if the value is set to 300 (5min), the timeframe is set to last_5m and the time is 7:00, the monitor evaluates data from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor always has data during evaluation."
description: "Time (in seconds) to delay evaluation, as a non-negative integer. For example, if the value is set to 300 (5min),\nthe timeframe is set to last_5m and the time is 7:00, the monitor evaluates data from 6:50 to 6:55.\nThis is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor always has data during evaluation."
format: "int64"
type: "integer"
groupbySimpleMonitor:
Expand All @@ -82,14 +82,14 @@ spec:
description: "A Boolean indicating whether notifications from this monitor automatically inserts its triggering tags into the title."
type: "boolean"
locked:
description: "Whether or not the monitor is locked (only editable by creator and admins)."
description: "DEPRECATED: Whether or not the monitor is locked (only editable by creator and admins). Use `restricted_roles` instead."
type: "boolean"
newGroupDelay:
description: "Time (in seconds) to allow a host to boot and applications to fully start before starting the evaluation of monitor results. Should be a non negative integer."
description: "Time (in seconds) to allow a host to boot and applications to fully start before starting the evaluation of\nmonitor results. Should be a non negative integer."
format: "int64"
type: "integer"
noDataTimeframe:
description: "The number of minutes before a monitor notifies after data stops reporting. Datadog recommends at least 2x the monitor timeframe for metric alerts or 2 minutes for service checks. If omitted, 2x the evaluation timeframe is used for metric alerts, and 24 hours is used for service checks."
description: "The number of minutes before a monitor notifies after data stops reporting. Datadog recommends at least 2x the\nmonitor timeframe for metric alerts or 2 minutes for service checks. If omitted, 2x the evaluation timeframe\nis used for metric alerts, and 24 hours is used for service checks."
format: "int64"
type: "integer"
notificationPresetName:
Expand All @@ -99,26 +99,34 @@ spec:
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."
description: "A string indicating the granularity a monitor alerts on. Only available for monitors with groupings.\nFor instance, a monitor grouped by cluster, namespace, and pod can be configured to only notify on each new\ncluster violating the alert conditions by setting notify_by to [\"cluster\"]. Tags mentioned in notify_by must\nbe a subset of the grouping tags in the query. For example, a query grouped by cluster and namespace cannot\nnotify on region. Setting notify_by to [*] configures the monitor to notify as a simple-alert."
items:
type: "string"
type: "array"
x-kubernetes-list-type: "set"
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"
description: "An enum that controls how groups or monitors are treated if an evaluation does not return data points.\nThe default option results in different behavior depending on the monitor query type.\nFor monitors using Count queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions.\nFor monitors using any query type other than Count, for example Gauge, Measure, or Rate, the monitor shows the last known status.\nThis 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’s not resolved."
description: "The number of minutes after the last notification before a monitor re-notifies on the current status.\nIt only re-notifies if it’s 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"
renotifyStatuses:
description: "The types of statuses for which re-notification messages should be sent. Valid values are alert, warn, no data."
items:
description: "MonitorRenotifyStatusType The different statuses for which renotification is supported."
type: "string"
type: "array"
x-kubernetes-list-type: "set"
requireFullWindow:
description: "A Boolean indicating whether this monitor needs a full window of data before it’s evaluated. We highly recommend you set this to false for sparse metrics, otherwise some evaluations are skipped. Default is false."
description: "A Boolean indicating whether this monitor needs a full window of data before it’s evaluated. We highly\nrecommend you set this to false for sparse metrics, otherwise some evaluations are skipped. Default is false."
type: "boolean"
thresholdWindows:
description: "A struct of the alerting time window options."
Expand Down Expand Up @@ -165,7 +173,7 @@ spec:
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)."
description: "RestrictedRoles is a list of unique role identifiers to define which roles are allowed to edit the monitor.\n`restricted_roles` is the successor of `locked`. For more information about `locked` and `restricted_roles`,\nsee the [monitor options docs](https://docs.datadoghq.com/monitors/guide/monitor_api_options/#permissions-options)."
items:
type: "string"
type: "array"
Expand Down Expand Up @@ -224,14 +232,16 @@ spec:
description: "Creator is the identify of the monitor creator"
type: "string"
currentHash:
description: "CurrentHash tracks the hash of the current DatadogMonitorSpec to know if the Spec has changed and needs an update"
description: "CurrentHash tracks the hash of the current DatadogMonitorSpec to know\nif the Spec has changed and needs an update"
type: "string"
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"
type: "object"
id:
Expand All @@ -252,16 +262,16 @@ spec:
description: "MonitorStateLastUpdateTime is the last time the monitor state updated"
format: "date-time"
type: "string"
primary:
description: "Primary defines whether the monitor is managed by the Kubernetes custom resource (true) or outside Kubernetes (false)"
type: "boolean"
syncStatus:
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"
triggeredState:
description: "TriggeredState only includes details for monitor groups that are triggering"
items:
description: "DatadogMonitorTriggeredState represents the details of a triggering DatadogMonitor The DatadogMonitor is triggering if one of its groups is in Alert, Warn, or No Data"
description: "DatadogMonitorTriggeredState represents the details of a triggering DatadogMonitor\nThe DatadogMonitor is triggering if one of its groups is in Alert, Warn, or No Data"
properties:
lastTransitionTime:
format: "date-time"
Expand Down Expand Up @@ -289,5 +299,3 @@ status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Loading

0 comments on commit 216fa7f

Please sign in to comment.