Add InsecureSkipTLSVerification field to Cluster.
Signed-off-by: RainbowMango <renhongcai@huawei.com>
This commit is contained in:
parent
77830aada3
commit
59b8bb46b5
|
@ -58,6 +58,13 @@ spec:
|
||||||
description: The API endpoint of the member cluster. This can be a
|
description: The API endpoint of the member cluster. This can be a
|
||||||
hostname, hostname:port, IP or IP:port.
|
hostname, hostname:port, IP or IP:port.
|
||||||
type: string
|
type: string
|
||||||
|
insecureSkipTLSVerification:
|
||||||
|
description: InsecureSkipTLSVerification indicates that the karmada
|
||||||
|
control plane should not confirm the validity of the serving certificate
|
||||||
|
of the cluster it is connecting to. This will make the HTTPS connection
|
||||||
|
between the karmada control plane and the member cluster insecure.
|
||||||
|
Defaults to false.
|
||||||
|
type: boolean
|
||||||
manageMode:
|
manageMode:
|
||||||
description: ManageMode specifies the relationship between control
|
description: ManageMode specifies the relationship between control
|
||||||
plane and member cluster, the mode determines how to reach each
|
plane and member cluster, the mode determines how to reach each
|
||||||
|
|
|
@ -54,6 +54,13 @@ type ClusterSpec struct {
|
||||||
// +optional
|
// +optional
|
||||||
SecretRef *LocalSecretReference `json:"secretRef,omitempty"`
|
SecretRef *LocalSecretReference `json:"secretRef,omitempty"`
|
||||||
|
|
||||||
|
// InsecureSkipTLSVerification indicates that the karmada control plane should not confirm the validity of the serving
|
||||||
|
// certificate of the cluster it is connecting to. This will make the HTTPS connection between the karmada control
|
||||||
|
// plane and the member cluster insecure.
|
||||||
|
// Defaults to false.
|
||||||
|
// +optional
|
||||||
|
InsecureSkipTLSVerification bool `json:"insecureSkipTLSVerification,omitempty"`
|
||||||
|
|
||||||
// Provider represents the cloud provider name of the member cluster.
|
// Provider represents the cloud provider name of the member cluster.
|
||||||
// +optional
|
// +optional
|
||||||
Provider string `json:"provider,omitempty"`
|
Provider string `json:"provider,omitempty"`
|
||||||
|
|
Loading…
Reference in New Issue