Skip to content

Mle 21676/HAProxy image can only be define in the subchart values.yaml file #324

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

Open
wants to merge 4 commits into
base: release/2.1.0
Choose a base branch
from

Conversation

rwinieski
Copy link
Collaborator

No description provided.

Copy link

@Copilot 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 introduces default image configuration for the HAProxy subchart so that users can set repository, tag, and pullPolicy directly in charts/values.yaml.

  • Adds an image block under haproxy with repository, tag, and pullPolicy defaults
  • Ensures the HAProxy subchart can reference these values for its container image
Files not reviewed (2)
  • Jenkinsfile: Language not supported
  • makefile: Language not supported

@@ -348,6 +348,10 @@ logCollection:
## It also support multi-statement transaction and ODBC connections.
haproxy:
enabled: false
Copy link
Preview

Copilot AI May 22, 2025

Choose a reason for hiding this comment

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

Consider adding a comment block describing the purpose and acceptable values for the new image keys (repository, tag, pullPolicy) so that users understand how to override them.

Suggested change
enabled: false
enabled: false
## Configuration for the HAProxy container image
## repository: The container image repository for HAProxy. Default is "haproxytech/haproxy-alpine".
## tag: The specific version of the HAProxy image to use. Default is "2.9.4".
## pullPolicy: The image pull policy. Acceptable values are "Always", "IfNotPresent", and "Never". Default is "IfNotPresent".

Copilot uses AI. Check for mistakes.

Comment on lines +353 to +354
tag: "2.9.4"
pullPolicy: IfNotPresent
Copy link
Preview

Copilot AI May 22, 2025

Choose a reason for hiding this comment

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

[nitpick] Using a specific image tag is fine, but consider documenting or automating tag updates (e.g., via Dependabot or a chart version matrix) to avoid stale versions.

Suggested change
tag: "2.9.4"
pullPolicy: IfNotPresent
tag: "{{ .Values.haproxy.image.tag }}"
pullPolicy: IfNotPresent
# Consider automating updates using Dependabot or a version matrix.

Copilot uses AI. Check for mistakes.

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