Skip to content

Commit 0cf4435

Browse files
authored
fix(agent-control-bootstrap): update doc example and bump toolkit image (#1999)
#### Is this a new chart No #### What this PR does / why we need it: Updates an outdated example in agent-control-bootstrap's README and bumps the toolkit image. #### Special notes for your reviewer: #### Checklist [Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.] - [x] Chart Version bumped - [ ] Variables are documented in the README.md - [ ] Title of the PR starts with chart name (e.g. `[mychartname]`) # Release Notes to Publish (nr-k8s-otel-collector) If this PR contains changes in `nr-k8s-otel-collector`, please complete the following section. All other charts should ignore this section. <!--BEGIN-RELEASE-NOTES--> ## 🚀 What's Changed * Tell the world about the latest changes in the chart. <!--END-RELEASE-NOTES-->
1 parent aea9e24 commit 0cf4435

File tree

4 files changed

+33
-31
lines changed

4 files changed

+33
-31
lines changed

charts/agent-control-bootstrap/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: agent-control-bootstrap
33
description: Bootstraps New Relic' Agent Control
44

55
type: application
6-
version: 1.0.6
6+
version: 1.0.7
77
# agent-control-deployment chart default version.
88
appVersion: 1.0.6
99
annotations:

charts/agent-control-bootstrap/README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,21 @@ $ kubectl create configmap dynamic-agent --from-file=dynamic-agent-type=./local/
5151

5252
Then you can mount such agentType leveraging extra volumes in the values.yaml
5353
```yaml
54-
agent-control-deployment:
55-
# [...]
56-
extraVolumeMounts:
57-
- name: dynamic
58-
mountPath: /etc/newrelic-agent-control/dynamic-agent-type.yaml
59-
subPath: dynamic-agent-type.yaml
60-
readOnly: true
61-
extraVolumes:
62-
- name: dynamic
63-
configMap:
64-
name: dynamic-agent
65-
items:
66-
- key: dynamic-agent-type
67-
path: dynamic-agent-type.yaml
54+
agentControlDeployment:
55+
chartValues:
56+
# [...]
57+
extraVolumeMounts:
58+
- name: dynamic
59+
mountPath: /etc/newrelic-agent-control/dynamic-agent-type.yaml
60+
subPath: dynamic-agent-type.yaml
61+
readOnly: true
62+
extraVolumes:
63+
- name: dynamic
64+
configMap:
65+
name: dynamic-agent
66+
items:
67+
- key: dynamic-agent-type
68+
path: dynamic-agent-type.yaml
6869
```
6970
7071
## Values
@@ -94,7 +95,7 @@ agent-control-deployment:
9495
| installation.extraVolumes | list | `[]` | Volumes to mount in the containers |
9596
| installation.log.level | string | debug | Log level for installation. |
9697
| nameOverride | string | `""` | Override the name of the chart |
97-
| toolkitImage | object | `{"pullPolicy":"IfNotPresent","pullSecrets":[],"registry":null,"repository":"newrelic/newrelic-agent-control-cli","tag":"0.48.0"}` | The image that contains the necessary tools to install and uninstall the Agent Control components. |
98+
| toolkitImage | object | `{"pullPolicy":"IfNotPresent","pullSecrets":[],"registry":null,"repository":"newrelic/newrelic-agent-control-cli","tag":"1.0.0"}` | The image that contains the necessary tools to install and uninstall the Agent Control components. |
9899
| toolkitImage.pullSecrets | list | `[]` | The secrets that are needed to pull images from a custom registry. |
99100
| uninstallation.log.level | string | debug | Log level for installation. |
100101

charts/agent-control-bootstrap/README.md.gotmpl

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,21 @@ $ kubectl create configmap dynamic-agent --from-file=dynamic-agent-type=./local/
5656

5757
Then you can mount such agentType leveraging extra volumes in the values.yaml
5858
```yaml
59-
agent-control-deployment:
60-
# [...]
61-
extraVolumeMounts:
62-
- name: dynamic
63-
mountPath: /etc/newrelic-agent-control/dynamic-agent-type.yaml
64-
subPath: dynamic-agent-type.yaml
65-
readOnly: true
66-
extraVolumes:
67-
- name: dynamic
68-
configMap:
69-
name: dynamic-agent
70-
items:
71-
- key: dynamic-agent-type
72-
path: dynamic-agent-type.yaml
59+
agentControlDeployment:
60+
chartValues:
61+
# [...]
62+
extraVolumeMounts:
63+
- name: dynamic
64+
mountPath: /etc/newrelic-agent-control/dynamic-agent-type.yaml
65+
subPath: dynamic-agent-type.yaml
66+
readOnly: true
67+
extraVolumes:
68+
- name: dynamic
69+
configMap:
70+
name: dynamic-agent
71+
items:
72+
- key: dynamic-agent-type
73+
path: dynamic-agent-type.yaml
7374
```
7475

7576
{{ template "chart.valuesSection" . }}

charts/agent-control-bootstrap/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fullnameOverride: ""
77
toolkitImage:
88
registry:
99
repository: newrelic/newrelic-agent-control-cli
10-
tag: "1.0.0"
10+
tag: "1.4.0"
1111
pullPolicy: IfNotPresent
1212
# -- The secrets that are needed to pull images from a custom registry.
1313
pullSecrets: []

0 commit comments

Comments
 (0)