Skip to content

Commit

Permalink
Merge pull request #2617 from headlamp-k8s/crd-namespaced-fix
Browse files Browse the repository at this point in the history
frontend: Add missing isNamespaced property to Custom Resource class
  • Loading branch information
joaquimrocha authored Dec 6, 2024
2 parents 800285a + 397c002 commit 81b37f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/lib/k8s/crd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ export function makeCustomResourceClass(
static apiVersion = apiInfoArgs.map(([group, version]) =>
group ? `${group}/${version}` : version
);
static isNamespaced = objArgs.isNamespaced;
static apiEndpoint = apiFunc(...apiInfoArgs);
};
}
Expand Down

0 comments on commit 81b37f7

Please sign in to comment.