Skip to content
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

Add Labels from MR to Argocd AppProject #106

Merged
merged 4 commits into from
Nov 2, 2023

Conversation

smileisak
Copy link
Contributor

Description of your changes

This pull request introduces the capability for the argocd provider to support defining and adding labels to the ArgoCD AppProject from the MR. Labels in ArgoCD play a crucial role as they allow AppProjects to inherit default spec values from a global AppProject. Documentation link

Fixes #105

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

The code has been tested using a local setup where an ArgoCD project was created using the argocd provider. I verified:

  • The labels are correctly added to the AppProject.
  • There were no synchronization issues or delays.

Signed-off-by: Ismail KABOUBI <ikaboubi@gmail.com>
Signed-off-by: Ismail KABOUBI <ikaboubi@gmail.com>
pkg/controller/projects/controller.go Outdated Show resolved Hide resolved
Signed-off-by: Ismail KABOUBI <ikaboubi@gmail.com>
@smileisak
Copy link
Contributor Author

@MisterMX can you take a look on it. I have made the change as requested.

Signed-off-by: Ismail KABOUBI <ikaboubi@gmail.com>
Copy link
Collaborator

@MisterMX MisterMX left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you very much @smileisak!

@MisterMX MisterMX merged commit 00b9ad6 into crossplane-contrib:main Nov 2, 2023
7 checks passed
@smileisak smileisak mentioned this pull request Jan 19, 2024
6 tasks
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.

Support AppProject Labels
2 participants