-
Notifications
You must be signed in to change notification settings - Fork 17
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
base: release/2.1.0
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 underhaproxy
withrepository
,tag
, andpullPolicy
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 |
There was a problem hiding this comment.
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.
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.
tag: "2.9.4" | ||
pullPolicy: IfNotPresent |
There was a problem hiding this comment.
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.
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.
No description provided.