Skip to content

Commit 7356713

Browse files
committed
docs: format commands to multi-line to make it easier to read
1 parent 7e562a5 commit 7356713

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ kubectl create namespace tarian-system
4949
2. Prepare a Postgresql Database. You can use a DB as a service from your Cloud Services or you can also run by yourself in the cluster. For example to install the DB in the cluster, run:
5050

5151
```bash
52-
helm install tarian-postgresql bitnami/postgresql -n tarian-system --set postgresqlUsername=postgres --set postgresqlPassword=tarian --set postgresqlDatabase=tarian
52+
helm install tarian-postgresql bitnami/postgresql -n tarian-system \
53+
--set postgresqlUsername=postgres \
54+
--set postgresqlPassword=tarian \
55+
--set postgresqlDatabase=tarian
5356
```
5457

5558
3. Install tarian
@@ -107,7 +110,9 @@ tarianctl get events
107110
### Add a process constraint
108111

109112
```bash
110-
tarianctl add constraint --name nginx --namespace default --match-labels run=nginx --allowed-processes=pause,tarian-pod-agent,nginx
113+
tarianctl add constraint --name nginx --namespace default \
114+
--match-labels run=nginx \
115+
--allowed-processes=pause,tarian-pod-agent,nginx
111116
```
112117

113118
```bash
@@ -117,7 +122,9 @@ tarianctl get constraints
117122
### Add a file constraint
118123

119124
```bash
120-
tarianctl add constraint --name nginx-files --namespace default --match-labels run=nginx --allowed-file-sha256sums=/usr/share/nginx/html/index.html=38ffd4972ae513a0c79a8be4573403edcd709f0f572105362b08ff50cf6de521
125+
tarianctl add constraint --name nginx-files --namespace default \
126+
--match-labels run=nginx \
127+
--allowed-file-sha256sums=/usr/share/nginx/html/index.html=38ffd4972ae513a0c79a8be4573403edcd709f0f572105362b08ff50cf6de521
121128
```
122129

123130
```bash

0 commit comments

Comments
 (0)