Skip to content

Commit

Permalink
BUILD/MINOR: go.mod: update client-native package
Browse files Browse the repository at this point in the history
  • Loading branch information
oktalz committed Sep 23, 2024
1 parent 66197cd commit ecf8a20
Show file tree
Hide file tree
Showing 10 changed files with 167 additions and 143 deletions.
2 changes: 1 addition & 1 deletion crs/api/ingress/v1/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v5.1.4"
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v5.1.11"

// Backend is a specification for a Backend resource
type Backend struct {
Expand Down
2 changes: 1 addition & 1 deletion crs/api/ingress/v1/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v5.1.4"
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v5.1.11"

// Defaults is a specification for a Defaults resource
type Defaults struct {
Expand Down
2 changes: 1 addition & 1 deletion crs/api/ingress/v1/global.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v5.1.4"
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v5.1.11"
// +kubebuilder:validation:XValidation:rule="!has(self.spec.config.default_path)", message="spec.config.default_path is set by ingress controller internally"
// +kubebuilder:validation:XValidation:rule="!has(self.spec.config.master__dash__worker)", message="spec.config.master-worker is set by ingress controller internally"
// +kubebuilder:validation:XValidation:rule="!has(self.spec.config.pidfile)", message="spec.config.pidfile is set by ingress controller internally"
Expand Down
2 changes: 1 addition & 1 deletion crs/api/ingress/v1/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v5.1.4"
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v5.1.11"

// TCP is a specification for a TCP resource
type TCP struct {
Expand Down
98 changes: 78 additions & 20 deletions crs/definition/ingress.v1.haproxy.org_backends.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
haproxy.org/client-native: v5.1.4
haproxy.org/client-native: v5.1.11
name: backends.ingress.v1.haproxy.org
spec:
group: ingress.v1.haproxy.org
Expand Down Expand Up @@ -87,7 +87,6 @@ spec:
required:
- acl_name
- criterion
- index
type: object
type: array
config:
Expand Down Expand Up @@ -120,16 +119,16 @@ spec:
adv_check:
description: |-
adv check
Enum: [ssl-hello-chk smtpchk ldap-check mysql-check pgsql-check tcp-check redis-check httpchk]
Enum: [httpchk ldap-check mysql-check pgsql-check redis-check smtpchk ssl-hello-chk tcp-check]
enum:
- ssl-hello-chk
- smtpchk
- httpchk
- ldap-check
- mysql-check
- pgsql-check
- tcp-check
- redis-check
- httpchk
- smtpchk
- ssl-hello-chk
- tcp-check
type: string
allbackups:
description: |-
Expand All @@ -146,19 +145,19 @@ spec:
description: |-
algorithm
Required: true
Enum: [roundrobin static-rr leastconn first source uri url_param hdr random rdp-cookie hash]
Enum: [first hash hdr leastconn random rdp-cookie roundrobin source static-rr uri url_param]
enum:
- roundrobin
- static-rr
- leastconn
- first
- source
- uri
- url_param
- hash
- hdr
- leastconn
- random
- rdp-cookie
- hash
- roundrobin
- source
- static-rr
- uri
- url_param
type: string
hash_expression:
description: hash expression
Expand Down Expand Up @@ -1161,6 +1160,34 @@ spec:
- cond
- cond_test
type: object
force_persist_list:
description: force persist list
items:
description: |-
ForcePersist force persist
swagger:model ForcePersist
properties:
cond:
description: |-
cond
Required: true
Enum: [if unless]
enum:
- if
- unless
type: string
cond_test:
description: |-
cond test
Required: true
type: string
required:
- cond
- cond_test
type: object
type: array
forwardfor:
description: forwardfor
properties:
Expand Down Expand Up @@ -1208,6 +1235,10 @@ spec:
- enabled
- disabled
type: string
hash_balance_factor:
description: hash balance factor
format: int64
type: integer
hash_type:
description: hash type
properties:
Expand Down Expand Up @@ -1455,7 +1486,6 @@ spec:
description: via socks4
type: boolean
required:
- index
- type
type: object
http-keep-alive:
Expand Down Expand Up @@ -1608,6 +1638,34 @@ spec:
- cond
- cond_test
type: object
ignore_persist_list:
description: ignore persist list
items:
description: |-
IgnorePersist ignore persist
swagger:model IgnorePersist
properties:
cond:
description: |-
cond
Required: true
Enum: [if unless]
enum:
- if
- unless
type: string
cond_test:
description: |-
cond test
Required: true
type: string
required:
- cond
- cond_test
type: object
type: array
independent_streams:
description: |-
independent streams
Expand Down Expand Up @@ -2305,15 +2363,15 @@ spec:
normalizer:
description: |-
normalizer
Enum: [fragment-encode fragment-strip path-merge-slashes path-strip-dot path-strip-dotdot percent-decode-unreserved percent-to-upercase query-sort-by-name]
Enum: [fragment-encode fragment-strip path-merge-slashes path-strip-dot path-strip-dotdot percent-decode-unreserved percent-to-uppercase query-sort-by-name]
enum:
- fragment-encode
- fragment-strip
- path-merge-slashes
- path-strip-dot
- path-strip-dotdot
- percent-decode-unreserved
- percent-to-upercase
- percent-to-uppercase
- query-sort-by-name
type: string
normalizer_full:
Expand Down Expand Up @@ -2542,7 +2600,7 @@ spec:
description: |-
type
Required: true
Enum: [add-acl add-header allow auth cache-use capture del-acl del-header del-map deny disable-l7-retry do-resolve early-hint lua normalize-uri redirect reject replace-header replace-path replace-pathq replace-uri replace-value return sc-add-gpc sc-inc-gpc sc-inc-gpc0 sc-inc-gpc1 sc-set-gpt0 send-spoe-group set-dst set-dst-port set-header set-log-level set-map set-mark set-method set-nice set-path set-pathq set-priority-class set-priority-offset set-query set-src set-src-port set-timeout set-tos set-uri set-var silent-drop strict-mode tarpit track-sc0 track-sc1 track-sc2 track-sc unset-var use-service wait-for-body wait-for-handshake set-bandwidth-limit]
Enum: [add-acl add-header allow auth cache-use capture del-acl del-header del-map deny disable-l7-retry do-resolve early-hint lua normalize-uri redirect reject replace-header replace-path replace-pathq replace-uri replace-value return sc-add-gpc sc-inc-gpc sc-inc-gpc0 sc-inc-gpc1 sc-set-gpt sc-set-gpt0 send-spoe-group set-dst set-dst-port set-header set-log-level set-map set-mark set-method set-nice set-path set-pathq set-priority-class set-priority-offset set-query set-src set-src-port set-timeout set-tos set-uri set-var silent-drop strict-mode tarpit track-sc0 track-sc1 track-sc2 track-sc unset-var use-service wait-for-body wait-for-handshake set-bandwidth-limit]
enum:
- add-acl
- add-header
Expand Down Expand Up @@ -2571,6 +2629,7 @@ spec:
- sc-inc-gpc
- sc-inc-gpc0
- sc-inc-gpc1
- sc-set-gpt
- sc-set-gpt0
- send-spoe-group
- set-dst
Expand Down Expand Up @@ -2638,7 +2697,6 @@ spec:
format: int64
type: integer
required:
- index
- type
type: object
type: array
Expand Down
33 changes: 18 additions & 15 deletions crs/definition/ingress.v1.haproxy.org_defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
haproxy.org/client-native: v5.1.4
haproxy.org/client-native: v5.1.11
name: defaults.ingress.v1.haproxy.org
spec:
group: ingress.v1.haproxy.org
Expand Down Expand Up @@ -77,16 +77,16 @@ spec:
adv_check:
description: |-
adv check
Enum: [ssl-hello-chk smtpchk ldap-check mysql-check pgsql-check tcp-check redis-check httpchk]
Enum: [httpchk ldap-check mysql-check pgsql-check redis-check smtpchk ssl-hello-chk tcp-check]
enum:
- ssl-hello-chk
- smtpchk
- httpchk
- ldap-check
- mysql-check
- pgsql-check
- tcp-check
- redis-check
- httpchk
- smtpchk
- ssl-hello-chk
- tcp-check
type: string
allbackups:
description: |-
Expand All @@ -107,19 +107,19 @@ spec:
description: |-
algorithm
Required: true
Enum: [roundrobin static-rr leastconn first source uri url_param hdr random rdp-cookie hash]
Enum: [first hash hdr leastconn random rdp-cookie roundrobin source static-rr uri url_param]
enum:
- roundrobin
- static-rr
- leastconn
- first
- source
- uri
- url_param
- hash
- hdr
- leastconn
- random
- rdp-cookie
- hash
- roundrobin
- source
- static-rr
- uri
- url_param
type: string
hash_expression:
description: hash expression
Expand Down Expand Up @@ -1224,6 +1224,10 @@ spec:
- enabled
- disabled
type: string
hash_balance_factor:
description: hash balance factor
format: int64
type: integer
hash_type:
description: hash type
properties:
Expand Down Expand Up @@ -1471,7 +1475,6 @@ spec:
description: via socks4
type: boolean
required:
- index
- type
type: object
http-use-htx:
Expand Down
10 changes: 7 additions & 3 deletions crs/definition/ingress.v1.haproxy.org_globals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
haproxy.org/client-native: v5.1.4
haproxy.org/client-native: v5.1.11
name: globals.ingress.v1.haproxy.org
spec:
group: ingress.v1.haproxy.org
Expand Down Expand Up @@ -192,6 +192,9 @@ spec:
Pattern: ^[^\s]+$
pattern: ^[^\s]+$
type: string
h1_accept_payload_with_any_method:
description: h1 accept payload with any method
type: boolean
h1_case_adjust:
description: h1 case adjusts
items:
Expand Down Expand Up @@ -219,6 +222,9 @@ spec:
h1_case_adjust_file:
description: h1 case adjust file
type: string
h1_do_not_close_on_insecure_transfer_encoding:
description: h1 do not close on insecure transfer encoding
type: boolean
h2_workaround_bogus_websocket_clients:
description: h2 workaround bogus websocket clients
type: boolean
Expand Down Expand Up @@ -1606,8 +1612,6 @@ spec:
description: sample size
format: int64
type: integer
required:
- index
type: object
type: array
required:
Expand Down
Loading

0 comments on commit ecf8a20

Please sign in to comment.