Browse Source

update provisioner args

Alexander Belanger 5 years ago
parent
commit
2673e97534
1 changed files with 2 additions and 2 deletions
  1. 2 2
      internal/kubernetes/provisioner/provisioner.go

+ 2 - 2
internal/kubernetes/provisioner/provisioner.go

@@ -62,11 +62,11 @@ func (conf *Conf) GetProvisionerJobTemplate() (*batchv1.Job, error) {
 	if conf.Kind == Test {
 		args = []string{"test", "hello"}
 	} else if conf.Kind == ECR {
-		args = []string{"ecr"}
+		args = []string{"apply", "ecr"}
 		env = conf.AWS.AttachAWSEnv(env)
 		env = conf.ECR.AttachECREnv(env)
 	} else if conf.Kind == EKS {
-		args = []string{"eks"}
+		args = []string{"apply", "eks"}
 		env = conf.AWS.AttachAWSEnv(env)
 		env = conf.EKS.AttachEKSEnv(env)
 	}