Rename image-registry to registry-credentials to avoid collision

The existing 'image-registry' key is used for pushing images to a remote
registry (URL string). Rename the new auth config to 'registry-credentials'
to avoid collision.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
A. F. Dudley
2026-02-03 17:16:26 -05:00
co-authored by Claude Opus 4.5
parent 73ba13aaa5
commit cb6fdb77a6
2 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -103,8 +103,11 @@ 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("image-registry")
return self.obj.get("registry-credentials")
def get_volumes(self):
return self.obj.get(constants.volumes_key, {})