diff --git a/.aspell.yml b/.aspell.yml index 260a5fb4..b97dd901 100644 --- a/.aspell.yml +++ b/.aspell.yml @@ -33,3 +33,4 @@ allowed: - unix - parallelize - maxconn + - kubebuilder diff --git a/crs/definition/ingress.v1.haproxy.org_backends.yaml b/crs/definition/ingress.v1.haproxy.org_backends.yaml index ce42da2f..565dba02 100644 --- a/crs/definition/ingress.v1.haproxy.org_backends.yaml +++ b/crs/definition/ingress.v1.haproxy.org_backends.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.17.0 haproxy.org/client-native: v5.1.15-0.20241106115115-75c12953fe1f name: backends.ingress.v1.haproxy.org spec: @@ -44,21 +44,17 @@ spec: description: |- Acls ACL Lines Array - HAProxy ACL lines array (corresponds to acl directives) - swagger:model acls items: description: |- ACL ACL Lines - The use of Access Control Lists (ACL) provides a flexible solution to perform content switching and generally to take decisions based on content extracted from the request, the response or any environmental status. - swagger:model acl properties: acl_name: @@ -93,11 +89,9 @@ spec: description: |- Backend Backend - HAProxy backend configuration Example: {"adv_check":"httpchk","balance":{"algorithm":"roundrobin"},"forwardfor":{"enabled":"enabled"},"httpchk_params":{"method":"GET","uri":"/check","version":"HTTP/1.1"},"mode":"http","name":"test_backend"} - swagger:model backend properties: abortonclose: @@ -291,7 +285,6 @@ spec: description: |- Attr attr - swagger:model Attr properties: value: @@ -308,7 +301,6 @@ spec: description: |- Domain domain - swagger:model Domain properties: value: @@ -993,7 +985,6 @@ spec: description: |- Errorfile errorfile - swagger:model errorfile properties: code: @@ -1031,7 +1022,6 @@ spec: description: |- Errorfiles errorfiles - swagger:model errorfiles properties: codes: @@ -1166,7 +1156,6 @@ spec: description: |- ForcePersist force persist - swagger:model ForcePersist properties: cond: @@ -1324,7 +1313,6 @@ spec: description: |- ReturnHeader return header - swagger:model ReturnHeader properties: fmt: @@ -1644,7 +1632,6 @@ spec: description: |- IgnorePersist ignore persist - swagger:model IgnorePersist properties: cond: @@ -1986,7 +1973,6 @@ spec: description: |- StatsAuth stats auth - swagger:model stats_auth properties: passwd: @@ -2016,7 +2002,6 @@ spec: description: |- StatsHTTPRequest stats http request - swagger:model stats_http_request properties: cond: @@ -2181,20 +2166,16 @@ spec: description: |- HTTPRequestRules HTTP Request Rules Array - HAProxy HTTP request rules array (corresponds to http-request directives) - swagger:model http_request_rules items: description: |- HTTPRequestRule HTTP Request Rule - HAProxy HTTP request rule configuration (corresponds to http-request directives) Example: {"cond":"unless","cond_test":"{ src 192.168.0.0/16 }","hdr_format":"%T","hdr_name":"X-Haproxy-Current-Date","index":0,"type":"add-header"} - swagger:model http_request_rule properties: acl_file: @@ -2461,7 +2442,6 @@ spec: description: |- ReturnHeader return header - swagger:model ReturnHeader properties: fmt: diff --git a/crs/definition/ingress.v1.haproxy.org_defaults.yaml b/crs/definition/ingress.v1.haproxy.org_defaults.yaml index c4b89424..57d7dc53 100644 --- a/crs/definition/ingress.v1.haproxy.org_defaults.yaml +++ b/crs/definition/ingress.v1.haproxy.org_defaults.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.17.0 haproxy.org/client-native: v5.1.15-0.20241106115115-75c12953fe1f name: defaults.ingress.v1.haproxy.org spec: @@ -44,10 +44,8 @@ spec: description: |- Defaults Defaults - # HAProxy defaults configuration - swagger:model defaults properties: abortonclose: @@ -291,7 +289,6 @@ spec: description: |- Attr attr - swagger:model Attr properties: value: @@ -308,7 +305,6 @@ spec: description: |- Domain domain - swagger:model Domain properties: value: @@ -1020,7 +1016,6 @@ spec: description: |- Errorfile errorfile - swagger:model errorfile properties: code: @@ -1061,7 +1056,6 @@ spec: description: |- Errorfiles errorfiles - swagger:model errorfiles properties: codes: @@ -1313,7 +1307,6 @@ spec: description: |- ReturnHeader return header - swagger:model ReturnHeader properties: fmt: @@ -1948,7 +1941,6 @@ spec: description: |- StatsAuth stats auth - swagger:model stats_auth properties: passwd: @@ -1978,7 +1970,6 @@ spec: description: |- StatsHTTPRequest stats http request - swagger:model stats_http_request properties: cond: diff --git a/crs/definition/ingress.v1.haproxy.org_globals.yaml b/crs/definition/ingress.v1.haproxy.org_globals.yaml index 36f520d4..c98f3981 100644 --- a/crs/definition/ingress.v1.haproxy.org_globals.yaml +++ b/crs/definition/ingress.v1.haproxy.org_globals.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.17.0 haproxy.org/client-native: v5.1.15-0.20241106115115-75c12953fe1f name: globals.ingress.v1.haproxy.org spec: @@ -44,10 +44,8 @@ spec: description: |- Global Global - # HAProxy global configuration - swagger:model global properties: anonkey: @@ -84,7 +82,6 @@ spec: description: |- CPUMap CPU map - swagger:model CPUMap properties: cpu_set: @@ -201,7 +198,6 @@ spec: description: |- H1CaseAdjust h1 case adjust - swagger:model H1CaseAdjust properties: from: @@ -328,7 +324,6 @@ spec: description: |- LuaLoad lua load - swagger:model LuaLoad properties: file: @@ -348,7 +343,6 @@ spec: description: |- LuaPrependPath lua prepend path - swagger:model LuaPrependPath properties: path: @@ -478,7 +472,6 @@ spec: description: |- PresetEnv preset env - swagger:model PresetEnv properties: name: @@ -517,7 +510,6 @@ spec: description: |- RuntimeAPI runtime API - swagger:model RuntimeAPI properties: accept_netscaler_cip: @@ -836,7 +828,6 @@ spec: description: |- SetVar set var - swagger:model SetVar properties: expr: @@ -860,7 +851,6 @@ spec: description: |- SetVarFmt set var fmt - swagger:model SetVarFmt properties: format: @@ -890,7 +880,6 @@ spec: description: |- SetEnv set env - swagger:model SetEnv properties: name: @@ -957,7 +946,6 @@ spec: description: |- SslEngine ssl engine - swagger:model SslEngine properties: algorithms: @@ -1020,7 +1008,6 @@ spec: description: |- ThreadGroup thread group - swagger:model ThreadGroup properties: group: @@ -1496,19 +1483,15 @@ spec: description: |- LogTargets Log Target Array - HAProxy log target array (corresponds to log directives) - swagger:model log_targets items: description: |- LogTarget Log Target - Per-instance logging of events and traffic. - swagger:model log_target properties: address: diff --git a/crs/definition/ingress.v1.haproxy.org_tcps.yaml b/crs/definition/ingress.v1.haproxy.org_tcps.yaml index 7ff8dc15..26f7d5b6 100644 --- a/crs/definition/ingress.v1.haproxy.org_tcps.yaml +++ b/crs/definition/ingress.v1.haproxy.org_tcps.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.17.0 haproxy.org/client-native: v5.1.15-0.20241106115115-75c12953fe1f name: tcps.ingress.v1.haproxy.org spec: @@ -55,21 +55,17 @@ spec: description: |- Acls ACL Lines Array - HAProxy ACL lines array (corresponds to acl directives) - swagger:model acls items: description: |- ACL ACL Lines - The use of Access Control Lists (ACL) provides a flexible solution to perform content switching and generally to take decisions based on content extracted from the request, the response or any environmental status. - swagger:model acl properties: acl_name: @@ -104,20 +100,16 @@ spec: description: |- BackendSwitchingRules Backend Switching Rules Array - HAProxy backend switching rules array (corresponds to use_backend directives) - swagger:model backend_switching_rules items: description: |- BackendSwitchingRule Backend Switching Rule - HAProxy backend switching rule configuration (corresponds to use_backend directive) Example: {"cond":"if","cond_test":"{ req_ssl_sni -i www.example.com }","index":0,"name":"test_backend"} - swagger:model backend_switching_rule properties: cond: @@ -163,10 +155,8 @@ spec: description: |- Bind Bind - # HAProxy frontend bind configuration - swagger:model bind properties: accept_netscaler_cip: @@ -486,13 +476,11 @@ spec: description: |- Captures Declare capture array - swagger:model captures items: description: |- Capture Declare Capture - swagger:model capture properties: index: @@ -699,7 +687,6 @@ spec: description: |- Errorfile errorfile - swagger:model errorfile properties: code: @@ -740,7 +727,6 @@ spec: description: |- Errorfiles errorfiles - swagger:model errorfiles properties: codes: @@ -832,20 +818,16 @@ spec: description: |- Filters Filters Array - HAProxy filters array (corresponds to filter directive) - swagger:model filters items: description: |- Filter Filter - HAProxy filters Example: {"index":0,"trace_name":"name","trace_rnd_parsing":true,"type":"trace"} - swagger:model filter properties: app_name: @@ -1120,19 +1102,15 @@ spec: description: |- LogTargets Log Target Array - HAProxy log target array (corresponds to log directives) - swagger:model log_targets items: description: |- LogTarget Log Target - Per-instance logging of events and traffic. - swagger:model log_target properties: address: @@ -1378,7 +1356,6 @@ spec: description: |- StatsAuth stats auth - swagger:model stats_auth properties: passwd: @@ -1408,7 +1385,6 @@ spec: description: |- StatsHTTPRequest stats http request - swagger:model stats_http_request properties: cond: @@ -1539,20 +1515,16 @@ spec: description: |- TCPRequestRules TCP Request Rules Array - HAProxy TCP request rules array (corresponds to tcp-request directive) - swagger:model tcp_request_rules items: description: |- TCPRequestRule TCP Request Rule - HAProxy TCP Request Rule configuration (corresponds to tcp-request) Example: {"cond":"if","cond_test":"{ src 192.168.0.0/16 }","index":0,"type":"connection"} - swagger:model tcp_request_rule properties: action: