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
Error: API response status: Failure
with kubernetes_manifest.deployment_istio_system_istio_ingressgateway,
on istio.tf line 14211, in resource "kubernetes_manifest" "deployment_istio_system_istio_ingressgateway":
14211: resource "kubernetes_manifest" "deployment_istio_system_istio_ingressgateway" {
Deployment.apps "istio-ingressgateway" is invalid:
spec.template.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms: Required value: must
have at least one node selector term
The problem is with the conversion of null values. The YAML includes:
I'm trying to install Istio. I've generated the YAML manifests and converted them to HCL using:
Applying with terraform is failing:
The problem is with the conversion of null values. The YAML includes:
and was converted to:
After removing the
null
fields in the YAML or HCL file, the apply was successful.Is it possible to implement an option in tfk8s that would automatically strip out YAML fields that have no value?
The text was updated successfully, but these errors were encountered: