Closed gfarcas closed 3 months ago
Can you share the Profile
CRD YAML for each profile?
Sure! Here they are:
#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 name
in metadata differs.
i also have same issue, so added contributors manually via rolebinding UI shows single namespace with owner
The issue seems to be in the central dashboard, not in the profile: https://github.com/kubeflow/kubeflow/blob/167e162ef7dffc033ddc82e55b0a108db27fc340/components/centraldashboard/public/components/manage-users-view.js#L56-L72
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 https://github.com/kubeflow/kubeflow/pull/7582
/close
@thesuperzapper: Closing this issue.
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 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