refactor: rename registry-credentials to image-pull-secret in spec
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) <noreply@anthropic.com>afd-dumpster-local-testing
parent
dc15c0f4a5
commit
0e4ecc3602
|
|
@ -103,11 +103,8 @@ class Spec:
|
||||||
|
|
||||||
Used for private container registries like GHCR. The token-env field
|
Used for private container registries like GHCR. The token-env field
|
||||||
specifies an environment variable containing the API token/PAT.
|
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):
|
def get_volumes(self):
|
||||||
return self.obj.get(constants.volumes_key, {})
|
return self.obj.get(constants.volumes_key, {})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue