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

Fix: using deprecated field AddOnConfiguiration causing proxy health not work. #348

Conversation

xuezhaojun
Copy link
Member

@xuezhaojun xuezhaojun commented Jun 19, 2023

Fixes: #347

@openshift-ci openshift-ci bot requested review from itdove and qiujian16 June 19, 2023 05:47
@xuezhaojun xuezhaojun force-pushed the fix-cluster-proxy-addon-health-check branch from 4483ff0 to 3a126b8 Compare June 19, 2023 05:51
proxyConfig, err := proxyClient.ProxyV1alpha1().ManagedProxyConfigurations().
Get(context.TODO(), clusterAddon.Spec.AddOnConfiguration.CRName, metav1.GetOptions{})
Get(context.TODO(), "cluster-proxy", metav1.GetOptions{})
Copy link
Member Author

Choose a reason for hiding this comment

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

@xuezhaojun
Copy link
Member Author

/assign @qiujian16

@xuezhaojun xuezhaojun force-pushed the fix-cluster-proxy-addon-health-check branch 2 times, most recently from 0dc91b7 to 02188d8 Compare June 19, 2023 05:58
proxyConfig, err := proxyClient.ProxyV1alpha1().ManagedProxyConfigurations().
Get(context.TODO(), clusterAddon.Spec.AddOnConfiguration.CRName, metav1.GetOptions{})
Get(context.TODO(), "cluster-proxy", metav1.GetOptions{})
Copy link
Member

Choose a reason for hiding this comment

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

set it as a const

@xuezhaojun xuezhaojun force-pushed the fix-cluster-proxy-addon-health-check branch from 02188d8 to 56ead55 Compare June 19, 2023 09:16
@xuezhaojun xuezhaojun closed this Jun 30, 2023
@xuezhaojun xuezhaojun reopened this Jun 30, 2023
…th` not work.

Signed-off-by: xuezhaojun <zxue@redhat.com>
@xuezhaojun xuezhaojun force-pushed the fix-cluster-proxy-addon-health-check branch from 56ead55 to 5a69366 Compare July 3, 2023 14:51
@xuezhaojun
Copy link
Member Author

/assign @qiujian16

Rebase, PTAL, thanks!

@xuezhaojun xuezhaojun requested a review from qiujian16 July 3, 2023 14:52
@qiujian16
Copy link
Member

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jul 4, 2023
@openshift-ci
Copy link

openshift-ci bot commented Jul 4, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiujian16, xuezhaojun

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

@openshift-ci openshift-ci bot added the approved label Jul 4, 2023
@openshift-merge-robot openshift-merge-robot merged commit b254f69 into open-cluster-management-io:main Jul 4, 2023
4 checks passed
@xuezhaojun xuezhaojun deleted the fix-cluster-proxy-addon-health-check branch September 4, 2023 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

proxy subcommand doesn't work for the latest cluster-proxy
3 participants