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

gitopsservice is not namespaced, but the console requests api on openshift-github #101

Closed
rgordill opened this issue Apr 4, 2021 · 2 comments
Assignees
Labels
fixed-in-latest Fixed in the latest build

Comments

@rgordill
Copy link

rgordill commented Apr 4, 2021

Describe the bug
The gitops service is not namespaced. Sample once installed:

apiVersion: pipelines.openshift.io/v1alpha1
kind: GitopsService
metadata:
  creationTimestamp: "2021-04-03T20:55:40Z"
  generation: 1
  managedFields:
  - apiVersion: pipelines.openshift.io/v1alpha1
    fieldsType: FieldsV1
    fieldsV1:
      f:spec: {}
      f:status: {}
    manager: gitops-operator
    operation: Update
    time: "2021-04-03T20:55:40Z"
  name: cluster
  resourceVersion: "35378"
  selfLink: /apis/pipelines.openshift.io/v1alpha1/gitopsservices/cluster
  uid: d7520894-fa57-40c7-a939-fc01c37e7e10
spec: {}

However the console considers it namespace for searching at:

https://console-openshift-console.apps-crc.testing/api/kubernetes/apis/pipelines.openshift.io/v1alpha1/namespaces/openshift-gitops/gitopsservices?limit=250

Instead of

https://console-openshift-console.apps-crc.testing/api/kubernetes/apis/pipelines.openshift.io/v1alpha1/gitopsservices?limit=250

To Reproduce
Steps to reproduce the behavior:

  1. Install an OpenShift 4.7.2 (I have used CRC)
  2. Install openshift-gitops operator
  3. After the install finishes ok, go to gitops services or all instances tab
  4. See a 404 error

Expected behavior
The instances on those resources displayed

Screenshots
gitops

Additional context

@iam-veeramalla
Copy link
Collaborator

@rgordill which build are you using. @chetan-rns got it fixed as part of openshift/console#8379

@iam-veeramalla iam-veeramalla added the fixed-in-latest Fixed in the latest build label Apr 4, 2021
@iam-veeramalla iam-veeramalla self-assigned this Apr 4, 2021
@rgordill
Copy link
Author

rgordill commented Apr 4, 2021

OCP 4.7.2, as in https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/4.7.2/release.txt, which is the latest for CRC. I assume as this release is from March 5th, this commit is not included. I will wait for next CRC release to test it.

Thanks.

@rgordill rgordill closed this as completed Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed-in-latest Fixed in the latest build
Projects
None yet
Development

No branches or pull requests

2 participants