1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

support HTTP headers in service API calls (#11041)

* support HTTP headers in service API calls

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* generate CRDs

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix chunked tests

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix POST call

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

---------

Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Jim Bugwadia 2024-09-09 14:04:08 -07:00 committed by GitHub
parent be0ad07774
commit ce5cd476df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 3927 additions and 379 deletions

View file

@ -217,8 +217,8 @@ type APICall struct {
type ContextAPICall struct {
APICall `json:",inline"`
// Default is an optional arbitrary JSON object that the context may take if the apiCall
// returns error
// Default is an optional arbitrary JSON object that the context
// value is set to, if the apiCall returns error.
// +optional
Default *apiextv1.JSON `json:"default,omitempty"`
@ -250,6 +250,9 @@ type ServiceCall struct {
// `https://{service}.{namespace}:{port}/{path}`.
URL string `json:"url"`
// Headers is a list of optional HTTP headers to be included in the request.
Headers []HTTPHeader `json:"headers,omitempty"`
// CABundle is a PEM encoded CA bundle which will be used to validate
// the server certificate.
// +kubebuilder:validation:Optional
@ -269,6 +272,13 @@ type RequestData struct {
Value *apiextv1.JSON `json:"value"`
}
type HTTPHeader struct {
// Key is the header key
Key string `json:"key"`
// Value is the header value
Value string `json:"value"`
}
// Condition defines variable-based conditional criteria for rule execution.
type Condition struct {
// Key is the context entry (using JMESPath) for conditional rule evaluation.

View file

@ -44,7 +44,7 @@ func (in *APICall) DeepCopyInto(out *APICall) {
if in.Service != nil {
in, out := &in.Service, &out.Service
*out = new(ServiceCall)
**out = **in
(*in).DeepCopyInto(*out)
}
return
}
@ -733,6 +733,22 @@ func (in *GlobalContextEntryReference) DeepCopy() *GlobalContextEntryReference {
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader.
func (in *HTTPHeader) DeepCopy() *HTTPHeader {
if in == nil {
return nil
}
out := new(HTTPHeader)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in IgnoreFieldList) DeepCopyInto(out *IgnoreFieldList) {
{
@ -1472,6 +1488,11 @@ func (in *SecretReference) DeepCopy() *SecretReference {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ServiceCall) DeepCopyInto(out *ServiceCall) {
*out = *in
if in.Headers != nil {
in, out := &in.Headers, &out.Headers
*out = make([]HTTPHeader, len(*in))
copy(*out, *in)
}
return
}

View file

@ -194,8 +194,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -224,6 +224,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP headers
to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -1463,8 +1479,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -1493,6 +1509,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP headers
to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is

View file

@ -194,8 +194,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -224,6 +224,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP headers
to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -1463,8 +1479,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -1493,6 +1509,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP headers
to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is

View file

@ -230,8 +230,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -260,6 +260,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP
headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -1248,8 +1264,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -1278,6 +1294,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -2314,8 +2349,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -2344,6 +2379,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -2678,8 +2732,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -2708,6 +2762,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -3362,8 +3435,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -3392,6 +3465,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -5164,8 +5256,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -5194,6 +5286,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -6192,8 +6300,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -6222,6 +6330,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -7270,8 +7397,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -7300,6 +7427,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -7643,8 +7789,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -7673,6 +7819,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -8340,8 +8505,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -8370,6 +8535,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -10216,8 +10400,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -10246,6 +10430,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP
headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -11028,8 +11228,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -11058,6 +11258,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -11888,8 +12107,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -11918,6 +12137,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -12252,8 +12490,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -12282,6 +12520,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -13101,8 +13358,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -13131,6 +13388,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -14872,8 +15148,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -14902,6 +15178,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -15900,8 +16192,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -15930,6 +16222,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -16978,8 +17289,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -17008,6 +17319,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -17351,8 +17681,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -17381,6 +17711,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -18048,8 +18397,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -18078,6 +18427,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is

View file

@ -127,6 +127,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP headers to
be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is

View file

@ -231,8 +231,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -261,6 +261,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP
headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -1249,8 +1265,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -1279,6 +1295,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -2315,8 +2350,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -2345,6 +2380,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -2679,8 +2733,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -2709,6 +2763,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -3363,8 +3436,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -3393,6 +3466,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -5166,8 +5258,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -5196,6 +5288,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -6194,8 +6302,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -6224,6 +6332,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -7272,8 +7399,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -7302,6 +7429,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -7645,8 +7791,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -7675,6 +7821,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -8342,8 +8507,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -8372,6 +8537,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -10219,8 +10403,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -10249,6 +10433,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP
headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -11031,8 +11231,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -11061,6 +11261,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -11891,8 +12110,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -11921,6 +12140,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -12255,8 +12493,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -12285,6 +12523,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -13104,8 +13361,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -13134,6 +13391,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -14875,8 +15151,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -14905,6 +15181,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -15903,8 +16195,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -15933,6 +16225,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -16981,8 +17292,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -17011,6 +17322,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -17354,8 +17684,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -17384,6 +17714,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -18051,8 +18400,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -18081,6 +18430,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is

View file

@ -224,8 +224,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -254,6 +254,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP
headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -1242,8 +1258,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -1272,6 +1288,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -2308,8 +2343,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -2338,6 +2373,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -2672,8 +2726,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -2702,6 +2756,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -3356,8 +3429,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -3386,6 +3459,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -5158,8 +5250,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -5188,6 +5280,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -6186,8 +6294,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -6216,6 +6324,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -7264,8 +7391,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -7294,6 +7421,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -7637,8 +7783,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -7667,6 +7813,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -8334,8 +8499,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -8364,6 +8529,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -10210,8 +10394,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -10240,6 +10424,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP
headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -11022,8 +11222,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -11052,6 +11252,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -11882,8 +12101,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -11912,6 +12131,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -12246,8 +12484,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -12276,6 +12514,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -13095,8 +13352,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -13125,6 +13382,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -14866,8 +15142,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -14896,6 +15172,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -15894,8 +16186,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -15924,6 +16216,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -16972,8 +17283,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -17002,6 +17313,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -17345,8 +17675,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -17375,6 +17705,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -18042,8 +18391,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -18072,6 +18421,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is

View file

@ -225,8 +225,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -255,6 +255,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP
headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -1243,8 +1259,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -1273,6 +1289,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -2309,8 +2344,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -2339,6 +2374,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -2673,8 +2727,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -2703,6 +2757,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -3357,8 +3430,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -3387,6 +3460,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -5160,8 +5252,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -5190,6 +5282,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -6188,8 +6296,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -6218,6 +6326,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -7266,8 +7393,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -7296,6 +7423,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -7639,8 +7785,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -7669,6 +7815,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -8336,8 +8501,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -8366,6 +8531,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -10213,8 +10397,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -10243,6 +10427,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP
headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -11025,8 +11225,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -11055,6 +11255,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -11885,8 +12104,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -11915,6 +12134,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -12249,8 +12487,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -12279,6 +12517,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -13098,8 +13355,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -13128,6 +13385,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -14869,8 +15145,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -14899,6 +15175,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -15897,8 +16189,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -15927,6 +16219,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -16975,8 +17286,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -17005,6 +17316,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -17348,8 +17678,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -17378,6 +17708,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -18045,8 +18394,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -18075,6 +18424,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is

View file

@ -188,8 +188,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -218,6 +218,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP headers
to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -1457,8 +1473,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -1487,6 +1503,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP headers
to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is

View file

@ -188,8 +188,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -218,6 +218,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP headers
to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -1457,8 +1473,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -1487,6 +1503,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP headers
to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is

View file

@ -224,8 +224,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -254,6 +254,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP
headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -1242,8 +1258,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -1272,6 +1288,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -2308,8 +2343,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -2338,6 +2373,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -2672,8 +2726,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -2702,6 +2756,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -3356,8 +3429,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -3386,6 +3459,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -5158,8 +5250,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -5188,6 +5280,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -6186,8 +6294,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -6216,6 +6324,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -7264,8 +7391,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -7294,6 +7421,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -7637,8 +7783,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -7667,6 +7813,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -8334,8 +8499,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -8364,6 +8529,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -10210,8 +10394,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -10240,6 +10424,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP
headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -11022,8 +11222,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -11052,6 +11252,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -11882,8 +12101,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -11912,6 +12131,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -12246,8 +12484,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -12276,6 +12514,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -13095,8 +13352,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -13125,6 +13382,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -14866,8 +15142,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -14896,6 +15172,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -15894,8 +16186,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -15924,6 +16216,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -16972,8 +17283,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -17002,6 +17313,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -17345,8 +17675,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -17375,6 +17705,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -18042,8 +18391,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -18072,6 +18421,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is

View file

@ -121,6 +121,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP headers to
be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is

View file

@ -225,8 +225,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -255,6 +255,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP
headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -1243,8 +1259,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -1273,6 +1289,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -2309,8 +2344,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -2339,6 +2374,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -2673,8 +2727,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -2703,6 +2757,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -3357,8 +3430,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -3387,6 +3460,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -5160,8 +5252,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -5190,6 +5282,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -6188,8 +6296,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -6218,6 +6326,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -7266,8 +7393,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -7296,6 +7423,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -7639,8 +7785,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -7669,6 +7815,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -8336,8 +8501,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -8366,6 +8531,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -10213,8 +10397,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -10243,6 +10427,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional HTTP
headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -11025,8 +11225,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -11055,6 +11255,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -11885,8 +12104,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -11915,6 +12134,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -12249,8 +12487,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -12279,6 +12517,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -13098,8 +13355,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -13128,6 +13385,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the
request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the header
value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -14869,8 +15145,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -14899,6 +15175,22 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of optional
HTTP headers to be included in the request.
items:
properties:
key:
description: Key is the header key
type: string
value:
description: Value is the header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -15897,8 +16189,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -15927,6 +16219,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -16975,8 +17286,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -17005,6 +17316,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -17348,8 +17678,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -17378,6 +17708,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is
@ -18045,8 +18394,8 @@ spec:
type: array
default:
description: |-
Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error
Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.
x-kubernetes-preserve-unknown-fields: true
jmesPath:
description: |-
@ -18075,6 +18424,25 @@ spec:
CABundle is a PEM encoded CA bundle which will be used to validate
the server certificate.
type: string
headers:
description: Headers is a list of
optional HTTP headers to be included
in the request.
items:
properties:
key:
description: Key is the header
key
type: string
value:
description: Value is the
header value
type: string
required:
- key
- value
type: object
type: array
url:
description: |-
URL is the JSON web service URL. A typical form is

File diff suppressed because it is too large Load diff

View file

@ -1491,8 +1491,8 @@ Kubernetes apiextensions/v1.JSON
</td>
<td>
<em>(Optional)</em>
<p>Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error</p>
<p>Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.</p>
</td>
</tr>
<tr>
@ -2334,6 +2334,47 @@ of deployments across all namespaces.</p>
</tbody>
</table>
<hr />
<h3 id="kyverno.io/v1.HTTPHeader">HTTPHeader
</h3>
<p>
(<em>Appears on:</em>
<a href="#kyverno.io/v1.ServiceCall">ServiceCall</a>)
</p>
<p>
</p>
<table class="table table-striped">
<thead class="thead-dark">
<tr>
<th>Field</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code>key</code><br/>
<em>
string
</em>
</td>
<td>
<p>Key is the header key</p>
</td>
</tr>
<tr>
<td>
<code>value</code><br/>
<em>
string
</em>
</td>
<td>
<p>Value is the header value</p>
</td>
</tr>
</tbody>
</table>
<hr />
<h3 id="kyverno.io/v1.ImageExtractorConfig">ImageExtractorConfig
</h3>
<p>
@ -4204,6 +4245,19 @@ string
</tr>
<tr>
<td>
<code>headers</code><br/>
<em>
<a href="#kyverno.io/v1.HTTPHeader">
[]HTTPHeader
</a>
</em>
</td>
<td>
<p>Headers is a list of optional HTTP headers to be included in the request.</p>
</td>
</tr>
<tr>
<td>
<code>caBundle</code><br/>
<em>
string

View file

@ -3064,8 +3064,8 @@ or can be variables declared using JMESPath.</p>
<td>
<p>Default is an optional arbitrary JSON object that the context may take if the apiCall
returns error</p>
<p>Default is an optional arbitrary JSON object that the context
value is set to, if the apiCall returns error.</p>
@ -4766,6 +4766,99 @@ of deployments across all namespaces.</p>
</tbody>
</table>
<H3 id="kyverno-io-v1-HTTPHeader">HTTPHeader
</H3>
<p>
(<em>Appears in:</em>
<a href="#kyverno-io-v1-ServiceCall">ServiceCall</a>)
</p>
<p></p>
<table class="table table-striped">
<thead class="thead-dark">
<tr>
<th>Field</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>key</code>
<span style="color:blue;"> *</span>
</br>
<span style="font-family: monospace">string</span>
</td>
<td>
<p>Key is the header key</p>
</td>
</tr>
<tr>
<td><code>value</code>
<span style="color:blue;"> *</span>
</br>
<span style="font-family: monospace">string</span>
</td>
<td>
<p>Value is the header value</p>
</td>
</tr>
</tbody>
</table>
@ -8406,6 +8499,37 @@ validate, generate, mutate and verify images rules</p>
<tr>
<td><code>headers</code>
<span style="color:blue;"> *</span>
</br>
<a href="#kyverno-io-v1-HTTPHeader">
<span style="font-family: monospace">[]HTTPHeader</span>
</a>
</td>
<td>
<p>Headers is a list of optional HTTP headers to be included in the request.</p>
</td>
</tr>
<tr>
<td><code>caBundle</code>

View file

@ -0,0 +1,48 @@
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1
// HTTPHeaderApplyConfiguration represents an declarative configuration of the HTTPHeader type for use
// with apply.
type HTTPHeaderApplyConfiguration struct {
Key *string `json:"key,omitempty"`
Value *string `json:"value,omitempty"`
}
// HTTPHeaderApplyConfiguration constructs an declarative configuration of the HTTPHeader type for use with
// apply.
func HTTPHeader() *HTTPHeaderApplyConfiguration {
return &HTTPHeaderApplyConfiguration{}
}
// WithKey sets the Key field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Key field is set to the value of the last call.
func (b *HTTPHeaderApplyConfiguration) WithKey(value string) *HTTPHeaderApplyConfiguration {
b.Key = &value
return b
}
// WithValue sets the Value field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Value field is set to the value of the last call.
func (b *HTTPHeaderApplyConfiguration) WithValue(value string) *HTTPHeaderApplyConfiguration {
b.Value = &value
return b
}

View file

@ -22,6 +22,7 @@ package v1
// with apply.
type ServiceCallApplyConfiguration struct {
URL *string `json:"url,omitempty"`
Headers []HTTPHeaderApplyConfiguration `json:"headers,omitempty"`
CABundle *string `json:"caBundle,omitempty"`
}
@ -39,6 +40,19 @@ func (b *ServiceCallApplyConfiguration) WithURL(value string) *ServiceCallApplyC
return b
}
// WithHeaders adds the given value to the Headers field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Headers field.
func (b *ServiceCallApplyConfiguration) WithHeaders(values ...*HTTPHeaderApplyConfiguration) *ServiceCallApplyConfiguration {
for i := range values {
if values[i] == nil {
panic("nil value passed to WithHeaders")
}
b.Headers = append(b.Headers, *values[i])
}
return b
}
// WithCABundle sets the CABundle field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the CABundle field is set to the value of the last call.

View file

@ -89,6 +89,8 @@ func ForKind(kind schema.GroupVersionKind) interface{} {
return &kyvernov1.GenerationApplyConfiguration{}
case v1.SchemeGroupVersion.WithKind("GlobalContextEntryReference"):
return &kyvernov1.GlobalContextEntryReferenceApplyConfiguration{}
case v1.SchemeGroupVersion.WithKind("HTTPHeader"):
return &kyvernov1.HTTPHeaderApplyConfiguration{}
case v1.SchemeGroupVersion.WithKind("ImageExtractorConfig"):
return &kyvernov1.ImageExtractorConfigApplyConfiguration{}
case v1.SchemeGroupVersion.WithKind("ImageRegistry"):

View file

@ -2,7 +2,7 @@ package apicall
import (
"context"
"fmt"
"encoding/json"
"io"
"net/http"
"net/http/httptest"
@ -34,17 +34,34 @@ func buildTestServer(responseData []byte, useChunked bool) *httptest.Server {
mux := http.NewServeMux()
mux.HandleFunc("/resource", func(w http.ResponseWriter, r *http.Request) {
if r.Method == "GET" {
w.Write(responseData)
auth := r.Header.Get("Authorization")
if auth != "Bearer 1234567890" {
http.Error(w, "Unauthorized", http.StatusUnauthorized)
return
}
contentType := r.Header.Get("Content-Type")
if contentType != "application/json" {
http.Error(w, "StatusUnsupportedMediaType", http.StatusUnsupportedMediaType)
return
}
if useChunked {
flusher, ok := w.(http.Flusher)
if !ok {
panic("expected http.ResponseWriter to be an http.Flusher")
http.Error(w, "expected http.ResponseWriter to be an http.Flusher", http.StatusInternalServerError)
return
}
for i := 1; i <= 10; i++ {
fmt.Fprintf(w, "Chunk #%d\n", i)
chunkSize := len(responseData) / 10
for i := 0; i < 10; i++ {
data := responseData[i*chunkSize : (i+1)*chunkSize]
w.Write(data)
flusher.Flush()
}
w.Write(responseData[10*chunkSize:])
flusher.Flush()
} else {
w.Write(responseData)
}
return
@ -63,7 +80,7 @@ func buildTestServer(responseData []byte, useChunked bool) *httptest.Server {
func Test_serviceGetRequest(t *testing.T) {
testfn := func(t *testing.T, useChunked bool) {
serverResponse := []byte(`{ "day": "Sunday" }`)
s := buildTestServer(serverResponse, false)
s := buildTestServer(serverResponse, useChunked)
defer s.Close()
entry := kyvernov1.ContextEntry{}
@ -77,6 +94,10 @@ func Test_serviceGetRequest(t *testing.T) {
APICall: kyvernov1.APICall{
Service: &kyvernov1.ServiceCall{
URL: s.URL,
Headers: []kyvernov1.HTTPHeader{
{Key: "Authorization", Value: "Bearer 1234567890"},
{Key: "Content-Type", Value: "application/json"},
},
},
},
}
@ -192,3 +213,58 @@ func Test_servicePostRequest(t *testing.T) {
expectedResults := `{"images":["https://ghcr.io/tomcat/tomcat:9","https://ghcr.io/vault/vault:v3","https://ghcr.io/busybox/busybox:latest"]}`
assert.Equal(t, string(expectedResults)+"\n", string(data))
}
func buildEchoHeaderTestServer() *httptest.Server {
mux := http.NewServeMux()
mux.HandleFunc("/resource", func(w http.ResponseWriter, r *http.Request) {
if r.Method == "GET" {
responseData := make(map[string][]string)
for k, v := range r.Header {
responseData[k] = v
}
responseBytes, err := json.Marshal(responseData)
if err != nil {
http.Error(w, "Internal Server Error", http.StatusInternalServerError)
return
}
w.Write(responseBytes)
}
})
return httptest.NewServer(mux)
}
func Test_serviceHeaders(t *testing.T) {
s := buildEchoHeaderTestServer()
defer s.Close()
entry := kyvernov1.ContextEntry{}
ctx := enginecontext.NewContext(jp)
entry.Name = "test"
entry.APICall = &kyvernov1.ContextAPICall{
APICall: kyvernov1.APICall{
Method: "GET",
Service: &kyvernov1.ServiceCall{
URL: s.URL + "/resource",
Headers: []kyvernov1.HTTPHeader{
{Key: "Content-Type", Value: "application/json"},
{Key: "Custom-Key", Value: "CustomVal"},
},
},
},
}
entry.APICall.Service.URL = s.URL + "/resource"
call, err := New(logr.Discard(), jp, entry, ctx, nil, apiConfig)
assert.NilError(t, err)
data, err := call.FetchAndLoad(context.TODO())
assert.NilError(t, err)
assert.Assert(t, data != nil, "nil data")
var responseHeaders map[string][]string
err = json.Unmarshal(data, &responseHeaders)
assert.NilError(t, err)
assert.Equal(t, 4, len(responseHeaders))
assert.Equal(t, "application/json", responseHeaders["Content-Type"][0])
assert.Equal(t, "CustomVal", responseHeaders["Custom-Key"][0])
}

View file

@ -110,34 +110,49 @@ func (a *executor) executeServiceCall(ctx context.Context, apiCall *kyvernov1.AP
return body, nil
}
func (a *executor) buildHTTPRequest(ctx context.Context, apiCall *kyvernov1.APICall) (req *http.Request, err error) {
func (a *executor) buildHTTPRequest(ctx context.Context, apiCall *kyvernov1.APICall) (*http.Request, error) {
if apiCall.Service == nil {
return nil, fmt.Errorf("missing service")
}
if apiCall.Method != "GET" && apiCall.Method != "POST" {
return nil, fmt.Errorf("invalid request type %s for APICall %s", apiCall.Method, a.name)
}
var data io.Reader = nil
if apiCall.Method == "POST" {
var err error
data, err = a.buildRequestData(apiCall.Data)
if err != nil {
return nil, fmt.Errorf("failed to build request data for APICall %s: %w", a.name, err)
}
}
req, err := http.NewRequestWithContext(ctx, string(apiCall.Method), apiCall.Service.URL, data)
if err != nil {
return nil, fmt.Errorf("failed to build request for APICall %s: %w", a.name, err)
}
if err := a.addHTTPHeaders(req, apiCall.Service.Headers); err != nil {
return nil, fmt.Errorf("failed to add headers for APICall %s: %w", a.name, err)
}
return req, nil
}
func (a *executor) addHTTPHeaders(req *http.Request, headers []kyvernov1.HTTPHeader) error {
for _, header := range headers {
req.Header.Add(header.Key, header.Value)
}
if req.Header.Get("Authorization") == "" {
token := a.getToken()
defer func() {
if token != "" && req != nil {
if token != "" {
req.Header.Add("Authorization", "Bearer "+token)
}
}()
if apiCall.Method == "GET" {
req, err = http.NewRequestWithContext(ctx, "GET", apiCall.Service.URL, nil)
return
}
if apiCall.Method == "POST" {
data, dataErr := a.buildRequestData(apiCall.Data)
if dataErr != nil {
return nil, dataErr
}
req, err = http.NewRequest("POST", apiCall.Service.URL, data)
return
}
return nil, fmt.Errorf("invalid request type %s for APICall %s", apiCall.Method, a.name)
return nil
}
func (a *executor) getToken() string {