From 677405b8acedef4198248d502c55fe6b7fe7fe95 Mon Sep 17 00:00:00 2001 From: Nitish Malhotra Date: Tue, 9 Feb 2021 18:46:40 -0800 Subject: [PATCH] Fix missplaced curly brace in configmap.yaml tpl (#61) Fixes #60 Signed-off-by: Nitish Malhotra Co-authored-by: Nitish Malhotra --- chart/orkestra/templates/configmap.yaml | 2 +- pkg/workflow/argo.go | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/chart/orkestra/templates/configmap.yaml b/chart/orkestra/templates/configmap.yaml index cc69fe5..11e6f29 100644 --- a/chart/orkestra/templates/configmap.yaml +++ b/chart/orkestra/templates/configmap.yaml @@ -11,7 +11,7 @@ data: {{ $repo.name }}: url: {{ $repo.url }} {{ if $repo.username }} - username: { {$repo.username }} + username: {{ $repo.username }} {{ end }} {{ if $repo.password }} password: {{ $repo.password }} diff --git a/pkg/workflow/argo.go b/pkg/workflow/argo.go index 4e1395c..7acba20 100644 --- a/pkg/workflow/argo.go +++ b/pkg/workflow/argo.go @@ -430,9 +430,7 @@ func (a *argo) updateWorkflowTemplates(tpls ...v1alpha12.Template) { func defaultExecutor() v1alpha12.Template { return v1alpha12.Template{ - Name: helmReleaseExecutor, - // FIXME (nitishm) : Hack - // Replace with the actual service account in use + Name: helmReleaseExecutor, ServiceAccountName: os.Getenv("SERVICE_ACCOUNT_NAME"), Inputs: v1alpha12.Inputs{ Parameters: []v1alpha12.Parameter{