You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Normally Kueue is installed using one multi-document YAML manifest. To make this work in Terraform, I've had to split this manifest into single-document manifests.
For reference, I've now got this working by swapping the kubernetes_manifest block for a kubectl_manifest block:
# Install Kueue on the cluster by applying the installation manifests.resource"kubectl_manifest""install_kueue" {
for_each={
formanifestinlocal.kueue_manifests:"${manifest.kind}--${manifest.metadata.name}"=> manifest
}
yaml_body=yamlencode(each.value)
server_side_apply=truedepends_on=[time_sleep.wait_for_cluster_to_be_ready]
}
Terraform Version, Provider Version and Kubernetes Version
Affected Resource(s)
kubernetes_manifest
Terraform Configuration Files
Debug Output
https://gist.github.com/cortadocodes/da6e5e55a5590224f085f9e17abecae8
Panic Output
N/A
Steps to Reproduce
terraform apply
Expected Behavior
All of the YAML documents in the Kueue v0.10.1 manifest should have been applied.
Actual Behavior
All successfully applied apart from:
MutatingWebhookConfiguration
(kueue-mutating-webhook-configuration)Deployment
(kueue-controller-manager)Important Factoids
Normally Kueue is installed using one multi-document YAML manifest. To make this work in Terraform, I've had to split this manifest into single-document manifests.
References
Community Note
The text was updated successfully, but these errors were encountered: