koigrid 0.27.0 → 0.28.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/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to the koigrid CLI are documented here. Format: [Keep a Chan
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.28.0] — 2026-12-02
8
+
9
+ ### Added
10
+
11
+ - `--registry-aws-region <r> --registry-aws-role <arn>` on `koigrid apps deploy|registry` and `koigrid jobs create|update`:
12
+ pull a private ECR image without storing AWS keys. koigrid assumes that IAM role with the OIDC token of the app or job
13
+ (turn it on with `koigrid apps oidc <id> on` / `koigrid jobs oidc <id> on`) and mints a fresh ECR token on every deploy or run.
14
+
7
15
  ## [0.27.0] — 2026-12-02
8
16
 
9
17
  ### Added
@@ -5,13 +5,16 @@ export function credencialRegistryDeFlags(a) {
5
5
  const registryAwsRegion = a.flags['registry-aws-region'];
6
6
  const registryAwsAccessKeyId = a.flags['registry-aws-key'];
7
7
  const registryAwsSecretKey = a.flags['registry-aws-secret'];
8
+ const registryAwsRoleArn = a.flags['registry-aws-role'];
9
+ if (registry && registryAwsRegion && registryAwsRoleArn && !registryAwsAccessKeyId && !registryAwsSecretKey)
10
+ return { registry, registryAwsRegion, registryAwsRoleArn };
8
11
  if (registry && registryUsername && registryPassword)
9
12
  return { registry, registryUsername, registryPassword };
10
13
  if (registry && registryAwsRegion && registryAwsAccessKeyId && registryAwsSecretKey)
11
14
  return { registry, registryAwsRegion, registryAwsAccessKeyId, registryAwsSecretKey };
12
- if (registry || registryUsername || registryPassword || registryAwsRegion || registryAwsAccessKeyId || registryAwsSecretKey) {
13
- throw new Error('incomplete registry credentials: --registry with (--registry-user + --registry-password) or (--registry-aws-region + --registry-aws-key + --registry-aws-secret)');
15
+ if (registry || registryUsername || registryPassword || registryAwsRegion || registryAwsAccessKeyId || registryAwsSecretKey || registryAwsRoleArn) {
16
+ throw new Error('incomplete registry credentials: --registry with (--registry-user + --registry-password), (--registry-aws-region + --registry-aws-key + --registry-aws-secret) or (--registry-aws-region + --registry-aws-role)');
14
17
  }
15
18
  return {};
16
19
  }
17
- export const AYUDA_REGISTRY = '[--registry <host> (--registry-user <u> --registry-password <p> | --registry-aws-region <r> --registry-aws-key <k> --registry-aws-secret <s>)]';
20
+ export const AYUDA_REGISTRY = '[--registry <host> (--registry-user <u> --registry-password <p> | --registry-aws-region <r> --registry-aws-key <k> --registry-aws-secret <s> | --registry-aws-region <r> --registry-aws-role <arn>)]';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koigrid",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "description": "koigrid CLI — deploy apps, databases, redis, storage and more from your terminal (or your AI agent).",
5
5
  "bin": {
6
6
  "koigrid": "dist/index.js"