diff --git a/api/openapi.yaml b/api/openapi.yaml index f994a82..1690623 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -4778,11 +4778,14 @@ components: example: server: server certificate-authority-data: certificate-authority-data + insecure-skip-tls-verify: true properties: server: type: string certificate-authority-data: type: string + insecure-skip-tls-verify: + type: boolean required: - server WebhookEventFilter: @@ -6589,6 +6592,7 @@ components: cluster: server: server certificate-authority-data: certificate-authority-data + insecure-skip-tls-verify: true user: password: password client-certificate-data: client-certificate-data @@ -7067,6 +7071,7 @@ components: cluster: server: server certificate-authority-data: certificate-authority-data + insecure-skip-tls-verify: true user: password: password client-certificate-data: client-certificate-data diff --git a/docs/ClusterKubeConfigCluster.md b/docs/ClusterKubeConfigCluster.md index 51dff77..e3a497a 100644 --- a/docs/ClusterKubeConfigCluster.md +++ b/docs/ClusterKubeConfigCluster.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Server** | **string** | | **CertificateAuthorityData** | **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 0add87f..2e14e78 100644 --- a/pkg/tsuru/model_cluster_kube_config_cluster.go +++ b/pkg/tsuru/model_cluster_kube_config_cluster.go @@ -12,4 +12,5 @@ package tsuru type ClusterKubeConfigCluster struct { Server string `json:"server"` CertificateAuthorityData string `json:"certificate-authority-data,omitempty"` + InsecureSkipTlsVerify bool `json:"insecure-skip-tls-verify,omitempty"` }