Fix NetworkPolicy engresses not having node/pod selectors displayed (#4467)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-12-01 08:08:26 -05:00
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: {