Terraformer import KUBECONFIG
- Related issues: #2604 [BUG] Terraformer imported VLAN always be 0
Category:
Verification Steps
- Install Harvester with any nodes
- Login to dashboard, navigate to: Advanced/Settings -> then enabledvlan`
- Navigate to Advanced/Networks and Create a Network which Vlan ID is not 0
- Navigate to Support Page and Download KubeConfig file
- Initialize a terraform environment, download Harvester Terraformer
- Execute command
terraformer import harvester -r network
to generate terraform configuration from the cluster
- Generated file
generated/harvester/network/network.tf
should exists
- VLAN and other settings should match
Expected Results
- vlan_id should be the same as the import cluster.