Skip to content

Conversation

@GAURAV-DEEP01
Copy link

This PR fixes the broken local development setup for running the plugin with Kind and a local registry (registry.dev:5000).

Changes made:
Added a kind-config.yaml with containerdConfigPatches to configure registry.dev:5000 as an insecure mirror.

Included insecure_skip_verify = true to allow Kind to pull from the local registry without TLS.

Modified scripts/run.sh to start the local Docker registry before attempting to push and load the image into Kind.

Result:
With these changes, the plugin runs successfully in a Kind cluster, and the pod pulls the image correctly without ErrImagePull. Verified by observing expected logs from the plugin pod.

Issue (#188)

…l errors (cloudnative-pg#188)

- Introduced kind-config.yaml with containerdConfigPatches to enable pulling images from registry.dev:5000
- Ensured registry.dev is started before image load in run.sh
- Resolves ErrImagePull issues and enables smooth local testing of CNPG-I plugins

Signed-off-by: Gaurav Deep <gauravdeep8660@gmail.com>
@GAURAV-DEEP01
Copy link
Author

@gbartolini I'd appreciate a review whenever you get the chance, happy to make any changes if needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant