Skip to content

fix: set image pull secrets correctly#183

Merged
sk-portkey merged 1 commit intomainfrom
fix/image_pull_secrets
Apr 5, 2026
Merged

fix: set image pull secrets correctly#183
sk-portkey merged 1 commit intomainfrom
fix/image_pull_secrets

Conversation

@sk-portkey
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes and standardizes how Kubernetes imagePullSecrets are configured across the Portkey Gateway Helm chart by introducing a single helper that merges secrets provided via imagePullSecrets and imageCredentials, and updating workloads + docs to use the corrected pattern.

Changes:

  • Adds a dedicated imagePullSecrets value (supporting both string and {name: ...} forms) and documents how to use it vs. imageCredentials.
  • Introduces a Helm helper to merge/deduplicate pull secret names from imagePullSecrets and imageCredentials.
  • Updates gateway/dataservice/redis/minio/milvus workloads to use the shared helper for spec.imagePullSecrets.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
charts/portkey-gateway/values.yaml Adds top-level imagePullSecrets: [] with guidance; removes the incorrectly placed old default.
charts/portkey-gateway/templates/_helpers.tpl Adds portkeyenterprise.imagePullSecrets helper to merge/deduplicate secret names.
charts/portkey-gateway/templates/redis/deployment.yaml Switches Redis pod spec to use the shared imagePullSecrets helper.
charts/portkey-gateway/templates/minio/statefulset.yaml Switches MinIO pod spec to use the shared imagePullSecrets helper.
charts/portkey-gateway/templates/milvus/milvus-statefulset.yaml Switches Milvus pod spec to use the shared imagePullSecrets helper.
charts/portkey-gateway/templates/milvus/etcd-statefulset.yaml Switches Milvus etcd pod spec to use the shared imagePullSecrets helper.
charts/portkey-gateway/templates/gateway/deployment.yaml Switches Gateway pod spec to use the shared imagePullSecrets helper.
charts/portkey-gateway/templates/dataservice/deployment.yaml Switches Dataservice pod spec to use the shared imagePullSecrets helper.
charts/portkey-gateway/README.md Documents two supported approaches: chart-created registry secret vs pre-existing pull secret.
charts/portkey-gateway/docs/Configuration.md Updates defaults/description for imagePullSecrets and clarifies interaction with imageCredentials.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sk-portkey sk-portkey merged commit 076768a into main Apr 5, 2026
4 checks passed
@sk-portkey sk-portkey deleted the fix/image_pull_secrets branch April 5, 2026 11:17
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.

2 participants