kampodra 0.8.2 → 0.8.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kampodra",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "Registry-free deployment CLI for single-VM container stacks over SSH (Podman + kamal-proxy)",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",
@@ -8,10 +8,10 @@
8
8
  "kampodra": "bin/kampodra.js"
9
9
  },
10
10
  "optionalDependencies": {
11
- "@talha7k/darwin-arm64": "0.8.2",
12
- "@talha7k/darwin-x64": "0.8.2",
13
- "@talha7k/linux-arm64": "0.8.2",
14
- "@talha7k/linux-x64": "0.8.2"
11
+ "@talha7k/darwin-arm64": "0.8.3",
12
+ "@talha7k/darwin-x64": "0.8.3",
13
+ "@talha7k/linux-arm64": "0.8.3",
14
+ "@talha7k/linux-x64": "0.8.3"
15
15
  },
16
16
  "engines": {
17
17
  "node": ">=20"
@@ -55,8 +55,12 @@ the first debugging stop. Every command supports `--help` (usage + examples).
55
55
  | `KAMPODRA_BUCKET` | The project ladder's canonical bucket override — beats the project config's `bucket` (only `--bucket` beats it) |
56
56
  | `KAMPODRA_MIGRATE_SCRIPT` | Repo-relative migrate script path override for `migrate` |
57
57
  | `KAMPODRA_REPO_ROOT` | Fallback VM repo checkout for `migrate` (`--repo-root` beats it) |
58
- | `OCI_PROFILE` | OCI config profile override when the profile's `cloud` block sets none (else native resolution) |
59
- | `OCI_COMPARTMENT` | REQUIRED by the oci legs of `dns`/`bluegreen`/`image-import` — no default; name or `ocid1.` ocid |
58
+ | `KAMPODRA_CLOUD_PROFILE` | OCI config profile override when the profile's `cloud` block sets none (else native resolution) |
59
+ | `KAMPODRA_CLOUD_COMPARTMENT` | REQUIRED by the oci legs of `dns`/`bluegreen`/`image-import` — no default; name or `ocid1.` ocid |
60
+ | `KAMPODRA_CLOUD_NAMESPACE` | OCI tenancy object-storage namespace override (`--namespace` flag > cloud block / this env > `oci os ns get`; ignored for gcp) |
61
+ | `OCI_PROFILE` **(deprecated)** | legacy alias of `KAMPODRA_CLOUD_PROFILE` — still read this release (one stderr notice per process); removed in a future release |
62
+ | `OCI_COMPARTMENT` **(deprecated)** | legacy alias of `KAMPODRA_CLOUD_COMPARTMENT` — same ladder, same notice; the new name wins when both are set |
63
+ | `OCI_NAMESPACE` **(deprecated)** | legacy alias of `KAMPODRA_CLOUD_NAMESPACE` — same ladder, same notice; the new name wins when both are set |
60
64
  | `MIGRATE_JOBS` | Fallback parallelism for `migrate` (else 4; accepted range 1–64) |
61
65
 
62
66
  Each `kampodra.json` field also has a `KAMPODRA_*` env override in the ladder:
@@ -377,7 +381,7 @@ flags unless the profile's `cloud` block overrides (oci:
377
381
  `profile`/`compartment`/`instancePrincipal`; gcp: `provider: "gcp"` +
378
382
  `project`/`account`, else gcloud's active config); never credential
379
383
  material. An OCI compartment is REQUIRED for oci only (block or
380
- `OCI_COMPARTMENT` env), no default (a plain name resolves through
384
+ `KAMPODRA_CLOUD_COMPARTMENT` env — deprecated: `OCI_COMPARTMENT`), no default (a plain name resolves through
381
385
  `iam compartment list`; an `ocid1.`
382
386
  value is used as-is); gcp scopes via the block's `project`. Zone
383
387
  resolution: `--zone` (ocid → name fetched; name →
@@ -531,8 +535,9 @@ staged object deleted unless kept; prints the image OCID.
531
535
  - **Cloud auth is provider-native**: `backup`/`dns` (multi-provider: oci |
532
536
  gcp) take no auth flags. The instance profile's `cloud` block (oci:
533
537
  `profile`/`compartment`/`instancePrincipal`; gcp: `provider: "gcp"` +
534
- `project`/`account`) overrides; `OCI_PROFILE`/`OCI_COMPARTMENT` env are
535
- the oci escape hatch; with neither set the provider CLI resolves its
538
+ `project`/`account`) overrides; `KAMPODRA_CLOUD_PROFILE`/`KAMPODRA_CLOUD_COMPARTMENT` env are
539
+ the oci escape hatch (the `OCI_*` names are deprecated aliases — read
540
+ this release only, one stderr notice per process); with neither set the provider CLI resolves its
536
541
  default itself. `bluegreen`/`image-import` are OCI-only today — a `gcp`
537
542
  profile fails closed naming the surface.
538
543
  `--profile` always means the kampodra INSTANCE profile.