-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resource/alicloud_cs_edge_kubernetes: deprecated kubeconfig attribute; resource/alicloud_cs_managed_kubernetes: deprecated kubeconfig attribute; resource/alicloud_cs_kubernetes: deprecated kubeconfig attribute; resource/alicloud_cs_serverless_kubernetes: deprecated kubeconfig attribute; docs: deprecated kubeconfig attribute #8333
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -478,19 +478,22 @@ func resourceAlicloudCSManagedKubernetes() *schema.Resource { | |
"kube_config": { | ||
Type: schema.TypeString, | ||
Optional: true, | ||
Removed: "Field 'kube_config' has been removed from provider version 1.212.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.", | ||
Removed: "Field 'kube_config' has been removed from provider version 1.212.0. Please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it", | ||
}, | ||
"client_cert": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. client_cert, client_key, cluster_ca_cert, certificate_authority |
||
Type: schema.TypeString, | ||
Optional: true, | ||
Deprecated: "Field 'client_cert' has been deprecated from provider version 1.243.0. From version 1.243.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-cert.pem) for replace it.", | ||
}, | ||
"client_key": { | ||
Type: schema.TypeString, | ||
Optional: true, | ||
Deprecated: "Field 'client_key' has been deprecated from provider version 1.243.0. From version 1.243.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_key' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-key.pem) for replace it.", | ||
}, | ||
"cluster_ca_cert": { | ||
Type: schema.TypeString, | ||
Optional: true, | ||
Deprecated: "Field 'cluster_ca_cert' has been deprecated from provider version 1.243.0. From version 1.243.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.cluster_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.", | ||
}, | ||
"certificate_authority": { | ||
Type: schema.TypeMap, | ||
|
@@ -511,6 +514,7 @@ func resourceAlicloudCSManagedKubernetes() *schema.Resource { | |
}, | ||
}, | ||
}, | ||
Deprecated: "Field 'certificate_authority' has been deprecated from provider version 1.243.0. Please use the attribute 'certificate_authority' of new DataSource 'alicloud_cs_cluster_credential' to replace it.", | ||
}, | ||
"connections": { | ||
Type: schema.TypeMap, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,19 +116,22 @@ func resourceAlicloudCSServerlessKubernetes() *schema.Resource { | |
"kube_config": { | ||
Type: schema.TypeString, | ||
Optional: true, | ||
Deprecated: "Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. kube_config改回原来的1.187.0版本 |
||
Deprecated: "Field 'kube_config' has been deprecated from provider version 1.187.0. Please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.", | ||
}, | ||
"client_cert": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. client_cert, client_key, cluster_ca_cert |
||
Type: schema.TypeString, | ||
Optional: true, | ||
Deprecated: "Field 'client_cert' has been deprecated from provider version 1.243.0. From version 1.243.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-cert.pem) for replace it.", | ||
}, | ||
"client_key": { | ||
Type: schema.TypeString, | ||
Optional: true, | ||
Deprecated: "Field 'client_key' has been deprecated from provider version 1.243.0. From version 1.243.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_key' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-key.pem) for replace it.", | ||
}, | ||
"cluster_ca_cert": { | ||
Type: schema.TypeString, | ||
Optional: true, | ||
Deprecated: "Field 'cluster_ca_cert' has been deprecated from provider version 1.243.0. From version 1.243.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.cluster_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.", | ||
}, | ||
"tags": { | ||
Type: schema.TypeMap, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
client_cert, client_key, cluster_ca_cert, certificate_authority
Field ' ' has been deprecated from provider version 1.243.0. From version 1.243.0, XXXXXX