forked from cerc-io/stack-orchestrator
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:
co-authored by
Claude Opus 4.5
parent
73ba13aaa5
commit
cb6fdb77a6
@@ -82,10 +82,10 @@ For deployments using images from private container registries (e.g., GitHub Con
|
||||
|
||||
### Configuration
|
||||
|
||||
Add an `image-registry` section to your spec.yml:
|
||||
Add a `registry-credentials` section to your spec.yml:
|
||||
|
||||
```yaml
|
||||
image-registry:
|
||||
registry-credentials:
|
||||
server: ghcr.io
|
||||
username: your-org-or-username
|
||||
token-env: REGISTRY_TOKEN
|
||||
@@ -121,6 +121,6 @@ When using Ansible for deployments, pass the token from a credentials file:
|
||||
|
||||
### How It Works
|
||||
|
||||
1. laconic-so reads the `image-registry` config from spec.yml
|
||||
1. laconic-so reads the `registry-credentials` config from spec.yml
|
||||
2. Creates a Kubernetes `docker-registry` secret named `{deployment}-registry`
|
||||
3. The deployment's pods reference this secret for image pulls
|
||||
|
||||
Reference in New Issue
Block a user