diff --git a/artifacts/deploy/cluster.karmada.io_clusters.yaml b/artifacts/deploy/cluster.karmada.io_clusters.yaml index 5933da905..a12fbbf74 100644 --- a/artifacts/deploy/cluster.karmada.io_clusters.yaml +++ b/artifacts/deploy/cluster.karmada.io_clusters.yaml @@ -58,6 +58,13 @@ spec: description: The API endpoint of the member cluster. This can be a hostname, hostname:port, IP or IP:port. 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: description: ManageMode specifies the relationship between control plane and member cluster, the mode determines how to reach each diff --git a/pkg/apis/cluster/v1alpha1/types.go b/pkg/apis/cluster/v1alpha1/types.go index f8a90abca..c21917ebc 100644 --- a/pkg/apis/cluster/v1alpha1/types.go +++ b/pkg/apis/cluster/v1alpha1/types.go @@ -54,6 +54,13 @@ type ClusterSpec struct { // +optional 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. // +optional Provider string `json:"provider,omitempty"`