From 5cc94d76a6a486e38f0e0d68debd233c6bb1516a Mon Sep 17 00:00:00 2001 From: Bharath Vedartham Date: Sat, 6 Mar 2021 00:32:21 +0530 Subject: [PATCH] Move channels exec path to /opt/kops/bin --- protokube/pkg/protokube/channels.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protokube/pkg/protokube/channels.go b/protokube/pkg/protokube/channels.go index 9a221ed23a..7ee58c6315 100644 --- a/protokube/pkg/protokube/channels.go +++ b/protokube/pkg/protokube/channels.go @@ -36,7 +36,7 @@ func applyChannel(channel string) error { } func execChannels(args ...string) (string, error) { - kubectlPath := "/channels" + kubectlPath := "/opt/kops/bin/channels" cmd := exec.Command(kubectlPath, args...) env := os.Environ() cmd.Env = env