Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][Opensearch] init container missing pull policy #611

Open
anna-intellegens opened this issue Oct 23, 2024 · 1 comment
Open

[BUG][Opensearch] init container missing pull policy #611

anna-intellegens opened this issue Oct 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@anna-intellegens
Copy link

Describe the bug
Persistence init container doesn't have a pull policy defined, meaning it defaults to Always, causing it to error on offline deployments

To Reproduce
Steps to reproduce the behavior:

  1. Import all required images to a local machine running kubernetes without external network connection
  2. Deploy helm chart with persistence enabled and image.pullPolicy = "Never" set in values.yaml
  3. Opensearch fails to start with ErrImagePull and ImagePullBackOff due to persistence init container

Expected behavior
Persistence init container should respect pull policy specified in image.pullPolicy similar to other init containers (such as sysctlInit)

Chart Name
Opensearch v1.x charts

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • Helm Version: Tested on both v3.9.1+unreleased (microk8s bundled) and v3.16.2
  • Kubernetes Version: Tested on both Microk8s 1.31, and 1.29.7 via Minikube
@anna-intellegens anna-intellegens added bug Something isn't working untriaged Issues that have not yet been triaged labels Oct 23, 2024
@prudhvigodithi
Copy link
Collaborator

[Triage]
Thanks @anna-intellegens for opening a PR, we can get the PR reviewed and merged.
@peterzhuamazon

@prudhvigodithi prudhvigodithi removed the untriaged Issues that have not yet been triaged label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants