File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ import (
24
24
25
25
type IPSpecIPSources struct {
26
26
// URL of the IP source (e.g. https://checkip.amazonaws.com)
27
- // +optional
28
27
URL string `json:"url,omitempty"`
29
28
// RequestBody to be sent to the URL
30
29
// +optional
@@ -38,7 +37,7 @@ type IPSpecIPSources struct {
38
37
RequestHeadersSecretRef corev1.SecretReference `json:"requestHeadersSecretRef,omitempty"`
39
38
// RequestMethod defines the HTTP method to be used
40
39
// +kubebuilder:validation:Enum=GET;POST;PUT;DELETE
41
- // +kubebuilder:default=GET
40
+ // +optional
42
41
RequestMethod string `json:"requestMethod,omitempty"`
43
42
// ResponseJQFilter applies a JQ filter to the response to extract the IP
44
43
// +optional
Original file line number Diff line number Diff line change 91
91
type : object
92
92
x-kubernetes-map-type : atomic
93
93
requestMethod :
94
- default : GET
95
94
description : RequestMethod defines the HTTP method to be used
96
95
enum :
97
96
- GET
You can’t perform that action at this time.
0 commit comments