fix(statefulset): roll pods when docker registry auth changes; doc stale pull secret recovery
Made-with: Cursor
This commit is contained in:
@@ -15,6 +15,16 @@ kubectl create secret docker-registry hub-andrewalliance -n onelab \
|
||||
|
||||
…and set `registry.createPullSecret: false` plus `imagePullSecrets: [{ name: hub-andrewalliance }]`.
|
||||
|
||||
### StatefulSet pods still get `401 Unauthorized` / `ImagePullBackOff` after enabling registry auth
|
||||
|
||||
If `db-0` / `rabbitmq-0` were created **before** `imagePullSecrets` existed, their **Pod** spec can still use anonymous pulls until they are recreated:
|
||||
|
||||
```bash
|
||||
kubectl delete pod -n onelab db-0 rabbitmq-0
|
||||
```
|
||||
|
||||
The chart adds a pod-template checksum so a `helm upgrade` after changing registry credentials normally rolls these pods; a one-time delete is enough if you toggled pull secrets outside that path.
|
||||
|
||||
## 2. Argo CD + private Git (`git.luneski.fr`)
|
||||
|
||||
If the Application shows `authentication required: Unauthorized`, register the repo in Argo CD (CLI or UI):
|
||||
|
||||
Reference in New Issue
Block a user