mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Allow the agent configuration.yaml to be configurable via values.yaml in addition to editing the configmap. (#15215)
Signed-off-by: Dahlia Bock <dlbock@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
48fe4c3660
commit
9d523eb0bb
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: instana-agent
|
||||
version: 1.0.10
|
||||
version: 1.0.11
|
||||
appVersion: 1.0
|
||||
description: Instana Agent for Kubernetes
|
||||
home: https://www.instana.com/
|
||||
|
||||
@@ -117,10 +117,16 @@ The following table lists the configurable parameters of the Instana chart and t
|
||||
| `agent.pod.requests.cpu` | Container cpu requests in cpu cores | `0.5` |
|
||||
| `agent.pod.limits.memory` | Container memory limits in MiB | `512` |
|
||||
| `agent.pod.limits.cpu` | Container cpu limits in cpu cores | `1.5` |
|
||||
| `agent.configuration_yaml` | Custom content for the agent configuration.yaml file | `nil` See [below](#agent) for more details |
|
||||
| `rbac.create` | Whether RBAC resources should be created | `true` |
|
||||
| `serviceAccount.create` | Whether a ServiceAccount should be created | `true` |
|
||||
| `serviceAccount.name` | Name of the ServiceAccount to use | `instana-agent` |
|
||||
|
||||
### Agent
|
||||
|
||||
There is a [config map](templates/configmap.yaml) which you can edit to configure the agent. This configuration will be used for all instana agents on all nodes.
|
||||
To configure the agent, you can either:
|
||||
|
||||
- edit the [config map](templates/configmap.yaml), or
|
||||
- provide the configuration via the `agent.configuration_yaml` parameter in [values.yaml](values.yaml)
|
||||
|
||||
This configuration will be used for all instana agents on all nodes. Visit the [agent configuration documentation](https://docs.instana.io/quick_start/agent_configuration/#configuration) for more details on configuration options.
|
||||
|
||||
@@ -38,3 +38,6 @@ data:
|
||||
#com.instana.plugin.generic.hardware:
|
||||
# enabled: true # disabled by default
|
||||
# availability-zone: 'zone'
|
||||
{{- if .Values.agent.configuration_yaml -}}
|
||||
{{ .Values.agent.configuration_yaml | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -62,6 +62,9 @@ agent:
|
||||
# agent.proxyUseDNS sets the INSTANA_AGENT_PROXY_USE_DNS environment variable.
|
||||
# proxyUseDNS: null
|
||||
|
||||
configuration_yaml: |
|
||||
# Place agent configuration here
|
||||
|
||||
rbac:
|
||||
# Specifies whether RBAC resources should be created
|
||||
create: true
|
||||
|
||||
Reference in New Issue
Block a user