Skip to content

Support global.imagePullSecrets in solr-operator helm chart (#338)#832

Open
mattiasbpersson wants to merge 1 commit into
apache:mainfrom
mattiasbpersson:fix/global-imagePullSecrets
Open

Support global.imagePullSecrets in solr-operator helm chart (#338)#832
mattiasbpersson wants to merge 1 commit into
apache:mainfrom
mattiasbpersson:fix/global-imagePullSecrets

Conversation

@mattiasbpersson
Copy link
Copy Markdown

Description

Adds global.imagePullSecrets support to the solr-operator helm chart deployment.

The existing image.imagePullSecret field is rendered inside containers[] in the deployment template, which is not a valid Kubernetes pod spec field. Kubernetes silently ignores it, so pull secrets are never applied to the operator pod. This makes it impossible to deploy the solr-operator from a private registry.

This PR adds global.imagePullSecrets at the pod spec level (spec.template.spec.imagePullSecrets), consistent with how the solr helm chart already handles it.

Supports both formats:

  • Kubernetes-native: [{name: "my-secret"}]
  • Plain strings: ["my-secret"]

Changes

  • values.yaml — Added global.imagePullSecrets default
  • templates/deployment.yaml — Render imagePullSecrets at pod spec level
  • Chart.yaml — Changelog entry
  • README.md — Documentation entry

Related

Adds global.imagePullSecrets to the solr-operator deployment pod spec.
The existing image.imagePullSecret was rendered inside containers[],
which is not a valid Kubernetes field and is silently ignored.

This places imagePullSecrets at the correct pod spec level and supports
both Kubernetes-native format ([{name: "secret"}]) and plain strings.

Closes apache#338
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.

Use global.imagePullSecrets at solr-operator helm chart

1 participant