Use Swarm default registry creds (manage-images) and configurations.yml placeholders
Made-with: Cursor
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
|
||||
## 1. Private registry (`hub.andrewalliance.com`)
|
||||
|
||||
Pods need an image pull secret in namespace `onelab`:
|
||||
By default, `gitops/values/k3s-example.yaml` matches the Swarm installer (`app/playbooks/tasks/manage-images.yml`): user **`public`**, password **`Andrew01..Release`**, and the chart creates Secret **`hub-andrewalliance`** when `registry.createPullSecret: true`.
|
||||
|
||||
To use other credentials, override `registry.username` / `registry.password` or create the secret manually:
|
||||
|
||||
```bash
|
||||
kubectl create secret docker-registry hub-andrewalliance -n onelab \
|
||||
@@ -11,14 +13,7 @@ kubectl create secret docker-registry hub-andrewalliance -n onelab \
|
||||
--docker-password='YOUR_PASSWORD'
|
||||
```
|
||||
|
||||
Then set in `gitops/values/k3s-example.yaml`:
|
||||
|
||||
```yaml
|
||||
imagePullSecrets:
|
||||
- name: hub-andrewalliance
|
||||
```
|
||||
|
||||
Commit, push, and either `helm upgrade` or let Argo CD sync.
|
||||
…and set `registry.createPullSecret: false` plus `imagePullSecrets: [{ name: hub-andrewalliance }]`.
|
||||
|
||||
## 2. Argo CD + private Git (`git.luneski.fr`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user