-
Notifications
You must be signed in to change notification settings - Fork 133
Labels
k8sKubernetes Kapsule issues, bugs and feature requestsKubernetes Kapsule issues, bugs and feature requestspriority:highestBugs filled by customers, security issuesBugs filled by customers, security issues
Description
Community Note
- Please vote on this issue by adding a π reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version
OpenTofu v1.10.6
on darwin_arm64
- provider registry.opentofu.org/hashicorp/kubernetes v2.38.0
- provider registry.opentofu.org/scaleway/scaleway v2.60.1
Affected Resource(s)
- scaleway_k8s_cluster
Terraform Configuration Files
data "scaleway_k8s_version" "latest" { name = "latest" }
resource "scaleway_k8s_cluster" "cluster" {
name = "name"
type = "kapsule"
version = data.scaleway_k8s_version.latest.name
cni = "cilium_native"
private_network_id = scaleway_vpc_private_network.pn_cluster.id
delete_additional_resources = false
}Debug Output
β Error: expected cni to be one of ["cilium" "calico" "weave" "flannel" "kilo" "none"], got cilium_native
β
β with scaleway_k8s_cluster.cluster,
β on main.tf line 78, in resource "scaleway_k8s_cluster" "cluster":
β 78: cni = "cilium_native"
Panic Output
Expected Behavior
The list of available_cnis from the data source lists the following. I would expect at least that those are supported?
> data.scaleway_k8s_version.latest
{
"available_cnis" = tolist([
"cilium",
"cilium_native",
"calico",
"kilo",
"none",
])
"available_container_runtimes" = tolist([
"containerd",
])
"available_feature_gates" = tolist([
"HPAScaleToZero",
"CPUManagerPolicyAlphaOptions",
"ImageVolume",
])
"id" = "nl-ams/1.34.1"
"name" = "1.34.1"
"region" = "nl-ams"
}Actual Behavior
See debug output.
Steps to Reproduce
tofu/terraform plan
Important Factoids
References
- #0000
Metadata
Metadata
Assignees
Labels
k8sKubernetes Kapsule issues, bugs and feature requestsKubernetes Kapsule issues, bugs and feature requestspriority:highestBugs filled by customers, security issuesBugs filled by customers, security issues