From 9fb6f3d529fe5a7951a39cfc2845707e160bf4a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Tue, 3 Sep 2024 21:58:11 +0200 Subject: [PATCH] fix: context entry name should be required (#10995) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- api/kyverno/v1/common_types.go | 2 +- .../kyverno.io_cleanuppolicies.yaml | 4 + .../kyverno.io_clustercleanuppolicies.yaml | 4 + .../kyverno.io_clusterpolicies.yaml | 40 +++++++++ .../kyverno.io/kyverno.io_policies.yaml | 40 +++++++++ .../data/crds/kyverno.io_clusterpolicies.yaml | 40 +++++++++ .../data/crds/kyverno.io_policies.yaml | 40 +++++++++ .../kyverno/kyverno.io_cleanuppolicies.yaml | 4 + .../kyverno.io_clustercleanuppolicies.yaml | 4 + .../kyverno/kyverno.io_clusterpolicies.yaml | 40 +++++++++ config/crds/kyverno/kyverno.io_policies.yaml | 40 +++++++++ config/install-latest-testing.yaml | 88 +++++++++++++++++++ 12 files changed, 345 insertions(+), 1 deletion(-) diff --git a/api/kyverno/v1/common_types.go b/api/kyverno/v1/common_types.go index f5d72b8300..ae9808c504 100644 --- a/api/kyverno/v1/common_types.go +++ b/api/kyverno/v1/common_types.go @@ -104,7 +104,7 @@ type AnyAllConditions struct { // +kubebuilder:oneOf:={required:{globalReference}} type ContextEntry struct { // Name is the variable name. - Name string `json:"name,omitempty" yaml:"name,omitempty"` + Name string `json:"name" yaml:"name"` // ConfigMap is the ConfigMap reference. ConfigMap *ConfigMapReference `json:"configMap,omitempty" yaml:"configMap,omitempty"` diff --git a/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_cleanuppolicies.yaml b/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_cleanuppolicies.yaml index eb0de678d2..364de9d998 100644 --- a/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_cleanuppolicies.yaml +++ b/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_cleanuppolicies.yaml @@ -339,6 +339,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -1576,6 +1578,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: diff --git a/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_clustercleanuppolicies.yaml b/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_clustercleanuppolicies.yaml index 6715538a96..83dacdddbb 100644 --- a/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_clustercleanuppolicies.yaml +++ b/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_clustercleanuppolicies.yaml @@ -339,6 +339,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -1576,6 +1578,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: diff --git a/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_clusterpolicies.yaml b/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_clusterpolicies.yaml index 17e8a5c756..ec271c9fce 100644 --- a/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_clusterpolicies.yaml +++ b/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_clusterpolicies.yaml @@ -370,6 +370,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -1372,6 +1374,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -2419,6 +2423,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -2776,6 +2782,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -3448,6 +3456,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -5201,6 +5211,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -6216,6 +6228,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -7275,6 +7289,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -7641,6 +7657,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -8326,6 +8344,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -10149,6 +10169,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -10945,6 +10967,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -11786,6 +11810,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -12143,6 +12169,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -12985,6 +13013,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -14707,6 +14737,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -15722,6 +15754,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -16781,6 +16815,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -17147,6 +17183,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -17832,6 +17870,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: diff --git a/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_policies.yaml b/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_policies.yaml index c51a18b54a..e7ee7daa32 100644 --- a/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_policies.yaml +++ b/charts/kyverno/charts/crds/templates/kyverno.io/kyverno.io_policies.yaml @@ -371,6 +371,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -1373,6 +1375,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -2420,6 +2424,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -2777,6 +2783,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -3449,6 +3457,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -5203,6 +5213,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -6218,6 +6230,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -7277,6 +7291,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -7643,6 +7659,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -8328,6 +8346,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -10152,6 +10172,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -10948,6 +10970,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -11789,6 +11813,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -12146,6 +12172,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -12988,6 +13016,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -14710,6 +14740,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -15725,6 +15757,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -16784,6 +16818,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -17150,6 +17186,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -17835,6 +17873,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: diff --git a/cmd/cli/kubectl-kyverno/data/crds/kyverno.io_clusterpolicies.yaml b/cmd/cli/kubectl-kyverno/data/crds/kyverno.io_clusterpolicies.yaml index bb725e929a..9040831584 100644 --- a/cmd/cli/kubectl-kyverno/data/crds/kyverno.io_clusterpolicies.yaml +++ b/cmd/cli/kubectl-kyverno/data/crds/kyverno.io_clusterpolicies.yaml @@ -364,6 +364,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -1366,6 +1368,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -2413,6 +2417,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -2770,6 +2776,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -3442,6 +3450,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -5195,6 +5205,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -6210,6 +6222,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -7269,6 +7283,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -7635,6 +7651,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -8320,6 +8338,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -10143,6 +10163,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -10939,6 +10961,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -11780,6 +11804,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -12137,6 +12163,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -12979,6 +13007,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -14701,6 +14731,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -15716,6 +15748,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -16775,6 +16809,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -17141,6 +17177,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -17826,6 +17864,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: diff --git a/cmd/cli/kubectl-kyverno/data/crds/kyverno.io_policies.yaml b/cmd/cli/kubectl-kyverno/data/crds/kyverno.io_policies.yaml index 079634690d..1181ddeb25 100644 --- a/cmd/cli/kubectl-kyverno/data/crds/kyverno.io_policies.yaml +++ b/cmd/cli/kubectl-kyverno/data/crds/kyverno.io_policies.yaml @@ -365,6 +365,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -1367,6 +1369,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -2414,6 +2418,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -2771,6 +2777,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -3443,6 +3451,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -5197,6 +5207,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -6212,6 +6224,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -7271,6 +7285,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -7637,6 +7653,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -8322,6 +8340,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -10146,6 +10166,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -10942,6 +10964,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -11783,6 +11807,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -12140,6 +12166,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -12982,6 +13010,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -14704,6 +14734,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -15719,6 +15751,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -16778,6 +16812,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -17144,6 +17180,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -17829,6 +17867,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: diff --git a/config/crds/kyverno/kyverno.io_cleanuppolicies.yaml b/config/crds/kyverno/kyverno.io_cleanuppolicies.yaml index 8023068da2..f35d1b5364 100644 --- a/config/crds/kyverno/kyverno.io_cleanuppolicies.yaml +++ b/config/crds/kyverno/kyverno.io_cleanuppolicies.yaml @@ -333,6 +333,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -1570,6 +1572,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: diff --git a/config/crds/kyverno/kyverno.io_clustercleanuppolicies.yaml b/config/crds/kyverno/kyverno.io_clustercleanuppolicies.yaml index 51897fe41f..ae2ba7bbb1 100644 --- a/config/crds/kyverno/kyverno.io_clustercleanuppolicies.yaml +++ b/config/crds/kyverno/kyverno.io_clustercleanuppolicies.yaml @@ -333,6 +333,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -1570,6 +1572,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: diff --git a/config/crds/kyverno/kyverno.io_clusterpolicies.yaml b/config/crds/kyverno/kyverno.io_clusterpolicies.yaml index bb725e929a..9040831584 100644 --- a/config/crds/kyverno/kyverno.io_clusterpolicies.yaml +++ b/config/crds/kyverno/kyverno.io_clusterpolicies.yaml @@ -364,6 +364,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -1366,6 +1368,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -2413,6 +2417,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -2770,6 +2776,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -3442,6 +3450,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -5195,6 +5205,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -6210,6 +6222,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -7269,6 +7283,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -7635,6 +7651,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -8320,6 +8338,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -10143,6 +10163,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -10939,6 +10961,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -11780,6 +11804,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -12137,6 +12163,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -12979,6 +13007,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -14701,6 +14731,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -15716,6 +15748,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -16775,6 +16809,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -17141,6 +17177,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -17826,6 +17864,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: diff --git a/config/crds/kyverno/kyverno.io_policies.yaml b/config/crds/kyverno/kyverno.io_policies.yaml index 079634690d..1181ddeb25 100644 --- a/config/crds/kyverno/kyverno.io_policies.yaml +++ b/config/crds/kyverno/kyverno.io_policies.yaml @@ -365,6 +365,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -1367,6 +1369,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -2414,6 +2418,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -2771,6 +2777,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -3443,6 +3451,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -5197,6 +5207,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -6212,6 +6224,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -7271,6 +7285,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -7637,6 +7653,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -8322,6 +8340,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -10146,6 +10166,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -10942,6 +10964,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -11783,6 +11807,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -12140,6 +12166,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -12982,6 +13010,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -14704,6 +14734,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -15719,6 +15751,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -16778,6 +16812,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -17144,6 +17180,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -17829,6 +17867,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: diff --git a/config/install-latest-testing.yaml b/config/install-latest-testing.yaml index f1bfda1928..7208e1f379 100644 --- a/config/install-latest-testing.yaml +++ b/config/install-latest-testing.yaml @@ -532,6 +532,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -1769,6 +1771,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -3032,6 +3036,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -4269,6 +4275,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -5563,6 +5571,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -6565,6 +6575,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -7612,6 +7624,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -7969,6 +7983,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -8641,6 +8657,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -10394,6 +10412,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -11409,6 +11429,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -12468,6 +12490,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -12834,6 +12858,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -13519,6 +13545,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -15342,6 +15370,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -16138,6 +16168,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -16979,6 +17011,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -17336,6 +17370,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -18178,6 +18214,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -19900,6 +19938,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -20915,6 +20955,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -21974,6 +22016,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -22340,6 +22384,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -23025,6 +23071,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -25122,6 +25170,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -26124,6 +26174,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -27171,6 +27223,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -27528,6 +27582,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -28200,6 +28256,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -29954,6 +30012,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -30969,6 +31029,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -32028,6 +32090,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -32394,6 +32458,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -33079,6 +33145,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -34903,6 +34971,8 @@ spec: in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -35699,6 +35769,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -36540,6 +36612,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -36897,6 +36971,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -37739,6 +37815,8 @@ spec: object representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: @@ -39461,6 +39539,8 @@ spec: representable in YAML or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array exclude: @@ -40476,6 +40556,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array data: @@ -41535,6 +41617,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array foreach: @@ -41901,6 +41985,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array kind: @@ -42586,6 +42672,8 @@ spec: or JSON form. x-kubernetes-preserve-unknown-fields: true type: object + required: + - name type: object type: array deny: