Skip to content

add support for imagePullSecrets in postgres deployment#1552

Merged
EItanya merged 1 commit intokagent-dev:mainfrom
dmitri-d:image-pull-secret
Mar 26, 2026
Merged

add support for imagePullSecrets in postgres deployment#1552
EItanya merged 1 commit intokagent-dev:mainfrom
dmitri-d:image-pull-secret

Conversation

@dmitri-d
Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Dmitri Dolguikh <dmitri@appliedlogic.ca>
Copilot AI review requested due to automatic review settings March 26, 2026 22:29
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

Adds Helm chart support to optionally render imagePullSecrets on the bundled PostgreSQL Deployment, allowing pulls from private registries when configured.

Changes:

  • Added a new Helm helper (kagent.imagePullSecrets) intended to render imagePullSecrets.
  • Wired the helper into the PostgreSQL Deployment pod spec.
  • Added helm-unittest assertions for default and configured imagePullSecrets behavior.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
helm/kagent/tests/postgresql_test.yaml Adds tests asserting whether imagePullSecrets is rendered for the PostgreSQL Deployment.
helm/kagent/templates/postgresql.yaml Includes an imagePullSecrets helper in the PostgreSQL pod spec.
helm/kagent/templates/_helpers.tpl Introduces a helper that renders imagePullSecrets (currently sourced from global.imagePullSecrets).

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

@EItanya EItanya merged commit 27d6495 into kagent-dev:main Mar 26, 2026
25 of 26 checks passed
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.

3 participants