Skip to content

Conversation

blakepettersson
Copy link
Member

Add the ability to set repo-server oci env vars from the argocd-cmd-params-cm configmap.

Should be backported to 3.1.

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • The title of the PR conforms to the Title of the PR
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).
  • My new feature complies with the feature status guidelines.
  • I have added a brief description of why this PR is necessary and/or what this PR solves.
  • Optional. My organization is added to USERS.md.
  • Optional. For bug fixes, I've indicated what older releases this fix should be cherry-picked into (this may or may not happen depending on risk/complexity).

Add the ability to set repo-server oci env vars from the
`argocd-cmd-params-cm` configmap.

Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
@blakepettersson blakepettersson requested a review from a team as a code owner August 12, 2025 07:22
Copy link

bunnyshell bot commented Aug 12, 2025

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
Copy link

codecov bot commented Aug 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.24%. Comparing base (45a7a18) to head (b58aa0d).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #24113      +/-   ##
==========================================
- Coverage   60.29%   60.24%   -0.05%     
==========================================
  Files         347      347              
  Lines       59597    59619      +22     
==========================================
- Hits        35934    35918      -16     
- Misses      20797    20823      +26     
- Partials     2866     2878      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@ranakan19 ranakan19 left a comment

Choose a reason for hiding this comment

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

This successfully adds the environment variable from the configmap to the manifests. I'm curious, will the logic for parsing that value be handled in a separate PR, or am I missing something in the current changes?

@blakepettersson
Copy link
Member Author

Hi @ranakan19,

These OCI env vars are already in use and have been present on the repo-server since the initial merge of the OCI feature (see #18646). You can see them referenced here.

Copy link
Member

@crenshaw-dev crenshaw-dev left a comment

Choose a reason for hiding this comment

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

Should these also be added to the example cm in docs/operator-manual?

Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
@blakepettersson blakepettersson requested a review from a team as a code owner August 14, 2025 09:47
@blakepettersson
Copy link
Member Author

@crenshaw-dev done!

@crenshaw-dev crenshaw-dev enabled auto-merge (squash) August 14, 2025 09:49
@crenshaw-dev crenshaw-dev merged commit b2b6d98 into argoproj:master Aug 14, 2025
27 checks passed
Copy link

codecov bot commented Aug 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.10%. Comparing base (45a7a18) to head (ce441da).
⚠️ Report is 16 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #24113      +/-   ##
==========================================
- Coverage   60.29%   60.10%   -0.20%     
==========================================
  Files         347      347              
  Lines       59597    59857     +260     
==========================================
+ Hits        35934    35977      +43     
- Misses      20797    20987     +190     
- Partials     2866     2893      +27     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

blakepettersson added a commit to blakepettersson/argo-cd that referenced this pull request Aug 14, 2025
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
blakepettersson added a commit that referenced this pull request Aug 14, 2025
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
enneitex pushed a commit to enneitex/argo-cd that referenced this pull request Aug 24, 2025
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
Signed-off-by: enneitex <etienne.divet@gmail.com>
downfa11 pushed a commit to downfa11/argo-cd that referenced this pull request Aug 25, 2025
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
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