civo/terraform-provider-civo

-Traefik as application list of resource "civo_kubernetes_cluster" is not working

lefterisALEX opened this issue · 2 comments

Trying to install a cluster using the following resource

resource "civo_kubernetes_cluster" "k3s" {
    name              = var.name_prefix
    region            = var.region
    num_target_nodes  = var.nodes_number
    target_nodes_size = var.node_type
    applications      = "-Traefik"
    firewall_id       = civo_firewall.fw.id

}

Expected behavior: A cluster is installed without the default application Traefik.
Actual behavior: Cluster runs and traefik is installed and as well in the cluster

git:(main) ✗ kubectl get pods -n kube-system    
NAME                                      READY   STATUS      RESTARTS   AGE
helm-install-traefik-fxsxr                0/1     Completed   0          8m59s
local-path-provisioner-7c458769fb-4n4lj   1/1     Running     0          8m58s
civo-csi-node-88rrp                       2/2     Running     0          8m58s
civo-csi-controller-0                     3/3     Running     0          8m59s
svclb-traefik-2jm97                       2/2     Running     0          8m41s
civo-csi-node-qccp4                       2/2     Running     0          8m58s
svclb-traefik-qcbl7                       2/2     Running     0          8m41s
traefik-6f9cbd9bd4-n8q9d                  1/1     Running     0          8m41s
coredns-854c77959c-8rxrp                  1/1     Running     0          8m58s
metrics-server-86cbb8457f-j9mv8           1/1     Running     0          8m58s

Using Terraform v1.0.11 and civo provider 1.0.5

@lefterisALEX Can you please verify? The issue is fixed.

Yes, working now. thanks!