Skip to content

Commit

Permalink
specify version for templating tools
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Anh Pham Nhu <[email protected]>
  • Loading branch information
anhpnv committed Jul 3, 2023
1 parent 2621f44 commit 2483d18
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/app/piped/platformprovider/kubernetes/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,8 @@ func (l *loader) LoadManifests(ctx context.Context) (manifests []Manifest, err e
}()
l.initOnce.Do(func() {
l.templatingMethod = determineTemplatingMethod(l.input, l.appDir)
switch l.templatingMethod {
case TemplatingMethodHelm:
if l.templatingMethod != TemplatingMethodNone {
l.helm, l.initErr = l.findHelm(ctx, l.input.HelmVersion)

case TemplatingMethodKustomize:
l.kustomize, l.initErr = l.findKustomize(ctx, l.input.KustomizeVersion)
}
})
Expand Down

0 comments on commit 2483d18

Please sign in to comment.