We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using the ovh_cloud_project_kube, I can update it to the next minor version, i.e 1.28 to 1.29.
ovh_cloud_project_kube
But there is no way to update the cluster to the last patch version.
I see here
terraform-provider-ovh/ovh/resource_cloud_project_kube.go
Line 612 in d7186ad
NEXT_MINOR
When performing a terraform state, the is_up_to_dateis false, so we know there is a new version:
terraform state
is_up_to_date
❯ terraform state show module.kubernetes-ovh-cluster.ovh_cloud_project_kube.k8s_cluster # module.kubernetes-ovh-cluster.ovh_cloud_project_kube.k8s_cluster: resource "ovh_cloud_project_kube" "k8s_cluster" { control_plane_is_up_to_date = false id = "redacted" is_up_to_date = false kube_proxy_mode = "iptables" kubeconfig = (sensitive value) kubeconfig_attributes = (sensitive value) load_balancers_subnet_id = null name = "redacted" next_upgrade_versions = [ "1.29", "1.30", ] nodes_subnet_id = null nodes_url = "redacted.nodes.c3.gra.k8s.ovh.net" private_network_id = null region = "GRA5" service_name = "redacted" status = "READY" update_policy = "NEVER_UPDATE" url = "redacted.c3.gra.k8s.ovh.net" version = "1.28" customization { apiserver { admissionplugins { disabled = [] enabled = [ "AlwaysPullImages", "NodeRestriction", ] } } } timeouts { create = "30m" delete = "30m" update = "1h" } } ❯ terraform plan -out="tfplan.out" module.kubernetes-ovh-cluster.ovh_cloud_project_kube.k8s_cluster: Refreshing state... [id=redacted] No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.
Note that I want to manage myself the update of the cluster, so keep update_policy to NEVER_UPDATE.
update_policy
The text was updated successfully, but these errors were encountered:
nicolaslacroux
No branches or pull requests
Description
When using the
ovh_cloud_project_kube
, I can update it to the next minor version, i.e 1.28 to 1.29.But there is no way to update the cluster to the last patch version.
Affected Resource(s) and/or Data Source(s)
Potential Terraform Configuration
I see here
terraform-provider-ovh/ovh/resource_cloud_project_kube.go
Line 612 in d7186ad
NEXT_MINOR
when upgrading, but the strategy allows LATEST_PATCH.When performing a
terraform state
, theis_up_to_date
is false, so we know there is a new version:Remarks
Note that I want to manage myself the update of the cluster, so keep
update_policy
to NEVER_UPDATE.The text was updated successfully, but these errors were encountered: