Skip to content

Commit

Permalink
update extended daemonset chart for EDS v0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
adel121 committed Aug 29, 2023
1 parent 2ee3c11 commit b561d66
Show file tree
Hide file tree
Showing 14 changed files with 3,886 additions and 1,027 deletions.
4 changes: 4 additions & 0 deletions charts/extended-daemon-set/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.3.0

* Updated for EDS 0.8.0.

## 0.2.2

* Nothing
Expand Down
16 changes: 8 additions & 8 deletions charts/extended-daemon-set/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
apiVersion: v1
appVersion: v0.7.0
appVersion: v0.8.0
description: Extended Daemonset Controller
name: extendeddaemonset
version: v0.2.2
version: v0.3.0
keywords:
- monitoring
- alerting
- metric
- monitoring
- alerting
- metric
home: https://www.datadoghq.com
icon: https://datadog-live.imgix.net/img/dd_logo_70x75.png
sources:
- https://github.com/DataDog/extendeddaemonset
- https://github.com/DataDog/extendeddaemonset
maintainers:
- name: Datadog
email: [email protected]
- name: Datadog
email: [email protected]
4 changes: 2 additions & 2 deletions charts/extended-daemon-set/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Extended DaemonSet

![Version: v0.2.2](https://img.shields.io/badge/Version-v0.2.2-informational?style=flat-square) ![AppVersion: v0.7.0](https://img.shields.io/badge/AppVersion-v0.7.0-informational?style=flat-square)
![Version: v0.3.0](https://img.shields.io/badge/Version-v0.3.0-informational?style=flat-square) ![AppVersion: v0.8.0](https://img.shields.io/badge/AppVersion-v0.8.0-informational?style=flat-square)

This chart installs the Extended DaemonSet (EDS). It aims to provide a new implementation of the Kubernetes DaemonSet resource with key features:
- Canary Deployment: Deploy a new DaemonSet version with only a few nodes.
Expand All @@ -26,7 +26,7 @@ helm repo update
| fullnameOverride | string | `""` | Overrides the full qualified app name |
| image.pullPolicy | string | `"IfNotPresent"` | Defines the pullPolicy for the Extended DaemonSet image |
| image.repository | string | `"datadog/extendeddaemonset"` | Repository to use for the Extended DaemonSet image |
| image.tag | string | `"v0.7.0"` | Defines the Extended DaemonSet version to use |
| image.tag | string | `"v0.8.0"` | Defines the Extended DaemonSet version to use |
| imagePullSecrets | list | `[]` | Extended DaemonSet image repository pullSecret (ex: specify docker registry credentials) |
| installCRDs | bool | `true` | Set to true to deploy all the ExtendedDaemonSet CRDs (ExtendedDaemonSet, ExtendedDaemonSetReplicaSet, ExtendedDaemonSettings) |
| logLevel | string | `"info"` | Sets the log level (debug, info, error, panic, fatal) |
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{{- if and .Values.installCRDs (.Capabilities.APIVersions.Has "apiextensions.k8s.io/v1/CustomResourceDefinition") }}
{{- if and .Values.installCRDs (semverCompare ">=1.17.0" .Capabilities.KubeVersion.GitVersion ) }}

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
Expand Down Expand Up @@ -66,7 +68,7 @@ spec:
- 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
description: 'Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
description: 'Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
requests:
additionalProperties:
Expand All @@ -75,7 +77,7 @@ spec:
- 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
description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
type: object
required:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if and .Values.installCRDs (not (.Capabilities.APIVersions.Has "apiextensions.k8s.io/v1/CustomResourceDefinition")) }}
{{- if and .Values.installCRDs (or (not (.Capabilities.APIVersions.Has "apiextensions.k8s.io/v1/CustomResourceDefinition")) (semverCompare "<=1.16.0" .Capabilities.KubeVersion.GitVersion )) }}
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
Expand Down Expand Up @@ -65,15 +65,15 @@ spec:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
description: 'Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
description: 'Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
type: object
required:
Expand Down
4 changes: 2 additions & 2 deletions charts/extended-daemon-set/update-crds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ download_crd() {
echo "Download CRD \"$inFile\" version \"$version\" from repo \"$repo\" tag \"$tag\""
curl --silent --show-error --fail --location --output "$path" "https://raw.githubusercontent.com/$repo/$tag/config/crd/bases/$version/$inFile"

ifCondition="{{- if and .Values.installCRDs (not (.Capabilities.APIVersions.Has \"apiextensions.k8s.io/v1/CustomResourceDefinition\")) }}"
ifCondition="{{- if and .Values.installCRDs (or (not (.Capabilities.APIVersions.Has \"apiextensions.k8s.io/v1/CustomResourceDefinition\")) (semverCompare \"<=1.16.0\" .Capabilities.KubeVersion.GitVersion )) }}"
if [ "$version" = "v1" ]; then
ifCondition="{{- if and .Values.installCRDs (.Capabilities.APIVersions.Has \"apiextensions.k8s.io/v1/CustomResourceDefinition\") }}"
ifCondition="{{- if and .Values.installCRDs (semverCompare \">=1.17.0\" .Capabilities.KubeVersion.GitVersion ) }}"
cp "$path" "$ROOT/crds/datadoghq.com_$name.yaml"
fi

Expand Down
2 changes: 1 addition & 1 deletion charts/extended-daemon-set/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ image:
# image.repository -- Repository to use for the Extended DaemonSet image
repository: datadog/extendeddaemonset
# image.tag -- Defines the Extended DaemonSet version to use
tag: v0.7.0
tag: v0.8.0
# image.pullPolicy -- Defines the pullPolicy for the Extended DaemonSet image
pullPolicy: IfNotPresent
# imagePullSecrets -- Extended DaemonSet image repository pullSecret (ex: specify docker registry credentials)
Expand Down
Loading

0 comments on commit b561d66

Please sign in to comment.