Closed ankitchaubey closed 1 month ago
@chandra1-n @anuragsharma-123 Can we review this
Any update on this issue? Its failing for eks v1.24
Any update on this issue? Its failing for eks v1.24
fix is in-progress.
EKS 1.25 is out there, any idea when it will be ready?
@krzysztof-magosa the newer version of the module has corrected this. Can you please retry? Alternatively, you can destroy the controller module and redeploy fresh with the latest version.
Getting the same issue with
module "ocean-controller" {
source = "spotinst/ocean-controller/spotinst"
version = "0.49.0"
controller_version = "1.0.95"
EKS 1.25
│ Error: Waiting for default secret of "kube-system/controller-service-account-name" to appear
│
│ with module.ocean-controller.kubernetes_service_account.this[0],
│ on .terraform/modules/ocean-controller/main.tf line 55, in resource "kubernetes_service_account" "this":
│ 55: resource "kubernetes_service_account" "this" {
EDIT: Eventually I was able to successfully apply. Not sure if the reason was upgrading hashicorp/kubernetes from 2.8.0 to 2.23.0 or running apply twice, as mentioned here
@ankitchaubey - Can you please try the latest ocean controller TF module and let us know if it works for you.
Ocean Controller V1 is being deprecated. Please migrate to Ocean Controller V2. This issue is closed.
https://github.com/hashicorp/terraform-provider-kubernetes/issues/1724
error you will see
I see that since Kubernetes 1.24.0, service accounts no longer get this secret automatically generated (with or without automount_service_account_token set)
Terrafrom version: 13.7 kubernetes v2.3.2