Merge pull request #108138 from liggitt/v1beta1-selector

Revert v1beta1 PodDisruptionBudget selector patchStrategy to pre-1.21 behavior
This commit is contained in:
Kubernetes Prow Robot
2022-02-15 16:25:18 -08:00
committed by GitHub
5 changed files with 149 additions and 10 deletions

View File

@@ -13849,8 +13849,7 @@
},
"selector": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector",
"description": "Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace.",
"x-kubernetes-patch-strategy": "replace"
"description": "Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace."
}
},
"type": "object"

View File

@@ -213,8 +213,7 @@
},
"selector": {
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector",
"description": "Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace.",
"x-kubernetes-patch-strategy": "replace"
"description": "Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace."
}
},
"type": "object"