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

code-refactoring: Add ArgoCD v1beta1 CRD & conversion webhook #999

Merged

Conversation

svghadi
Copy link
Collaborator

@svghadi svghadi commented Sep 18, 2023

What type of PR is this?
/kind enhancement

What does this PR do / why we need it:
Incorporates the conversion webhook and v1beta1 ArgoCD API from #964 into the redesign branch.

- Add new ArgoCD v1beta1 api
- Mark ArgoCD v1alpha1 as deprecated & add back the removed sso fields
- Use server side validation for "kubectl apply" as client side results into
  failure due to exceeding annotation size limit.
- Add funcs for ArgoCD alpha to beta conversion
- Create webhook & setup webhook server on 9443
- Disable operator namespaced install via OLM so that OLM can handle certs for webhook server
- For manual install, user needs to explicitly configure cert manager to inject certs and enable
  webhook server in operator by setting env ENABLE_CONVERSION_WEBHOOK="true"

Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com>
@jaideepr97
Copy link
Collaborator

Thanks @svghadi

@jaideepr97 jaideepr97 merged commit 4ceafa5 into argoproj-labs:operator-redesign Sep 19, 2023
1 of 3 checks passed
@svghadi svghadi deleted the redesign-v1beta1 branch September 20, 2023 04:57
Julik24 pushed a commit to Julik24/argocd-operator that referenced this pull request Apr 24, 2024
- Add new ArgoCD v1beta1 api
- Mark ArgoCD v1alpha1 as deprecated & add back the removed sso fields
- Use server side validation for "kubectl apply" as client side results into
  failure due to exceeding annotation size limit.
- Add funcs for ArgoCD alpha to beta conversion
- Create webhook & setup webhook server on 9443
- Disable operator namespaced install via OLM so that OLM can handle certs for webhook server
- For manual install, user needs to explicitly configure cert manager to inject certs and enable
  webhook server in operator by setting env ENABLE_CONVERSION_WEBHOOK="true"

Signed-off-by: Siddhesh Ghadi <sghadi1203@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.

2 participants