Skip to content

Commit

Permalink
Merge branch 'main' into fanny/CECO-509/e2e-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed Feb 16, 2024
2 parents 76972ab + f67c31f commit 2bc2778
Show file tree
Hide file tree
Showing 21 changed files with 249 additions and 23 deletions.
3 changes: 3 additions & 0 deletions charts/datadog-crds/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 1.4.0
* Update CRDs from Datadog Operator v1.4.0 tag.

## 1.3.1
* Migrate from `kubeval` to `kubeconform` for ci chart validation.

Expand Down
2 changes: 1 addition & 1 deletion charts/datadog-crds/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: datadog-crds
description: Datadog Kubernetes CRDs chart
version: 1.3.1
version: 1.4.0
appVersion: "1"
keywords:
- monitoring
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog-crds/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Datadog CRDs

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

This chart was designed to allow other "datadog" charts to share `CustomResourceDefinitions` such as the `DatadogMetric`.

Expand Down
42 changes: 42 additions & 0 deletions charts/datadog-crds/templates/datadoghq.com_datadogagents_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6351,6 +6351,8 @@ spec:
type: object
clusterName:
type: string
containerStrategy:
type: string
credentials:
properties:
apiKey:
Expand Down Expand Up @@ -6378,6 +6380,8 @@ spec:
type: object
criSocketPath:
type: string
disableNonResourceRules:
type: boolean
dockerSocketPath:
type: string
endpoint:
Expand Down Expand Up @@ -8277,6 +8281,44 @@ spec:
- ready
- upToDate
type: object
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
type: array
x-kubernetes-list-type: atomic
clusterAgent:
properties:
availableReplicas:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6340,6 +6340,8 @@ spec:
type: object
clusterName:
type: string
containerStrategy:
type: string
credentials:
properties:
apiKey:
Expand Down Expand Up @@ -6367,6 +6369,8 @@ spec:
type: object
criSocketPath:
type: string
disableNonResourceRules:
type: boolean
dockerSocketPath:
type: string
endpoint:
Expand Down Expand Up @@ -8266,6 +8270,44 @@ spec:
- ready
- upToDate
type: object
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
type: array
x-kubernetes-list-type: atomic
clusterAgent:
properties:
availableReplicas:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ spec:
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.
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ spec:
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.
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
Expand Down
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.0

* Update Datadog Operator version to 1.4.0.

## 1.4.2

* Migrate from `kubeval` to `kubeconform` for ci chart validation.
Expand Down
6 changes: 3 additions & 3 deletions charts/datadog-operator/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: datadog-crds
repository: https://helm.datadoghq.com
version: 1.3.0
digest: sha256:c0d897e7b5648db215c1c051fed5a3d431fadb1d92784ed0eb5b0f0f6574821e
generated: "2023-12-11T14:56:49.631017-05:00"
version: 1.4.0
digest: sha256:051b894b6d03a9a78919a1549b891592cb1aa82e59386c237b93241bdba7054c
generated: "2024-02-15T15:04:10.736131-05:00"
6 changes: 3 additions & 3 deletions charts/datadog-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: datadog-operator
version: 1.4.2
appVersion: 1.3.0
version: 1.5.0
appVersion: 1.4.0
description: Datadog Operator
keywords:
- monitoring
Expand All @@ -17,7 +17,7 @@ maintainers:
email: support@datadoghq.com
dependencies:
- name: datadog-crds
version: "=1.3.0"
version: "=1.4.0"
alias: datadogCRDs
repository: https://helm.datadoghq.com
condition: installCRDs
Expand Down
6 changes: 3 additions & 3 deletions charts/datadog-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Datadog Operator

![Version: 1.4.2](https://img.shields.io/badge/Version-1.4.2-informational?style=flat-square) ![AppVersion: 1.3.0](https://img.shields.io/badge/AppVersion-1.3.0-informational?style=flat-square)
![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)

## Values

Expand Down Expand Up @@ -30,7 +30,7 @@
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | Define the pullPolicy for Datadog Operator image |
| image.repository | string | `"gcr.io/datadoghq/operator"` | Repository to use for Datadog Operator image |
| image.tag | string | `"1.3.0"` | Define the Datadog Operator version to use |
| 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 |
| logLevel | string | `"info"` | Set Datadog Operator log level (debug, info, error, panic, fatal) |
Expand Down Expand Up @@ -120,7 +120,7 @@ You can update with the following:
```
helm upgrade \
datadog-operator datadog/datadog-operator \
--set image.tag=1.3.0 \
--set image.tag=1.4.0 \
--set datadogCRDs.migration.datadogAgents.version=v2alpha1 \
--set datadogCRDs.migration.datadogAgents.useCertManager=true \
--set datadogCRDs.migration.datadogAgents.conversionWebhook.enabled=true
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog-operator/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ You can update with the following:
```
helm upgrade \
datadog-operator datadog/datadog-operator \
--set image.tag=1.3.0 \
--set image.tag=1.4.0 \
--set datadogCRDs.migration.datadogAgents.version=v2alpha1 \
--set datadogCRDs.migration.datadogAgents.useCertManager=true \
--set datadogCRDs.migration.datadogAgents.conversionWebhook.enabled=true
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ image:
# image.repository -- Repository to use for Datadog Operator image
repository: gcr.io/datadoghq/operator
# image.tag -- Define the Datadog Operator version to use
tag: 1.3.0
tag: 1.4.0
# image.pullPolicy -- Define the pullPolicy for Datadog Operator image
pullPolicy: IfNotPresent
# imagePullSecrets -- Datadog Operator repository pullSecret (ex: specify docker registry credentials)
Expand Down
42 changes: 42 additions & 0 deletions crds/datadoghq.com_datadogagents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6325,6 +6325,8 @@ spec:
type: object
clusterName:
type: string
containerStrategy:
type: string
credentials:
properties:
apiKey:
Expand Down Expand Up @@ -6352,6 +6354,8 @@ spec:
type: object
criSocketPath:
type: string
disableNonResourceRules:
type: boolean
dockerSocketPath:
type: string
endpoint:
Expand Down Expand Up @@ -8251,6 +8255,44 @@ spec:
- ready
- upToDate
type: object
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
type: array
x-kubernetes-list-type: atomic
clusterAgent:
properties:
availableReplicas:
Expand Down
3 changes: 3 additions & 0 deletions crds/datadoghq.com_datadogmonitors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ spec:
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.
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
Expand Down
44 changes: 43 additions & 1 deletion test/datadog-operator/baseline/DatadogAgent_CRD_default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
creationTimestamp: null
name: datadogagents.datadoghq.com
labels:
helm.sh/chart: 'datadogCRDs-1.3.0'
helm.sh/chart: 'datadogCRDs-1.4.0'
app.kubernetes.io/managed-by: 'Helm'
app.kubernetes.io/name: 'datadogCRDs'
app.kubernetes.io/instance: 'datadog-operator'
Expand Down Expand Up @@ -6330,6 +6330,8 @@ spec:
type: object
clusterName:
type: string
containerStrategy:
type: string
credentials:
properties:
apiKey:
Expand Down Expand Up @@ -6357,6 +6359,8 @@ spec:
type: object
criSocketPath:
type: string
disableNonResourceRules:
type: boolean
dockerSocketPath:
type: string
endpoint:
Expand Down Expand Up @@ -8256,6 +8260,44 @@ spec:
- ready
- upToDate
type: object
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
type: array
x-kubernetes-list-type: atomic
clusterAgent:
properties:
availableReplicas:
Expand Down
Loading

0 comments on commit 2bc2778

Please sign in to comment.