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

feat: Update non-olm-install script to setup conversion webhook #603

Merged

Conversation

svghadi
Copy link
Member

@svghadi svghadi commented Sep 14, 2023

What type of PR is this?
/kind enhancement

What does this PR do / why we need it:
This PR updates non-olm operator install script to setup conversion webhook for automatic migration of ArgoCD v1alpha1 CRs to v1beta1. The webhook is enabled by default and is controlled by ENABLE_CONVERSION_WEBHOOK env var.
For non-olm install, webhook cert management is off-loaded to Openshift Service CA operator. The required annotations for this are already added in configs so no special handling is required in the script.

Have you updated the necessary documentation?

  • Documentation update is required by this PR.
  • Documentation has been updated.

Which issue(s) this PR fixes:

Related GITOPS-3040

How to test changes / Special notes to the reviewer:

@openshift-ci
Copy link

openshift-ci bot commented Sep 14, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@svghadi svghadi marked this pull request as ready for review September 14, 2023 05:16
@svghadi svghadi requested review from anandf and removed request for reginapizza and varshab1210 September 14, 2023 05:19
@svghadi
Copy link
Member Author

svghadi commented Sep 14, 2023

/retest

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

anandf commented Sep 25, 2023

/approve
/lgtm

@openshift-ci
Copy link

openshift-ci bot commented Sep 25, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anandf

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@svghadi
Copy link
Member Author

svghadi commented Sep 25, 2023

/test v4.13-kuttl-parallel

@openshift-merge-robot openshift-merge-robot merged commit b10480b into redhat-developer:master Sep 25, 2023
18 checks passed
@svghadi svghadi deleted the non-olm-webhook branch September 25, 2023 12:27
trdoyle81 pushed a commit to trdoyle81/gitops-operator that referenced this pull request Aug 13, 2024
…at-developer#603)

* Update non-olm-install script to setup conversion webhook

Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com>

* fix non-olm installation

Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com>

* Move yq out of loop

Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com>

---------

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants