diff --git a/api/openapi.yaml b/api/openapi.yaml index 1690623..c5e1224 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -4778,12 +4778,15 @@ components: example: server: server certificate-authority-data: certificate-authority-data + tls-server-name: tls-server-name insecure-skip-tls-verify: true properties: server: type: string certificate-authority-data: type: string + tls-server-name: + type: string insecure-skip-tls-verify: type: boolean required: @@ -6592,6 +6595,7 @@ components: cluster: server: server certificate-authority-data: certificate-authority-data + tls-server-name: tls-server-name insecure-skip-tls-verify: true user: password: password @@ -7071,6 +7075,7 @@ components: cluster: server: server certificate-authority-data: certificate-authority-data + tls-server-name: tls-server-name insecure-skip-tls-verify: true user: password: password diff --git a/docs/ClusterKubeConfigCluster.md b/docs/ClusterKubeConfigCluster.md index e3a497a..6e25857 100644 --- a/docs/ClusterKubeConfigCluster.md +++ b/docs/ClusterKubeConfigCluster.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Server** | **string** | | **CertificateAuthorityData** | **string** | | [optional] +**TlsServerName** | **string** | | [optional] **InsecureSkipTlsVerify** | **bool** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/pkg/tsuru/model_cluster_kube_config_cluster.go b/pkg/tsuru/model_cluster_kube_config_cluster.go index 2e14e78..cf53b70 100644 --- a/pkg/tsuru/model_cluster_kube_config_cluster.go +++ b/pkg/tsuru/model_cluster_kube_config_cluster.go @@ -12,5 +12,6 @@ package tsuru type ClusterKubeConfigCluster struct { Server string `json:"server"` CertificateAuthorityData string `json:"certificate-authority-data,omitempty"` + TlsServerName string `json:"tls-server-name,omitempty"` InsecureSkipTlsVerify bool `json:"insecure-skip-tls-verify,omitempty"` }