@@ -38,13 +38,13 @@ A list of principals that can manage the canister. Controllers can install code,
3838Controllers are managed through the CLI rather than ` icp.yaml ` :
3939
4040``` bash
41- {/ * Add a controller * /}
41+ # Add a controller
4242icp canister settings update backend --add-controller PRINCIPAL
4343
44- {/ * Remove a controller * /}
44+ # Remove a controller
4545icp canister settings update backend --remove-controller PRINCIPAL
4646
47- {/ * Replace the entire controller list * /}
47+ # Replace the entire controller list
4848icp canister settings update backend --set-controller PRINCIPAL_1 --set-controller PRINCIPAL_2
4949```
5050
@@ -179,15 +179,15 @@ Controls who can fetch canister logs through the `fetch_canister_logs` managemen
179179| icp.yaml key | `log_visibility` |
180180
181181` ` ` yaml
182- {/* Only controllers */}
182+ # Only controllers
183183settings:
184184 log_visibility: controllers
185185
186- {/* Anyone */}
186+ # Anyone
187187settings:
188188 log_visibility: public
189189
190- {/* Specific principals */}
190+ # Specific principals
191191settings:
192192 log_visibility:
193193 allowed_viewers:
@@ -284,19 +284,19 @@ Environment-level settings merge with and override canister-level settings. In t
284284Update individual settings directly without editing `icp.yaml` :
285285
286286` ` ` bash
287- {/* Compute allocation */}
287+ # Compute allocation
288288icp canister settings update backend --compute-allocation 10
289289
290- {/* Freezing threshold */}
290+ # Freezing threshold
291291icp canister settings update backend --freezing-threshold 90d
292292
293- {/* Wasm memory limit */}
293+ # Wasm memory limit
294294icp canister settings update backend --wasm-memory-limit 3gib
295295
296- {/* Log visibility */}
296+ # Log visibility
297297icp canister settings update backend --log-visibility public
298298
299- {/* Multiple settings at once */}
299+ # Multiple settings at once
300300icp canister settings update backend \
301301 --compute-allocation 10 \
302302 --freezing-threshold 90d \
@@ -408,7 +408,7 @@ How you configure controllers depends on the trust model for your canister:
408408
409409# # Next steps
410410
411- - [Canister lifecycle](lifecycle.mdx ) -- Create, deploy, upgrade, stop, and delete canisters.
411+ - [Canister lifecycle](lifecycle.md ) -- Create, deploy, upgrade, stop, and delete canisters.
412412- [Cycles management](cycles-management.md) -- Monitor and top up cycle balances.
413413- [Cycles costs reference](../../reference/cycles-costs.md) -- Pricing for compute and memory allocation.
414414- [Management canister reference](../../reference/management-canister.md) -- Full interface specification.
0 commit comments