-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
20,058 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*.zip | ||
*.tar.gz | ||
*.tgz | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
# Changelog | ||
|
||
## 1.3.0 | ||
* Update CRDs from Datadog Operator v1.3.0 tag. | ||
|
||
## 1.2.0 | ||
* Update CRDs from Datadog Operator v1.2.0 tag. | ||
|
||
## 1.1.0 | ||
* Update CRDs from Datadog Operator v1.1.0-rc.1 tag. | ||
|
||
## 1.0.1 | ||
|
||
* Update CRDs from Datadog Operator v1.0.3. | ||
|
||
## 1.0.0 | ||
|
||
* Default DatadogAgent stored version is `v2alpha1` to align with the GA of the Datadog Operator. | ||
|
||
## 0.6.1 | ||
|
||
* Add missing `nodeLabelsAsTags` and `namespaceLabelsAsTags` to the v2alpha1 spec. | ||
|
||
## 0.6.0 | ||
|
||
* Support Certificate Manager. | ||
* Document conversion webhook configuration. | ||
|
||
## 0.5.9 | ||
|
||
* Updating DatadogMonitors CRD and DatadogAgents CRDs. | ||
|
||
## 0.5.8 | ||
|
||
* Updating CRD of the Datadog Operator for Kubernetes cluster < 1.21.0. | ||
|
||
## 0.5.7 | ||
|
||
* Update CRD of DatadogAgent to have new fields for the cws feature. | ||
|
||
## 0.5.6 | ||
|
||
* Introduce option to store DatadogAgent v2alpha1 or v1alpha1. | ||
|
||
## 0.5.5 | ||
|
||
* Fix CI, by renaming `kubeval.yaml` to `kubeval-values.yaml` | ||
|
||
## 0.5.4 | ||
|
||
* Fix semver comparison for minor version corner case. | ||
* Update charts. | ||
|
||
## 0.5.3 | ||
|
||
* Fix the semver comparison so v1beta1 is used on 1.21. | ||
|
||
## 0.5.2 | ||
|
||
* Rely on the Kubernetes version to deploy the CRD v1 or v1beta1. | ||
|
||
## 0.5.1 | ||
|
||
* Remove `preserveUnknownFields` to maintain compatibility with Kubernetes versions <1.15. | ||
|
||
## 0.5.0 | ||
|
||
* Update CRDs from Datadog Operator v0.8.0. | ||
|
||
## 0.4.7 | ||
|
||
* Fix Capabilities.APIVersions check | ||
|
||
## 0.4.6 | ||
|
||
* Nothing | ||
|
||
## 0.4.5 | ||
|
||
* Reduce DatadogAgent CRD size by removing description. | ||
|
||
## 0.4.4 | ||
|
||
* Update CRDs from Datadog Operator v0.7.2. | ||
|
||
## 0.4.3 | ||
|
||
* Cleanup `update-crds.sh` script. | ||
|
||
## 0.4.2 | ||
|
||
* Fixed instructions to run the `update-crds.sh` script. | ||
|
||
## 0.4.1 | ||
|
||
* Cleanup `update-crds.sh` script. | ||
|
||
## 0.4.0 | ||
|
||
* Update CRDs from Datadog Operator v0.7.0. | ||
* Remove Extended Daemon Set CRDs from this chart. They will be direclty located in the ExtendedDaemonset chart. | ||
|
||
## 0.3.5 | ||
|
||
* Add CRDs from Extended Daemon Set v0.7.0. | ||
|
||
## 0.3.4 | ||
|
||
* Include only `v1beta1` CRDs from the EDS v0.6.0 tag. | ||
|
||
## 0.3.3 | ||
|
||
* Add CRDs from Extended Daemon Set v0.6.0 tag. | ||
|
||
## 0.3.2 | ||
|
||
* Set `apiVersion` to `v1` for compatibility with helm 2. | ||
|
||
## 0.3.1 | ||
|
||
* Fix typo in DatadogMetrics CRD | ||
|
||
## 0.3.0 | ||
|
||
* Update all the CRDs from operator v0.6.0 tag. | ||
|
||
## 0.2.0 | ||
|
||
* Update all the CRDs from operator v0.5.0 tag. | ||
|
||
## 0.1.1 | ||
|
||
* Move back `chart.yaml` `apiVersion` to `v1` for compatibily with helm2. | ||
|
||
## 0.1.0 | ||
|
||
* Initial version | ||
* Add `DatadogMetrics` and `DatadogAgents` CRDs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: v1 | ||
name: datadog-crds | ||
description: Datadog Kubernetes CRDs chart | ||
version: 1.3.0 | ||
appVersion: "1" | ||
keywords: | ||
- monitoring | ||
- alerting | ||
- metric | ||
home: https://www.datadoghq.com | ||
icon: https://datadog-live.imgix.net/img/dd_logo_70x75.png | ||
sources: | ||
- https://app.datadoghq.com/account/settings#agent/kubernetes | ||
- https://github.com/DataDog/datadog-operator | ||
- https://docs.datadoghq.com/agent/cluster_agent/external_metrics | ||
maintainers: | ||
- name: Datadog | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Datadog CRDs | ||
|
||
![Version: 1.3.0](https://img.shields.io/badge/Version-1.3.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`. | ||
|
||
## How to use Datadog Helm repository | ||
|
||
You need to add this repository to your Helm repositories: | ||
|
||
``` | ||
helm repo add datadog https://helm.datadoghq.com | ||
helm repo update | ||
``` | ||
|
||
## Prerequisites | ||
|
||
This chart can be used with Kubernetes `1.11+` or OpenShift `3.11+` since `CustomResourceDefinitions` are supported starting with these versions. | ||
But the recommended Kubernetes versions are `1.16+`. | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| crds.datadogAgents | bool | `false` | Set to true to deploy the DatadogAgents CRD | | ||
| crds.datadogMetrics | bool | `false` | Set to true to deploy the DatadogMetrics CRD | | ||
| crds.datadogMonitors | bool | `false` | Set to true to deploy the DatadogMonitors CRD | | ||
| crds.datadogSLOs | bool | `false` | Set to true to deploy the DatadogSLO CRD | | ||
| fullnameOverride | string | `""` | Override the fully qualified app name | | ||
| migration.datadogAgents.conversionWebhook.enabled | bool | `false` | | | ||
| migration.datadogAgents.conversionWebhook.name | string | `"datadog-operator-webhook-service"` | | | ||
| migration.datadogAgents.conversionWebhook.namespace | string | `"default"` | | | ||
| migration.datadogAgents.useCertManager | bool | `false` | | | ||
| migration.datadogAgents.version | string | `"v2alpha1"` | | | ||
| nameOverride | string | `""` | Override name of app | | ||
|
||
## Developers | ||
|
||
### How to update CRDs | ||
|
||
```shell | ||
./update-crds.sh <datadog-operator-tag> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Datadog CRDs | ||
|
||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }} | ||
|
||
This chart was designed to allow other "datadog" charts to share `CustomResourceDefinitions` such as the `DatadogMetric`. | ||
|
||
## How to use Datadog Helm repository | ||
|
||
You need to add this repository to your Helm repositories: | ||
|
||
``` | ||
helm repo add datadog https://helm.datadoghq.com | ||
helm repo update | ||
``` | ||
|
||
## Prerequisites | ||
|
||
This chart can be used with Kubernetes `1.11+` or OpenShift `3.11+` since `CustomResourceDefinitions` are supported starting with these versions. | ||
But the recommended Kubernetes versions are `1.16+`. | ||
|
||
{{ template "chart.valuesSection" . }} | ||
|
||
|
||
## Developers | ||
|
||
### How to update CRDs | ||
|
||
```shell | ||
./update-crds.sh <datadog-operator-tag> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
crds: | ||
datadogMetrics: true | ||
datadogAgents: true | ||
datadogMonitors: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Datadog CRD(s) installed: | ||
{{- if .Values.crds.datadogMetrics }} | ||
* DatadogMetric | ||
{{- end }} | ||
{{- if .Values.crds.datadogAgents }} | ||
* DatadogAgent | ||
{{- end }} | ||
{{- if .Values.crds.datadogMonitors }} | ||
* DatadogMonitor | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "datadog-crds.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "datadog-crds.fullname" -}} | ||
{{- if .Values.fullnameOverride }} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- $name := default .Chart.Name .Values.nameOverride }} | ||
{{- if contains $name .Release.Name }} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create chart name and version as used by the chart label. | ||
*/}} | ||
{{- define "datadog-crds.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} | ||
{{- end }} |
Oops, something went wrong.