You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `dynatrace-bootstrapper` is a small CLI binary built into a [Dynatrace CodeModule](https://gallery.ecr.aws/dynatrace/dynatrace-codemodules) (after version `<to-be-determined-codemodule-version>`) so that it can be used in conjunction with the [dynatrace-operator](https://github.com/Dynatrace/dynatrace-operator) to optimize the download and configuration of a CodeModule in Kubernetes.
4
+
5
+
## Responsibilities
6
+
7
+
- Copy a Dynatrace CodeModule to a target directory
8
+
- Configure the Dynatrace CodeModule according to the configuration options provided
9
+
10
+
## How to use
11
+
12
+
### Args
13
+
14
+
#### `--source`
15
+
16
+
*Example*: `--source="/opt/dynatrace/oneagent"`
17
+
18
+
- ⚠️This is a **required** arg⚠️
19
+
- The `--source` arg defines the base path where to copy the CodeModule FROM.
20
+
21
+
#### `--target`
22
+
23
+
*Example*: `--target="example/bins/1.2.3"`
24
+
25
+
- ⚠️This is a **required** arg⚠️
26
+
- The `--target` arg defines the base path where to copy the CodeModule TO.
27
+
28
+
#### `--work`
29
+
30
+
*Example*: `--work="/example/work"`
31
+
32
+
- This is an **optional** arg
33
+
- The `--work` arg defines the base path for a tmp folder, this is where the command will do its work, to make sure the operations are atomic. It must be on the same disk as the target folder.
0 commit comments