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
Once auth token is available, you can set the env var as DRD_CLOUD_API_TOKEN=<API_TOKEN>
50
-
51
-
3. Install via Docker-Compose: To run via docker-compose you will have to clone the github project locally and run this:
43
+
### Docker Compose
44
+
1. Create credentials/secret.yaml file with integration credentials. Secret format for different connections can be referenced from [credentials/credentials_template.yaml.](https://github.com/DrDroidLab/drd-vpc-agent/blob/main/credentials/credentials_template.yaml)
52
45
46
+
Command:
53
47
```shell
54
-
DRD_CLOUD_API_TOKEN=<API_TOKEN> docker-compose -f agent.docker-compose.yaml up
48
+
./deploy_docker.sh <API_TOKEN>
55
49
```
56
-
57
-
4. Install via Helm Charts
58
-
Pre configuration steps:
59
-
a. Copy and paste the token generated in step 2 in the values.yaml file under var : 'DRD_CLOUD_API_TOKEN'
60
-
Ensure the values are updated in:
61
-
62
-
i. helm/charts/celery_beat/values.yaml
63
-
<imgwidth="939"alt="Screenshot 2024-12-20 at 14 03 25"src="https://github.com/user-attachments/assets/0d76245f-ac43-4bfc-a986-54300c826225" />
50
+
For any update the agent, re-run the command.
64
51
65
52
66
-
67
-
ii. helm/charts/celery_worker/values.yaml
68
-
<imgwidth="939"alt="Screenshot 2024-12-20 at 14 03 25"src="https://github.com/user-attachments/assets/0d76245f-ac43-4bfc-a986-54300c826225" />
69
-
70
-
b. The secrets for the integrations to be installed are to be added in helm/configmap.yaml file.
53
+
### Helm
54
+
1. Add the secrets for the integrations in helm/configmap.yaml file.
71
55
Refer to the image below for a sample:
72
56
<imgwidth="934"alt="Screenshot 2024-12-20 at 14 02 43"src="https://github.com/user-attachments/assets/cadb2b0a-db0c-4128-bef7-fe2a6288b79b" />
73
57
58
+
Command:
74
59
```shell
75
60
cd helm
76
-
kubectl create namespace drdroid
77
-
kubectl apply -f configmap.yaml -n drdroid
78
-
helm upgrade --install drd-vpc-agent . -n drdroid
61
+
./deploy_helm.sh <API_TOKEN>
79
62
```
80
63
81
-
In case you are looking to create access for running kubectl commands on this cluster from Doctor Droid platform, run
0 commit comments