@gravity-rail/cli 0.33.1 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -1
- package/dist/gr.js +343 -62
- package/dist/gr.js.map +1 -1
- package/dist/lib.js +252 -46
- package/dist/lib.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -418,11 +418,33 @@ gr org domains verify-ownership --org-uuid $ORG_UUID --domain-uuid $DOMAIN_UUID
|
|
|
418
418
|
gr org domains email enable --org-uuid $ORG_UUID --domain-uuid $DOMAIN_UUID --allow-write
|
|
419
419
|
gr org domains email verify-mx --org-uuid $ORG_UUID --domain-uuid $DOMAIN_UUID --allow-write
|
|
420
420
|
|
|
421
|
-
# Site DNS: enable custom site routing, then verify
|
|
421
|
+
# Site DNS: check the CNAME resolves, enable custom site routing, then verify
|
|
422
|
+
gr org domains site preflight --org-uuid $ORG_UUID --domain-uuid $DOMAIN_UUID
|
|
422
423
|
gr org domains site enable --org-uuid $ORG_UUID --domain-uuid $DOMAIN_UUID --allow-write
|
|
423
424
|
gr org domains site verify-cname --org-uuid $ORG_UUID --domain-uuid $DOMAIN_UUID --allow-write
|
|
424
425
|
```
|
|
425
426
|
|
|
427
|
+
### Host many sites under one wildcard
|
|
428
|
+
|
|
429
|
+
```sh
|
|
430
|
+
# Enable a verified domain as a parent: publish *.<domain> first, then enable
|
|
431
|
+
gr org domains site preflight --org-uuid $ORG_UUID --domain-uuid $PARENT_UUID --child-hosting
|
|
432
|
+
gr org domains site enable --org-uuid $ORG_UUID --domain-uuid $PARENT_UUID --child-hosting --allow-write
|
|
433
|
+
|
|
434
|
+
# Add hosts one at a time; each reports its own result, and the command exits
|
|
435
|
+
# non-zero if any failed. New hosts verify on their own within minutes.
|
|
436
|
+
gr org domains site children add --org-uuid $ORG_UUID --domain-uuid $PARENT_UUID \
|
|
437
|
+
--label clinic-a --label clinic-b --allow-write
|
|
438
|
+
gr org domains site children add --org-uuid $ORG_UUID --domain-uuid $PARENT_UUID \
|
|
439
|
+
--labels-file labels.txt --allow-write
|
|
440
|
+
gr org domains site children list --org-uuid $ORG_UUID --domain-uuid $PARENT_UUID
|
|
441
|
+
|
|
442
|
+
# Remove hosts: certificate, routing and registration. --confirm also removes
|
|
443
|
+
# hosts that still route sites.
|
|
444
|
+
gr org domains site children remove --org-uuid $ORG_UUID --domain-uuid $PARENT_UUID \
|
|
445
|
+
--label clinic-a --allow-write
|
|
446
|
+
```
|
|
447
|
+
|
|
426
448
|
### Find members by label
|
|
427
449
|
|
|
428
450
|
```sh
|