Skip to content

Commit ae4a4e1

Browse files
Documentation errors fixed
1 parent 14b5689 commit ae4a4e1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A project to develop a solution to update automatically the Prisma Cloud Daemons
44

55
**Note: Fork or clone this project in your own environment to start the lab.**
66

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).
88

99
## Solution Architecture
1010

@@ -59,11 +59,13 @@ Note: If you want you can use the pre-builded docker image located in DockerHub
5959

6060
3. Create the ConfigMap resource, this contains data script to execute by the Cronjob.
6161

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.
6363
- Replace ConfigMap data section with the content copied above, adjust the format.
6464
- To avoid error give execution permissions to `./DefenderUpdater.sh` script file.
6565

6666
```
67+
# Find defender resources created in twistlock namespace:
68+
kubectl get all -n twistlock
6769
# Give execution permissions:
6870
sudo chmod +x DefenderUpdater.sh
6971
# Create ConfigMap from yaml template:
@@ -111,7 +113,7 @@ Note: If you want you can use the pre-builded docker image located in DockerHub
111113
8. To view defender daemonset annotations & events. Take into account that daemonset has **'kubernetes.io/change-cause'** annotation with time of execution.
112114

113115
```
114-
kubectl describe daemonset defender-updater -n twistlock
116+
kubectl describe daemonset twistlock-defender-ds -n twistlock
115117
```
116118

117119
### ¡Be careful if you change resources names & content of scripts!

0 commit comments

Comments
 (0)