Skip to content

Commit

Permalink
cluster: add tls-server-name to cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed May 20, 2021
1 parent 8c9b7d2 commit 2c41cb4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions docs/ClusterKubeConfigCluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions pkg/tsuru/model_cluster_kube_config_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

0 comments on commit 2c41cb4

Please sign in to comment.