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

Only detect local-cluster secret to be imported to different argocd s… #118

Merged
merged 1 commit into from
Jun 3, 2021

Conversation

xiangjingli
Copy link
Collaborator

…erver NS

Signed-off-by: Xiangjing Li xiangli@redhat.com

It turns out there are various kinds of non-ocp K8s clusters imported into Canary test env like Azure, GKE etc. Non OCP clusters don't have the cluster secrets generated.

The fix is detect local-cluster secret to be imported to different argocd server NameSpaces based on the gitopscluster CR spec changes. local-cluster is OCP cluster for sure.

…erver NS

Signed-off-by: Xiangjing Li <xiangli@redhat.com>
@openshift-ci
Copy link

openshift-ci bot commented Jun 3, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xiangjingli

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 Jun 3, 2021
@xiangjingli xiangjingli merged commit 1add3a1 into main Jun 3, 2021
@xiangjingli xiangjingli deleted the onlyLocalCluster branch June 3, 2021 23:15
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.

1 participant