-
Notifications
You must be signed in to change notification settings - Fork 828
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) |
I have tried creating two profiles with the same user as owner
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: