From 0e4ecc360211361ccbdb51c0cda3ead166aa3c95 Mon Sep 17 00:00:00 2001 From: "A. F. Dudley" Date: Wed, 18 Mar 2026 21:38:31 +0000 Subject: [PATCH] refactor: rename registry-credentials to image-pull-secret in spec MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The spec key `registry-credentials` was ambiguous — could mean container registry auth or Laconic registry config. Rename to `image-pull-secret` which matches the k8s secret name it creates. Co-Authored-By: Claude Opus 4.6 (1M context) --- stack_orchestrator/deploy/spec.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/stack_orchestrator/deploy/spec.py b/stack_orchestrator/deploy/spec.py index 83762b35..2dca1a4f 100644 --- a/stack_orchestrator/deploy/spec.py +++ b/stack_orchestrator/deploy/spec.py @@ -103,11 +103,8 @@ class Spec: Used for private container registries like GHCR. The token-env field specifies an environment variable containing the API token/PAT. - - Note: Uses 'registry-credentials' key to avoid collision with - 'image-registry' key which is for pushing images. """ - return self.obj.get("registry-credentials") + return self.obj.get("image-pull-secret") def get_volumes(self): return self.obj.get(constants.volumes_key, {})