Skip to content

Commit 1e72750

Browse files
committed
MEDIUM: delete certificates through runtime
Creation of certificates through runtime is already done. Adding now the deletion though runtime
1 parent 6d97997 commit 1e72750

File tree

16 files changed

+696
-107
lines changed

16 files changed

+696
-107
lines changed

crs/api/ingress/v3/backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
// +genclient
2424
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
25-
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v6.0.7-0.20250113083507-df8f78bea9bb"
25+
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v6.1.0"
2626

2727
// Backend is a specification for a Backend resource
2828
type Backend struct {

crs/api/ingress/v3/defaults.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
// +genclient
2424
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
25-
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v6.0.7-0.20250113083507-df8f78bea9bb"
25+
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v6.1.0"
2626

2727
// Defaults is a specification for a Defaults resource
2828
type Defaults struct {

crs/api/ingress/v3/global.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
// +genclient
2424
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
25-
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v6.0.7-0.20250113083507-df8f78bea9bb"
25+
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v6.1.0"
2626
// +kubebuilder:validation:XValidation:rule="!has(self.spec.default_path)", message="spec.config.default_path is set by ingress controller internally"
2727
// +kubebuilder:validation:XValidation:rule="!has(self.spec.master__dash__worker)", message="spec.config.master-worker is set by ingress controller internally"
2828
// +kubebuilder:validation:XValidation:rule="!has(self.spec.pidfile)", message="spec.config.pidfile is set by ingress controller internally"

crs/api/ingress/v3/tcp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
// +genclient
2525
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
26-
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v6.0.7-0.20250113083507-df8f78bea9bb"
26+
// +kubebuilder:metadata:annotations="haproxy.org/client-native=v6.1.0"
2727

2828
// TCP is a specification for a TCP resource
2929
type TCP struct {

crs/definition/ingress.v3.haproxy.org_backends.yaml

Lines changed: 207 additions & 36 deletions
Large diffs are not rendered by default.

crs/definition/ingress.v3.haproxy.org_defaults.yaml

Lines changed: 125 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: CustomResourceDefinition
44
metadata:
55
annotations:
66
controller-gen.kubebuilder.io/version: v0.17.0
7-
haproxy.org/client-native: v6.0.7-0.20250113083507-df8f78bea9bb
7+
haproxy.org/client-native: v6.1.0
88
name: defaults.ingress.v3.haproxy.org
99
spec:
1010
group: ingress.v3.haproxy.org
@@ -64,6 +64,22 @@ spec:
6464
- enabled
6565
- disabled
6666
type: string
67+
accept_unsafe_violations_in_http_request:
68+
description: |-
69+
accept unsafe violations in http request
70+
Enum: ["enabled","disabled"]
71+
enum:
72+
- enabled
73+
- disabled
74+
type: string
75+
accept_unsafe_violations_in_http_response:
76+
description: |-
77+
accept unsafe violations in http response
78+
Enum: ["enabled","disabled"]
79+
enum:
80+
- enabled
81+
- disabled
82+
type: string
6783
adv_check:
6884
description: |-
6985
adv check
@@ -512,39 +528,39 @@ spec:
512528
type: integer
513529
force_sslv3:
514530
description: |-
515-
force sslv3
531+
This field is deprecated in favor of sslv3, and will be removed in a future release
516532
Enum: ["enabled","disabled"]
517533
enum:
518534
- enabled
519535
- disabled
520536
type: string
521537
force_tlsv10:
522538
description: |-
523-
force tlsv10
539+
This field is deprecated in favor of tlsv10, and will be removed in a future release
524540
Enum: ["enabled","disabled"]
525541
enum:
526542
- enabled
527543
- disabled
528544
type: string
529545
force_tlsv11:
530546
description: |-
531-
force tlsv11
547+
This field is deprecated in favor of tlsv11, and will be removed in a future release
532548
Enum: ["enabled","disabled"]
533549
enum:
534550
- enabled
535551
- disabled
536552
type: string
537553
force_tlsv12:
538554
description: |-
539-
force tlsv12
555+
This field is deprecated in favor of tlsv12, and will be removed in a future release
540556
Enum: ["enabled","disabled"]
541557
enum:
542558
- enabled
543559
- disabled
544560
type: string
545561
force_tlsv13:
546562
description: |-
547-
force tlsv13
563+
This field is deprecated in favor of tlsv13, and will be removed in a future release
548564
Enum: ["enabled","disabled"]
549565
enum:
550566
- enabled
@@ -583,6 +599,16 @@ spec:
583599
Pattern: ^[^\s]+$
584600
pattern: ^[^\s]+$
585601
type: string
602+
init-state:
603+
description: |-
604+
init state
605+
Enum: ["fully-up","up","down","fully-down"]
606+
enum:
607+
- fully-up
608+
- up
609+
- down
610+
- fully-down
611+
type: string
586612
inter:
587613
description: |-
588614
inter
@@ -631,39 +657,39 @@ spec:
631657
type: string
632658
no_sslv3:
633659
description: |-
634-
no sslv3
660+
This field is deprecated in favor of sslv3, and will be removed in a future release
635661
Enum: ["enabled","disabled"]
636662
enum:
637663
- enabled
638664
- disabled
639665
type: string
640666
no_tlsv10:
641667
description: |-
642-
no tlsv10
668+
This field is deprecated in favor of tlsv10, and will be removed in a future release
643669
Enum: ["enabled","disabled"]
644670
enum:
645671
- enabled
646672
- disabled
647673
type: string
648674
no_tlsv11:
649675
description: |-
650-
no tlsv11
676+
This field is deprecated in favor of tlsv11, and will be removed in a future release
651677
Enum: ["enabled","disabled"]
652678
enum:
653679
- enabled
654680
- disabled
655681
type: string
656682
no_tlsv12:
657683
description: |-
658-
no tlsv12
684+
This field is deprecated in favor of tlsv12, and will be removed in a future release
659685
Enum: ["enabled","disabled"]
660686
enum:
661687
- enabled
662688
- disabled
663689
type: string
664690
no_tlsv13:
665691
description: |-
666-
no tlsv13
692+
This field is deprecated in favor of force_tlsv13, and will be removed in a future release
667693
Enum: ["enabled","disabled"]
668694
enum:
669695
- enabled
@@ -905,6 +931,14 @@ spec:
905931
- enabled
906932
- disabled
907933
type: string
934+
sslv3:
935+
description: |-
936+
sslv3
937+
Enum: ["enabled","disabled"]
938+
enum:
939+
- enabled
940+
- disabled
941+
type: string
908942
stick:
909943
description: |-
910944
stick
@@ -936,6 +970,38 @@ spec:
936970
- enabled
937971
- disabled
938972
type: string
973+
tlsv10:
974+
description: |-
975+
tlsv10
976+
Enum: ["enabled","disabled"]
977+
enum:
978+
- enabled
979+
- disabled
980+
type: string
981+
tlsv11:
982+
description: |-
983+
tlsv11
984+
Enum: ["enabled","disabled"]
985+
enum:
986+
- enabled
987+
- disabled
988+
type: string
989+
tlsv12:
990+
description: |-
991+
tlsv12
992+
Enum: ["enabled","disabled"]
993+
enum:
994+
- enabled
995+
- disabled
996+
type: string
997+
tlsv13:
998+
description: |-
999+
tlsv13
1000+
Enum: ["enabled","disabled"]
1001+
enum:
1002+
- enabled
1003+
- disabled
1004+
type: string
9391005
track:
9401006
description: track
9411007
type: string
@@ -1683,6 +1749,9 @@ spec:
16831749
httpchk_params:
16841750
description: httpchk params
16851751
properties:
1752+
host:
1753+
description: host
1754+
type: string
16861755
method:
16871756
description: |-
16881757
method
@@ -1766,6 +1835,11 @@ spec:
17661835
- enabled
17671836
- disabled
17681837
type: string
1838+
log_steps:
1839+
description: log steps
1840+
items:
1841+
type: string
1842+
type: array
17691843
log_tag:
17701844
description: |-
17711845
log tag
@@ -1870,6 +1944,9 @@ spec:
18701944
nolog:
18711945
description: nolog
18721946
type: boolean
1947+
profile:
1948+
description: profile
1949+
type: string
18731950
sample_range:
18741951
description: sample range
18751952
type: string
@@ -2012,6 +2089,43 @@ spec:
20122089
format: int64
20132090
minimum: 0
20142091
type: integer
2092+
quic_initial_rule_list:
2093+
description: q UI c initial rule list
2094+
items:
2095+
description: |-
2096+
QUICInitialRule QUIC Initial
2097+
2098+
QUIC Initial configuration
2099+
Example: {"type":"reject"}
2100+
2101+
swagger:model QUICInitialRule
2102+
properties:
2103+
cond:
2104+
description: |-
2105+
cond
2106+
Enum: ["if","unless"]
2107+
enum:
2108+
- if
2109+
- unless
2110+
type: string
2111+
cond_test:
2112+
description: cond test
2113+
type: string
2114+
type:
2115+
description: |-
2116+
type
2117+
Required: true
2118+
Enum: ["reject","accept","send-retry","dgram-drop"]
2119+
enum:
2120+
- reject
2121+
- accept
2122+
- send-retry
2123+
- dgram-drop
2124+
type: string
2125+
required:
2126+
- type
2127+
type: object
2128+
type: array
20152129
redispatch:
20162130
description: redispatch
20172131
properties:

0 commit comments

Comments
 (0)