-
Notifications
You must be signed in to change notification settings - Fork 848
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
One owner multiple namespaces #2641
Comments
Can you share the |
Sure! #first profile
apiVersion: kubeflow.org/v1
kind: Profile
metadata:
name: bi-ds
spec:
owner:
kind: User
name: gfarcas@company.com
resourceQuotaSpec:
hard:
cpu: '32'
memory: 256Gi
#second profile
apiVersion: kubeflow.org/v1
kind: Profile
metadata:
name: upgrade
spec:
owner:
kind: User
name: gfarcas@company.com
resourceQuotaSpec:
hard:
cpu: '32'
memory: 256Gi They are basicaly the same, only the |
i also have same issue, so added contributors manually via rolebinding |
The issue seems to be in the central dashboard, not in the profile: nsBreakdown(ns) {
const {ownedNamespace, namespaces} = this;
if (!ownedNamespace || !namespaces) return;
const arr = [
[ownedNamespace.namespace, 'Owner'],
];
if (ns.length <= 1) return arr;
const otherNamespaces = namespaces
.filter((n) => n != ownedNamespace
&& n.namespace !== ALL_NAMESPACES)
.map((i) => i.namespace).join(', ');
if (!otherNamespaces.length) return arr;
arr.push(
[otherNamespaces, 'Contributor'],
);
return arr;
} I checked the /api/workgroup/get-all-namespaces api endpoint and I am returned as owner on both (first json object) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This was resolved in kubeflow/kubeflow#7582 /close |
@thesuperzapper: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
which kubeflow version has this fix? |
@deepakdeore2004 the currently unreleased 1.9.0. |
I have tried creating two profiles with the same user as owner
![image](https://private-user-images.githubusercontent.com/8426011/309817887-cf041581-a52b-4eea-9275-686bd615ac3d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3Lmd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VzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MDJUMDUwMzUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MmE1OTc1ZTg1ODViOWFiNjU2ZDZiMDY1NGE5NGM2ZjFkYWMxOTRmNTJlNmU0NWVhMWVkMTA1MDQyYjA0NzAwYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.3aCCJLQkzkROiNbHTNdRaq6ZtqegyF6y-3M5hVdJ9Yc)
The drop down shows me as owner on both
But when I go to contributing it is different
These are the profile controller logs:
Version: 1.8.0
The text was updated successfully, but these errors were encountered: