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
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ A project to develop a solution to update automatically the Prisma Cloud Daemons
4
4
5
5
**Note: Fork or clone this project in your own environment to start the lab.**
6
6
7
-
In this repo it's assumed that you have any earlier version of Prisma Cloud Defender (Daemonset) deployed in your K8S Cluster.
7
+
In this repo it's assumed that you have any earlier version of Prisma Cloud Defender (Daemonset) deployed in your K8S Cluster. In this use case we use _'twistlock'_ namespace like in defender YAML template (by default).
8
8
9
9
## Solution Architecture
10
10
@@ -59,11 +59,13 @@ Note: If you want you can use the pre-builded docker image located in DockerHub
59
59
60
60
3. Create the ConfigMap resource, this contains data script to execute by the Cronjob.
61
61
62
-
- Open `./DefenderUpdater.sh` file and set the variables DAEMONSET_NAME & CONTAINER_NAME with your values, copy all content file.
62
+
- Open `./DefenderUpdater.sh` file and set the variables DAEMONSET_NAME & CONTAINER_NAME with your values (first command below), copy all content file.
63
63
- Replace ConfigMap data section with the content copied above, adjust the format.
64
64
- To avoid error give execution permissions to `./DefenderUpdater.sh` script file.
65
65
66
66
```
67
+
# Find defender resources created in twistlock namespace:
68
+
kubectl get all -n twistlock
67
69
# Give execution permissions:
68
70
sudo chmod +x DefenderUpdater.sh
69
71
# Create ConfigMap from yaml template:
@@ -111,7 +113,7 @@ Note: If you want you can use the pre-builded docker image located in DockerHub
111
113
8. To view defender daemonset annotations & events. Take into account that daemonset has **'kubernetes.io/change-cause'** annotation with time of execution.
0 commit comments