Skip to content

Commit f8c59e4

Browse files
authored
Merge pull request #6860 from jabellard/external-etcd-dep
Remove deprecated external etcd fields
2 parents cdc5d0f + 48dbc59 commit f8c59e4

File tree

4 files changed

+0
-72
lines changed

4 files changed

+0
-72
lines changed

charts/karmada-operator/crds/operator.karmada.io_karmadas.yaml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -61,32 +61,11 @@ spec:
6161
External describes how to connect to an external etcd cluster
6262
Local and External are mutually exclusive
6363
properties:
64-
caData:
65-
description: |-
66-
CAData is an SSL Certificate Authority file used to secure etcd communication.
67-
Required if using a TLS connection.
68-
Deprecated: This field is deprecated and will be removed in a future version. Use SecretRef for providing client connection credentials.
69-
format: byte
70-
type: string
71-
certData:
72-
description: |-
73-
CertData is an SSL certification file used to secure etcd communication.
74-
Required if using a TLS connection.
75-
Deprecated: This field is deprecated and will be removed in a future version. Use SecretRef for providing client connection credentials.
76-
format: byte
77-
type: string
7864
endpoints:
7965
description: Endpoints of etcd members. Required for ExternalEtcd.
8066
items:
8167
type: string
8268
type: array
83-
keyData:
84-
description: |-
85-
KeyData is an SSL key file used to secure etcd communication.
86-
Required if using a TLS connection.
87-
Deprecated: This field is deprecated and will be removed in a future version. Use SecretRef for providing client connection credentials.
88-
format: byte
89-
type: string
9069
secretRef:
9170
description: |-
9271
SecretRef references a Kubernetes secret containing the etcd connection credentials.

operator/config/crds/operator.karmada.io_karmadas.yaml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -61,32 +61,11 @@ spec:
6161
External describes how to connect to an external etcd cluster
6262
Local and External are mutually exclusive
6363
properties:
64-
caData:
65-
description: |-
66-
CAData is an SSL Certificate Authority file used to secure etcd communication.
67-
Required if using a TLS connection.
68-
Deprecated: This field is deprecated and will be removed in a future version. Use SecretRef for providing client connection credentials.
69-
format: byte
70-
type: string
71-
certData:
72-
description: |-
73-
CertData is an SSL certification file used to secure etcd communication.
74-
Required if using a TLS connection.
75-
Deprecated: This field is deprecated and will be removed in a future version. Use SecretRef for providing client connection credentials.
76-
format: byte
77-
type: string
7864
endpoints:
7965
description: Endpoints of etcd members. Required for ExternalEtcd.
8066
items:
8167
type: string
8268
type: array
83-
keyData:
84-
description: |-
85-
KeyData is an SSL key file used to secure etcd communication.
86-
Required if using a TLS connection.
87-
Deprecated: This field is deprecated and will be removed in a future version. Use SecretRef for providing client connection credentials.
88-
format: byte
89-
type: string
9069
secretRef:
9170
description: |-
9271
SecretRef references a Kubernetes secret containing the etcd connection credentials.

operator/pkg/apis/operator/v1alpha1/type.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -291,21 +291,6 @@ type ExternalEtcd struct {
291291
// +required
292292
Endpoints []string `json:"endpoints"`
293293

294-
// CAData is an SSL Certificate Authority file used to secure etcd communication.
295-
// Required if using a TLS connection.
296-
// Deprecated: This field is deprecated and will be removed in a future version. Use SecretRef for providing client connection credentials.
297-
CAData []byte `json:"caData,omitempty"`
298-
299-
// CertData is an SSL certification file used to secure etcd communication.
300-
// Required if using a TLS connection.
301-
// Deprecated: This field is deprecated and will be removed in a future version. Use SecretRef for providing client connection credentials.
302-
CertData []byte `json:"certData,omitempty"`
303-
304-
// KeyData is an SSL key file used to secure etcd communication.
305-
// Required if using a TLS connection.
306-
// Deprecated: This field is deprecated and will be removed in a future version. Use SecretRef for providing client connection credentials.
307-
KeyData []byte `json:"keyData,omitempty"`
308-
309294
// SecretRef references a Kubernetes secret containing the etcd connection credentials.
310295
// The secret must contain the following data keys:
311296
// ca.crt: The Certificate Authority (CA) certificate data.

operator/pkg/apis/operator/v1alpha1/zz_generated.deepcopy.go

Lines changed: 0 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)