diff --git a/api/kyverno/v1/common_types.go b/api/kyverno/v1/common_types.go index 41b409fb30..906572b59f 100644 --- a/api/kyverno/v1/common_types.go +++ b/api/kyverno/v1/common_types.go @@ -95,6 +95,9 @@ type ContextEntry struct { // Variable defines an arbitrary JMESPath context variable that can be defined inline. Variable *Variable `json:"variable,omitempty" yaml:"variable,omitempty"` + + // GlobalContextEntryReference is a reference to a cached global context entry. + GlobalReference *GlobalContextEntryReference `json:"globalReference,omitempty" yaml:"globalReference,omitempty"` } // Variable defines an arbitrary JMESPath context variable that can be defined inline. diff --git a/api/kyverno/v1/zz_generated.deepcopy.go b/api/kyverno/v1/zz_generated.deepcopy.go index b7556e4804..4dde45af8d 100755 --- a/api/kyverno/v1/zz_generated.deepcopy.go +++ b/api/kyverno/v1/zz_generated.deepcopy.go @@ -483,6 +483,11 @@ func (in *ContextEntry) DeepCopyInto(out *ContextEntry) { *out = new(Variable) (*in).DeepCopyInto(*out) } + if in.GlobalReference != nil { + in, out := &in.GlobalReference, &out.GlobalReference + *out = new(GlobalContextEntryReference) + **out = **in + } return } 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 16560318a4..1c770d8c25 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 @@ -221,6 +221,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -1462,6 +1478,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -2703,6 +2735,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. 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 404652a486..0e1b3499e7 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 @@ -221,6 +221,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -1462,6 +1478,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -2703,6 +2735,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. 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 e2d25caff5..46bb9fab0f 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 @@ -267,6 +267,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -1975,6 +1992,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -2308,6 +2344,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -2873,6 +2928,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -4686,6 +4760,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -6472,6 +6563,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -6820,6 +6932,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -7415,6 +7548,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -9378,6 +9532,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -10660,6 +10831,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -10993,6 +11183,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -11737,6 +11946,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -13524,6 +13752,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -15310,6 +15555,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -15658,6 +15924,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -16253,6 +16540,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch 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 71026e00ca..54b590b29c 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 @@ -268,6 +268,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -1976,6 +1993,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -2309,6 +2345,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -2874,6 +2929,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -4688,6 +4762,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -6474,6 +6565,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -6822,6 +6934,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -7417,6 +7550,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -9381,6 +9535,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -10663,6 +10834,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -10996,6 +11186,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -11740,6 +11949,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -13527,6 +13755,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -15313,6 +15558,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -15661,6 +15927,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -16256,6 +16543,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch diff --git a/cmd/background-controller/main.go b/cmd/background-controller/main.go index 7a7819550a..7c4387c5f1 100644 --- a/cmd/background-controller/main.go +++ b/cmd/background-controller/main.go @@ -155,12 +155,13 @@ func main() { eventGenerator, event.Workers, ) + gcstore := store.New() gceController := internal.NewController( globalcontextcontroller.ControllerName, globalcontextcontroller.NewController( kyvernoInformer.Kyverno().V2alpha1().GlobalContextEntries(), setup.KyvernoDynamicClient, - store.New(), + gcstore, maxAPICallResponseLength, ), globalcontextcontroller.Workers, @@ -184,6 +185,7 @@ func main() { setup.KyvernoClient, setup.RegistrySecretLister, apicall.NewAPICallConfiguration(maxAPICallResponseLength), + gcstore, ) // start informers and wait for cache sync if !internal.StartInformersAndWaitForCacheSync(signalCtx, setup.Logger, kyvernoInformer) { diff --git a/cmd/cleanup-controller/main.go b/cmd/cleanup-controller/main.go index 3649ead3b6..507995bde7 100644 --- a/cmd/cleanup-controller/main.go +++ b/cmd/cleanup-controller/main.go @@ -161,12 +161,13 @@ func main() { eventGenerator, event.Workers, ) + gcstore := store.New() gceController := internal.NewController( globalcontextcontroller.ControllerName, globalcontextcontroller.NewController( kyvernoInformer.Kyverno().V2alpha1().GlobalContextEntries(), setup.KyvernoDynamicClient, - store.New(), + gcstore, maxAPICallResponseLength, ), globalcontextcontroller.Workers, 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 8211d5224a..b56aad1554 100644 --- a/cmd/cli/kubectl-kyverno/data/crds/kyverno.io_clusterpolicies.yaml +++ b/cmd/cli/kubectl-kyverno/data/crds/kyverno.io_clusterpolicies.yaml @@ -261,6 +261,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -1969,6 +1986,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -2302,6 +2338,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -2867,6 +2922,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -4680,6 +4754,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -6466,6 +6557,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -6814,6 +6926,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -7409,6 +7542,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -9372,6 +9526,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -10654,6 +10825,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -10987,6 +11177,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -11731,6 +11940,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -13518,6 +13746,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -15304,6 +15549,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -15652,6 +15918,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -16247,6 +16534,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch 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 10bc7926d4..ad1025d101 100644 --- a/cmd/cli/kubectl-kyverno/data/crds/kyverno.io_policies.yaml +++ b/cmd/cli/kubectl-kyverno/data/crds/kyverno.io_policies.yaml @@ -262,6 +262,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -1970,6 +1987,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -2303,6 +2339,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -2868,6 +2923,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -4682,6 +4756,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -6468,6 +6559,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -6816,6 +6928,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -7411,6 +7544,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -9375,6 +9529,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -10657,6 +10828,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -10990,6 +11180,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -11734,6 +11943,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -13521,6 +13749,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -15307,6 +15552,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -15655,6 +15921,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -16250,6 +16537,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch diff --git a/cmd/internal/engine.go b/cmd/internal/engine.go index 0e451e606b..f1754a73f5 100644 --- a/cmd/internal/engine.go +++ b/cmd/internal/engine.go @@ -14,6 +14,7 @@ import ( "github.com/kyverno/kyverno/pkg/engine/adapters" engineapi "github.com/kyverno/kyverno/pkg/engine/api" "github.com/kyverno/kyverno/pkg/engine/apicall" + "github.com/kyverno/kyverno/pkg/engine/context/loaders" "github.com/kyverno/kyverno/pkg/engine/context/resolvers" "github.com/kyverno/kyverno/pkg/engine/factories" "github.com/kyverno/kyverno/pkg/engine/jmespath" @@ -36,6 +37,7 @@ func NewEngine( kyvernoClient versioned.Interface, secretLister corev1listers.SecretNamespaceLister, apiCallConfig apicall.APICallConfiguration, + gctxStore loaders.Store, ) engineapi.Engine { configMapResolver := NewConfigMapResolver(ctx, logger, kubeClient, 15*time.Minute) exceptionsSelector := NewExceptionSelector(ctx, logger, kyvernoClient, 15*time.Minute) @@ -48,7 +50,7 @@ func NewEngine( adapters.Client(client), factories.DefaultRegistryClientFactory(adapters.RegistryClient(rclient), secretLister), ivCache, - factories.DefaultContextLoaderFactory(configMapResolver, factories.WithAPICallConfig(apiCallConfig)), + factories.DefaultContextLoaderFactory(configMapResolver, factories.WithAPICallConfig(apiCallConfig), factories.WithGlobalContextStore(gctxStore)), exceptionsSelector, imageSignatureRepository, ) diff --git a/cmd/kyverno/main.go b/cmd/kyverno/main.go index 6fdb07b13f..719fa8ced9 100644 --- a/cmd/kyverno/main.go +++ b/cmd/kyverno/main.go @@ -149,6 +149,7 @@ func createrLeaderControllers( caInformer, kubeKyvernoInformer.Coordination().V1().Leases(), kubeInformer.Rbac().V1().ClusterRoles(), + kyvernoInformer.Kyverno().V2alpha1().GlobalContextEntries(), serverIP, int32(webhookTimeout), servicePort, @@ -356,12 +357,13 @@ func main() { logging.WithName("EventGenerator"), strings.Split(omitEvents, ",")..., ) + gcstore := store.New() gceController := internal.NewController( globalcontextcontroller.ControllerName, globalcontextcontroller.NewController( kyvernoInformer.Kyverno().V2alpha1().GlobalContextEntries(), setup.KyvernoDynamicClient, - store.New(), + gcstore, maxAPICallResponseLength, ), globalcontextcontroller.Workers, @@ -411,6 +413,7 @@ func main() { setup.KyvernoClient, setup.RegistrySecretLister, apicall.NewAPICallConfiguration(maxAPICallResponseLength), + gcstore, ) // create non leader controllers nonLeaderControllers, nonLeaderBootstrap := createNonLeaderControllers( diff --git a/cmd/reports-controller/main.go b/cmd/reports-controller/main.go index ce7ad14eb2..6ec0525065 100644 --- a/cmd/reports-controller/main.go +++ b/cmd/reports-controller/main.go @@ -285,12 +285,13 @@ func main() { eventGenerator, event.Workers, ) + gcstore := store.New() gceController := internal.NewController( globalcontextcontroller.ControllerName, globalcontextcontroller.NewController( kyvernoInformer.Kyverno().V2alpha1().GlobalContextEntries(), setup.KyvernoDynamicClient, - store.New(), + gcstore, maxAPICallResponseLength, ), globalcontextcontroller.Workers, @@ -309,6 +310,7 @@ func main() { setup.KyvernoClient, setup.RegistrySecretLister, apicall.NewAPICallConfiguration(maxAPICallResponseLength), + gcstore, ) // start informers and wait for cache sync if !internal.StartInformersAndWaitForCacheSync(ctx, setup.Logger, kyvernoInformer) { diff --git a/config/crds/kyverno/kyverno.io_cleanuppolicies.yaml b/config/crds/kyverno/kyverno.io_cleanuppolicies.yaml index b1319e9be2..80334db6b8 100644 --- a/config/crds/kyverno/kyverno.io_cleanuppolicies.yaml +++ b/config/crds/kyverno/kyverno.io_cleanuppolicies.yaml @@ -215,6 +215,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -1456,6 +1472,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -2697,6 +2729,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. diff --git a/config/crds/kyverno/kyverno.io_clustercleanuppolicies.yaml b/config/crds/kyverno/kyverno.io_clustercleanuppolicies.yaml index f074c60f17..39e13e6cbe 100644 --- a/config/crds/kyverno/kyverno.io_clustercleanuppolicies.yaml +++ b/config/crds/kyverno/kyverno.io_clustercleanuppolicies.yaml @@ -215,6 +215,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -1456,6 +1472,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -2697,6 +2729,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. diff --git a/config/crds/kyverno/kyverno.io_clusterpolicies.yaml b/config/crds/kyverno/kyverno.io_clusterpolicies.yaml index 8211d5224a..b56aad1554 100644 --- a/config/crds/kyverno/kyverno.io_clusterpolicies.yaml +++ b/config/crds/kyverno/kyverno.io_clusterpolicies.yaml @@ -261,6 +261,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -1969,6 +1986,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -2302,6 +2338,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -2867,6 +2922,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -4680,6 +4754,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -6466,6 +6557,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -6814,6 +6926,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -7409,6 +7542,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -9372,6 +9526,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -10654,6 +10825,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -10987,6 +11177,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -11731,6 +11940,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -13518,6 +13746,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -15304,6 +15549,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -15652,6 +15918,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -16247,6 +16534,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch diff --git a/config/crds/kyverno/kyverno.io_policies.yaml b/config/crds/kyverno/kyverno.io_policies.yaml index 10bc7926d4..ad1025d101 100644 --- a/config/crds/kyverno/kyverno.io_policies.yaml +++ b/config/crds/kyverno/kyverno.io_policies.yaml @@ -262,6 +262,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -1970,6 +1987,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -2303,6 +2339,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -2868,6 +2923,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -4682,6 +4756,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -6468,6 +6559,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -6816,6 +6928,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -7411,6 +7544,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -9375,6 +9529,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -10657,6 +10828,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -10990,6 +11180,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -11734,6 +11943,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -13521,6 +13749,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -15307,6 +15552,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -15655,6 +15921,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -16250,6 +16537,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch diff --git a/config/install-latest-testing.yaml b/config/install-latest-testing.yaml index 1f0b30654f..701e80b53e 100644 --- a/config/install-latest-testing.yaml +++ b/config/install-latest-testing.yaml @@ -1655,6 +1655,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -2896,6 +2912,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -4137,6 +4169,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -6635,6 +6683,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -7876,6 +7940,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -9117,6 +9197,22 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference to a + cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response returned + from the server. For example a JMESPath of "items | length(@)" + applied to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across all + namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -10431,6 +10527,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -12139,6 +12252,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -12472,6 +12604,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -13037,6 +13188,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -14850,6 +15020,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -16636,6 +16823,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -16984,6 +17192,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -17579,6 +17808,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -19542,6 +19792,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -20824,6 +21091,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -21157,6 +21443,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -21901,6 +22206,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -23688,6 +24012,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -25474,6 +25815,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -25822,6 +26184,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -26417,6 +26800,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -28611,6 +29015,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -30319,6 +30740,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -30652,6 +31092,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -31217,6 +31676,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -33031,6 +33509,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -34817,6 +35312,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -35165,6 +35681,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -35760,6 +36297,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -37724,6 +38282,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match Expression + that can be used to transform the JSON response + returned from the server. For example a JMESPath + of "items | length(@)" applied to the API server + response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -39006,6 +39581,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -39339,6 +39933,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -40083,6 +40696,25 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is + a reference to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON + Match Expression that can be used to transform + the JSON response returned from the server. + For example a JMESPath of "items | length(@)" + applied to the API server response for + the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image @@ -41870,6 +42502,23 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference is a reference + to a cached global context entry. + properties: + jmesPath: + description: JMESPath is an optional JSON Match + Expression that can be used to transform the + JSON response returned from the server. For + example a JMESPath of "items | length(@)" applied + to the API server response for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments across + all namespaces. + type: string + name: + description: Name of the global context entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image details. @@ -43656,6 +44305,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -44004,6 +44674,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch @@ -44599,6 +45290,27 @@ spec: required: - name type: object + globalReference: + description: GlobalContextEntryReference + is a reference to a cached global context + entry. + properties: + jmesPath: + description: JMESPath is an optional + JSON Match Expression that can be + used to transform the JSON response + returned from the server. For example + a JMESPath of "items | length(@)" + applied to the API server response + for the URLPath "/apis/apps/v1/deployments" + will return the total count of deployments + across all namespaces. + type: string + name: + description: Name of the global context + entry + type: string + type: object imageRegistry: description: ImageRegistry defines requests to an OCI/Docker V2 registry to fetch diff --git a/docs/user/crd/index.html b/docs/user/crd/index.html index 3acb04aff7..055b4524ca 100644 --- a/docs/user/crd/index.html +++ b/docs/user/crd/index.html @@ -1522,6 +1522,19 @@ Variable
Variable defines an arbitrary JMESPath context variable that can be defined inline.
+globalReference
GlobalContextEntryReference is a reference to a cached global context entry.
++(Appears on: +ContextEntry) +
+
globalReference
+
+ *
+
+
+
+
+
+
+
+ GlobalContextEntryReference
+
+
+
+ |
+
+
+
+ GlobalContextEntryReference is a reference to a cached global context entry. + + + + + + |
+
+ (Appears in: + ContextEntry) +
+ + + + + +Field | +Description | +
---|---|
name
+
+ *
+
+
+
+
+
+
+ string
+
+
+ |
+
+
+
+ Name of the global context entry + + + + + + |
+
jmesPath
+
+ *
+
+
+
+
+
+
+ string
+
+
+ |
+
+
+
+ JMESPath is an optional JSON Match Expression that can be used to +transform the JSON response returned from the server. For example +a JMESPath of "items | length(@)" applied to the API server response +for the URLPath "/apis/apps/v1/deployments" will return the total count +of deployments across all namespaces. + + + + + + |
+