mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix NetworkPolicy engresses not having node/pod selectors displayed (#4467)
This commit is contained in:
1 parent
cd2f5094dc
commit
4257fce2f0
12 files changed
+274
-158
No files matched your search
@@ -26,6 +26,7 @@ import { metricsApi } from "./metrics.api";
|
||||
import type { IPodMetrics } from "./pods.api";
|
||||
import type { KubeJsonApiData } from "../kube-json-api";
|
||||
import { isClusterPageContext } from "../../utils/cluster-id-url-parsing";
|
||||
import type { LabelSelector } from "../kube-object";
|
||||
|
||||
export class StatefulSetApi extends KubeApi<StatefulSet> {
|
||||
protected getScaleApiUrl(params: { namespace: string; name: string }) {
|
||||
@@ -84,11 +85,7 @@ export class StatefulSet extends WorkloadKubeObject {
|
||||
declare spec: {
|
||||
serviceName: string;
|
||||
replicas: number;
|
||||
selector: {
|
||||
matchLabels: {
|
||||
[key: string]: string;
|
||||
};
|
||||
};
|
||||
selector: LabelSelector;
|
||||
template: {
|
||||
metadata: {
|
||||
labels: {
|
||||
|
||||
Reference in new issue
Block a user