Skip to content

Conversation

@abr-ubiqube
Copy link
Contributor

No description provided.

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 prepares for a staging deployment upgrade scheduled for September 30th, updating the MSA platform from version 3.2.1 to 3.2.2. The upgrade includes comprehensive Docker image updates, Helm chart enhancements, and infrastructure improvements.

  • Updates all MSA component Docker images to latest SHA versions for version 3.2.2
  • Adds monitoring capabilities with Prometheus ServiceMonitors and postgres-exporter integration
  • Implements TLS certificate support and ingress improvements for better security

Reviewed Changes

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

Show a summary per file
File Description
helm/values.yaml Core configuration updates with new image SHAs, monitoring settings, and TLS support
helm/Chart.yaml Version bump from 3.2.1 to 3.2.2
helm/templates/version-configmap.yaml Updates version metadata and build number
helm/templates/msa-*.yaml Adds monitoring endpoints, TLS configuration, and deployment improvements
docker-compose*.yml Updates all Docker images to new SHA versions for 3.2.2 release
helm/images.application.txt Updates image references to match new versions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

tls:
{{- toYaml .Values.global.tls | nindent 4 }}
{{- end }}
spec:
Copy link

Copilot AI Sep 30, 2025

Choose a reason for hiding this comment

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

Duplicate 'spec:' declaration. Line 65 already declares spec, making line 70 invalid YAML.

Suggested change
spec:

Copilot uses AI. Check for mistakes.
image: ubiqube/msa2-monitoring:sha-3ed8905abee88ca8f9058f341913f704d2db12fc
parameters:
amqp_address: syslogs
amqp_address: "core-engine.monitoring"
Copy link

Copilot AI Sep 30, 2025

Choose a reason for hiding this comment

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

The amqp_address value changed from 'syslogs' to 'core-engine.monitoring'. Ensure this matches the broker queue configuration and that dependent services are updated accordingly.

Suggested change
amqp_address: "core-engine.monitoring"
amqp_address: "syslogs"

Copilot uses AI. Check for mistakes.
Copy link
Contributor

@vmonnier vmonnier left a comment

Choose a reason for hiding this comment

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

Docker images should be publically available on openmsa/openmsa repo, not on ubiqube one

@abr-ubiqube abr-ubiqube requested a review from Copilot October 2, 2025 14:08
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

Copilot reviewed 52 out of 52 changed files in this pull request and generated 5 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

tls:
{{- toYaml .Values.global.tls | nindent 4 }}
{{- end }}
spec:
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

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

Duplicate 'spec:' declaration on lines 65 and 70. The second 'spec:' declaration will override the first one, potentially causing the TLS configuration to be ignored.

Suggested change
spec:

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

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

Fixed on master

{{- if .Values.msa_zipkin.enable }}
- name: _JAVA_OPTIONS
value: "-XX:MaxRAM=2g"
{{- if .Values.msa_zipkin.enabled }}
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

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

Inconsistent property name used. Line 28 uses '.Values.msa_zipkin.enabled' but line 41 in msa-api.yaml uses '.Values.msa_zipkin.enable' (without 'd'). This inconsistency could cause the zipkin configuration to not work properly in one of the services.

Suggested change
{{- if .Values.msa_zipkin.enabled }}
{{- if .Values.msa_zipkin.enable }}

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

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

enabled is the way to go

{{- if .Values.global.tls }}
host: {{ index (index .Values.global.tls 0).hosts 0 | quote }}
{{- end }}
---
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

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

Extra '---' separator on line 224 that serves no purpose. This should be removed to clean up the YAML structure.

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

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

Nothing to chnage for me

{{- if .Values.msa_rsyslog.metallb}}
loadBalancerIP: {{ index .Values.msa_front.externalIPs 0 }}
{{- end }}
{{- if and (not .Values.msa_rsyslog.metallb) .Values.msa_front.externalIPs }}
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

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

Inconsistent property reference. The condition checks for '.Values.msa_front.externalIPs' but the context suggests it should be '.Values.msa_rsyslog.externalIPs' since this is configuring the rsyslog service, not the front service.

Suggested change
{{- if and (not .Values.msa_rsyslog.metallb) .Values.msa_front.externalIPs }}
{{- if and (not .Values.msa_rsyslog.metallb) .Values.msa_rsyslog.externalIPs }}

Copilot uses AI. Check for mistakes.
{{- if ( .Values.global.artemis.port.core ) -}}
{{ (print ":" .Values.global.artemis.port.core) }}
{{- end -}}
{{ (print "?consumerWindowSize=0") -}}
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

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

[nitpick] The hard-coded query parameter should be made configurable through values.yaml to allow different environments to use different consumer window sizes if needed.

Suggested change
{{ (print "?consumerWindowSize=0") -}}
{{- $consumerWindowSize := default 0 .Values.global.artemis.consumerWindowSize -}}
{{ (print "?consumerWindowSize=" $consumerWindowSize) -}}

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

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

No way !

@abr-ubiqube abr-ubiqube requested a review from Vignaudo October 2, 2025 14:16
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.

5 participants