Skip to content

Conversation

@pengzhouml
Copy link
Collaborator

No description provided.

rwinieski and others added 30 commits November 27, 2024 07:47
MLE-17900/Update code blocks and fix some syntax

(cherry picked from commit 674801d)
Sync change from develop to release branch
* update the Chart version to 2.0.1 and MarkLogic Version to 11.3.1

* update Notice and README for Helm 2.0.1 Release

* update in Notice File

* update latest Notice file

* update go version to 1.23.6 for security vulverabilities

* update version for vulerabilities

---------

Co-authored-by: Peng Zhou <[email protected]>
…-version

MLE-20917 update docker package version for security vulnerabilites
…om-cookie

MLE-21334/remove Security attribute from cookie
MLE-21473 Add missing namespace to configmap and service account
Mle 21676/HAProxy image can only be define in the subchart values.yaml file
…nt-images

MLE-20181 scan all dependent images
* MLE-21148: Add retry for group config

* add comment to retry functions

* fix the bug for retry

---------

Co-authored-by: Peng Zhou <[email protected]>
pengzhouml and others added 3 commits June 17, 2025 09:43
* MLE-22607: update haproxy version to 3.2.1

* update README

---------

Co-authored-by: Peng Zhou <[email protected]>
Copy link

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 ports changes from the master branch into the develop branch and updates dependency versions, image tags, and certain configuration details. Key changes include modifications to the image scan logic in the makefile, updates to dependency versions in go.mod, changes in the liveness probe setup in the statefulset template, and adjustments to HAProxy cookie configuration.

Reviewed Changes

Copilot reviewed 16 out of 17 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
makefile Improved image scan logic and refactored output redirection
go.mod Upgraded dependency versions
charts/values.yaml Updated image tag and repository details
charts/templates/statefulset.yaml Modified liveness probe from exec command to a tcpSocket probe
charts/templates/serviceaccount.yaml Added explicit namespace configuration
charts/templates/configmap-scripts.yaml Updated logging behavior and introduced a retry function
charts/templates/configmap-haproxy.yaml Removed the secure flag from cookie configuration for HAProxy
charts/charts/haproxy/* Copyright updates reflecting the change in ownership
charts/Chart.yaml Bumped the chart version to 2.1.0
README.md Updated documentation to reflect new image tags and descriptions
NOTICE.txt, LICENSE.txt Updated copyright information
Jenkinsfile Adjusted image list retrieval logic
Comments suppressed due to low confidence (2)

charts/templates/configmap-haproxy.yaml:115

  • The removal of the 'secure' flag in the cookie configuration may reduce transport security; ensure that HTTPS is not required or document the rationale for this change.
      cookie haproxy insert indirect httponly nocache maxidle 30m maxlife 4h

charts/templates/statefulset.yaml:203

  • Switching the liveness probe from an exec command to a tcpSocket probe on port 8001 changes the health check behavior; verify that this approach meets the application's readiness requirements.
            tcpSocket:

| `haproxy.enabled` | Parameter to enable the HAProxy Load Balancer for MarkLogic Server | `false` |
| `haproxy.image.repository` | Repository for HAProxy image | `haproxytech/haproxy-alpine` |
| `haproxy.image.tag` | Tag for HAProxy image | `3.2.1` |
| `haproxy.image.pullPolicy` | Haproxy iamge Pull Policy | `IfNotPresent` |
Copy link

Copilot AI Jun 26, 2025

Choose a reason for hiding this comment

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

Typo in the description for 'haproxy.image.pullPolicy': 'iamge' should be corrected to 'image'.

Suggested change
| `haproxy.image.pullPolicy` | Haproxy iamge Pull Policy | `IfNotPresent` |
| `haproxy.image.pullPolicy` | Haproxy image Pull Policy | `IfNotPresent` |

Copilot uses AI. Check for mistakes.
Comment on lines 233 to +236
.PHONY: image-scan
image-scan:

@rm -f helm_image.list dep-image-scan.txt
@$(if $(saveOutput), > dep-image-scan.txt)
Copy link

Copilot AI Jun 26, 2025

Choose a reason for hiding this comment

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

[nitpick] The inline conditional redirection may be unclear; consider adding a comment or refactoring the logic for improved readability.

Copilot uses AI. Check for mistakes.
@pengzhouml pengzhouml changed the title Port changes from master to develop MLE-20917: Port changes from master to develop Jun 26, 2025
@pengzhouml pengzhouml merged commit ac4791d into develop Jul 8, 2025
4 of 5 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.

4 participants