Skip to content

Commit

Permalink
Add 'datadog-crds' chart as dependency in datadog-operator (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
clamoriniere authored Nov 16, 2020
1 parent 596d07f commit 3342ac8
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 4 deletions.
6 changes: 6 additions & 0 deletions charts/datadog-operator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Changelog

## 0.2.1

* Add "datadog-crds" chart as dependency. It is used to install the datadog's CRDs.

## 0.2.0

* Use `gcr.io` instead of Dockerhub
Expand Down
6 changes: 6 additions & 0 deletions charts/datadog-operator/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: datadog-crds
repository: https://helm.datadoghq.com
version: 0.1.1
digest: sha256:e21fd98042d1108d1565c6f92fa56a2366d2a80994a159ba48fea4fc2450e2dd
generated: "2020-11-16T16:45:19.150951+01:00"
2 changes: 1 addition & 1 deletion charts/datadog-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: datadog-operator
version: 0.2.0
version: 0.2.1
appVersion: 0.3.1
description: Datadog Operator
keywords:
Expand Down
5 changes: 4 additions & 1 deletion charts/datadog-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
# Datadog Operator

![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![AppVersion: 0.3.1](https://img.shields.io/badge/AppVersion-0.3.1-informational?style=flat-square)
![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![AppVersion: 0.3.1](https://img.shields.io/badge/AppVersion-0.3.1-informational?style=flat-square)

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | Allows to specify affinity for Datadog Operator PODs |
| datadog-crds.crds.datadogAgents | bool | `true` | Set to true to deploy the DatadogAgents CRD |
| datadog-crds.crds.datadogMetrics | bool | `true` | Set to true to deploy the DatadogMetrics CRD |
| 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 | `"0.3.1"` | 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) |
| metricsPort | int | `8383` | Port used for OpenMetrics endpoint |
| nameOverride | string | `""` | Override name of app |
Expand Down

This file was deleted.

This file was deleted.

7 changes: 7 additions & 0 deletions charts/datadog-operator/requirements.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dependencies:
- name: datadog-crds
version: "=0.1.1"
repository: https://helm.datadoghq.com
condition: installCRDs
tags:
- install-crds
11 changes: 11 additions & 0 deletions charts/datadog-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,14 @@ nodeSelector: {}
tolerations: []
# affinity -- Allows to specify affinity for Datadog Operator PODs
affinity: {}


# installCRDs -- Set to true to deploy the Datadog's CRDs
installCRDs: true

datadog-crds:
crds:
# datadog-crds.crds.datadogAgents -- Set to true to deploy the DatadogAgents CRD
datadogAgents: true
# datadog-crds.crds.datadogMetrics -- Set to true to deploy the DatadogMetrics CRD
datadogMetrics: true

0 comments on commit 3342ac8

Please sign in to comment.