Skip to content

helm: use labels and annotations package MAPCO-8094#64

Merged
netanelC merged 13 commits into
masterfrom
add-labels-and-annotations
Jul 1, 2025
Merged

helm: use labels and annotations package MAPCO-8094#64
netanelC merged 13 commits into
masterfrom
add-labels-and-annotations

Conversation

@netanelC
Copy link
Copy Markdown
Contributor

Question Answer
Bug fix ✔/✖
New feature ✔/✖
Breaking change ✔/✖
Deprecations ✔/✖
Documentation ✔/✖
Tests added ✔/✖
Chore ✔/✖

Related issues: #XXX , #XXX ...
Closes #XXX ...

Further information:

@netanelC netanelC changed the title feat: use labels and annotations package helm: use labels and annotations package May 29, 2025
@netanelC netanelC changed the title helm: use labels and annotations package helm: use labels and annotations package MAPCO-8094 Jul 1, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 1, 2025

🎫 Related Jira Issue: MAPCO-8094

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 1, 2025

🎫 Related Jira Issue: MAPCO-8094

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 1, 2025

🎫 Related Jira Issue: MAPCO-8094

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 1, 2025

🎫 Related Jira Issue: MAPCO-8094

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 1, 2025

🎫 Related Jira Issue: MAPCO-8094

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 1, 2025

🎫 Related Jira Issue: MAPCO-8094

@CptSchnitz CptSchnitz requested a review from Copilot July 1, 2025 11:26
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

This PR refactors Helm chart configuration to use the centralized "mc-labels-and-annotations" package for managing labels and annotations. Key changes include updating dependency declarations across charts, removing deprecated environment labels in favor of the new package, and adjusting version-bump targets to account for dependency version updates.

Reviewed Changes

Copilot reviewed 24 out of 28 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
scripts/version-bump.mjs Updated to include version targets for dependencies using hard-coded indices.
packages/auth-ui/helm/values.yaml Added new mcLabelsAndAnnotations configuration and a timeout block.
packages/auth-ui/helm/templates/* Removed environment label and included mc-labels-and-annotations helpers.
packages/auth-manager/helm/* Similar updates to use mc-labels-and-annotations in values and templates.
packages/auth-cron/helm/* Removed environment label and added mc-labels-and-annotations in templates.
helm/* and helm/charts/opa/* Updated values, templates, and Chart.yaml to declare the new dependency and use it.
Comments suppressed due to low confidence (1)

packages/auth-cron/helm/templates/cron-secret.yaml:11

  • The label value concatenates '{{ $chartName }}' and 'share' without a clear separator, which may reduce clarity. Consider adding a separator (e.g., '-' or a space) to improve readability.
    app: {{ $chartName }}share

Comment thread scripts/version-bump.mjs
{
path: 'helm/Chart.yaml',
targets: ['version', 'dependencies[0].version', 'dependencies[1].version', 'dependencies[2].version', 'dependencies[3].version'],
},
Copy link

Copilot AI Jul 1, 2025

Choose a reason for hiding this comment

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

Hard-coding dependency indices in the 'targets' array may be brittle if the dependencies order changes; consider implementing a more dynamic lookup for dependency versions to improve maintainability.

Copilot uses AI. Check for mistakes.
@netanelC netanelC merged commit effb03a into master Jul 1, 2025
12 checks passed
@netanelC netanelC deleted the add-labels-and-annotations branch July 1, 2025 11:29
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