cloudnative-pg / cloudnative-pg/cnpg-i-hello-world
Setup Fails Without Registry TLS Skip and Proper Start Sequence
- Dominant language
- Go
- Stars
- 5
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
The current setup instructions for running the plugin with a 'local registry' (registry.dev:5000) using Kind fail and are missing some crucial configuration steps that result in image pull errors (ErrImagePull) unless manually patched.
### Working Local Setup (Tested)
To successfully run the plugin using Kind and load images into a local registry (registry.dev:5000), I had to:
Create kind-config.yaml with containerdConfigPatches:
Without the "insecure_skip_verify = true" line, the image pull fails for local setup.
Then I had to start the registry before loading the image in [run.sh](https://github.com/cloudnative-pg/cnpg-i-hello-world/blob/main/scripts/run.sh):
This must run before the `load_image_registry` function.
---
With these changes, the plugin pod hello-world runs correctly and emits expected logs, confirming it's functional (i added custom logs for testing):
Contributor guide
Research direction
Review the setup instructions, kind-config.yaml, and scripts/run.sh; start by reproducing the Kind local-registry setup with the registry and containerd TLS configuration described in the issue. Done means the image loads without ErrImagePull, the hello-world plugin pod runs, and it emits the expected logs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, kubernetes, shell
- Domain
- devops, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- Half a day
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100