Skip to content

Commit

Permalink
cluster: add insecure skip tls verify by cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed May 20, 2021
1 parent b11911c commit 8c9b7d2
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,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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
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]
**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,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"`
}

0 comments on commit 8c9b7d2

Please sign in to comment.