Add toleration values to newrelic infra chart (#3887)

* allow daemonset tolerations to be set via values

* Add docs for toleration support

* values must be an empty array

* bump chart version as required

* rename values parameter to better align with other charts

* reformat text to display better in plain mode
This commit is contained in:
Jon Bardin
2018-02-28 10:54:48 -08:00
committed by k8s-ci-robot
parent 8822d58b5d
commit b458e05b38
4 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart to deploy the New Relic Infrastructure Agent as a DaemonSet
name: newrelic-infrastructure
version: 0.0.1
version: 0.0.2
appVersion: 0.0.12
home: https://hub.docker.com/r/newrelic/infrastructure/
source:
+10 -9
View File
@@ -6,15 +6,16 @@ This chart will deploy the New Relic Infrastructure agent as a Daemonset.
## Configuration
| Parameter | Description | Default |
| ------------------ | --------------------------------------------------- | -------------------------- |
| `config` | A `newrelic-infra.yml` file if you wish to provide. | ` ` |
| `image.name` | The container to pull. | `newrelic/infrastructure` |
| `image.pullPolicy` | The pull policy. | `IfNotPresent` |
| `image.tag` | The version of the container to pull. | `0.0.11` |
| `licenseKey` | The license key for your New Relic Account. | `` |
| `resources` | Any resources you wish to assign to the pod. | See Resources below |
| `verboseLog` | Should the agent log verbosely. (Boolean) | `false` |
| Parameter | Description | Default |
| ------------------ | ------------------------------------------------------------ | -------------------------- |
| `config` | A `newrelic-infra.yml` file if you wish to provide. | ` ` |
| `image.name` | The container to pull. | `newrelic/infrastructure` |
| `image.pullPolicy` | The pull policy. | `IfNotPresent` |
| `image.tag` | The version of the container to pull. | `0.0.11` |
| `licenseKey` | The license key for your New Relic Account. | `` |
| `resources` | Any resources you wish to assign to the pod. | See Resources below |
| `verboseLog` | Should the agent log verbosely. (Boolean) | `false` |
| `tolerations` | List of node taints to tolerate (requires Kubernetes >= 1.6) | `nil` |
## Resources
@@ -84,4 +84,8 @@ spec:
- key: newrelic-infra.yml
path: newrelic-infra.yml
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
{{- end }}
@@ -62,3 +62,5 @@ resources:
# service: login service
# team: alpha-team
#
tolerations: []