@codiac.io/codiac-cli 1.3.259 → 1.3.260

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.259",
2
+ "version": "1.3.260",
3
3
  "commands": {
4
4
  "branch": {
5
5
  "id": "branch",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codiac.io/codiac-cli",
3
3
  "description": "Local command line interface for managing enterprise assets and environments.",
4
- "version": "1.3.259",
4
+ "version": "1.3.260",
5
5
  "author": "Codiac",
6
6
  "bin": {
7
7
  "codiac": "./bin/run",
@@ -150,7 +150,7 @@ A setting's `targetFile` says *what artifact it becomes*:
150
150
  |---|---|
151
151
  | `[helm]` | a Helm chart value (`.Values.<path>`) for a helm asset |
152
152
  | `[env]` | an OS environment variable on the container |
153
- | `[footprint]` | container resource footprint (cpu/mem requests/limits) |
153
+ | `[footprint]` | container CPU/memory footprint + replicas (key names below) |
154
154
  | `[label]` | a Kubernetes label |
155
155
  | `[annotation]` | a Kubernetes annotation |
156
156
  | `[filestore]` | a mounted file/volume value |
@@ -159,6 +159,12 @@ A setting's `targetFile` says *what artifact it becomes*:
159
159
  Choosing the wrong `targetFile` is a common error — e.g. putting a helm chart value under `[env]`
160
160
  (where Codiac builds Deployments for *service* assets) instead of `[helm]`.
161
161
 
162
+ **`[footprint]` key names.** The canonical keys are the *flat* `cpuRequest`, `cpuLimit`,
163
+ `memRequest`, `memLimit`, and `replicas` — this is what the interactive `cod config add -t footprint`
164
+ prompt offers. The k8s-native *nested* shape (`requests.cpu`, `requests.memory`, `limits.cpu`,
165
+ `limits.memory`) is also accepted and mapped onto the flat keys automatically, so either works.
166
+ Confirm with `cod config view -t footprint`, which shows the resolved doc.
167
+
162
168
  ### Literal value vs sourced reference
163
169
  A setting's value is either:
164
170
  - a **literal** `value` (stored directly), or