Closed charlottemach closed 2 years ago
https://github.com/terraform-providers/terraform-provider-kubernetes/issues/263 Related to that issue, seems to be in progress. But assuming a check in the tool can't hurt.
Looks like HashiCorp has fixed this upstream. Closing this issue. See the following comment for more info: https://github.com/sl1pm4t/k2tf/issues/78#issuecomment-841228202
When converting a daemonset.yaml without explicitly setting automount_service_account_token to true (which is the kubectl default), terraform puts false as a default.
E.g. turning daemonset.yaml
into terraform:
results in:
A specific example can be found here, when trying to use k2tf on the quickstart.yaml, it needs the automountServiceAccountToken to be explicitly set to true, otherwise the services can't connect.