internal/helm.Config will need two new fields:
EKSCluster string `envconfig:"EKS_CLUSTER"`
EKSRoleARN string `envconfig:"EKS_ROLE_ARN"`
internal/run.InitKube and .kubeValues will need matching fields, so their values can be passed along to the kubeconfig template.
- In
InitKube.Prepare, if i.EKSCluster != "", i.Token should not be mandatory (and should probably be forbidden).
See also ipedrazas/drone-helm#80 for how this was implemented over there.
internal/helm.Configwill need two new fields:internal/run.InitKubeand.kubeValueswill need matching fields, so their values can be passed along to thekubeconfigtemplate.InitKube.Prepare, ifi.EKSCluster != "",i.Tokenshould not be mandatory (and should probably be forbidden).See also ipedrazas/drone-helm#80 for how this was implemented over there.