[infra] Make kubectl executable in asset

Change-Id: I23937444600c0da2c6a9b4813c04ae335e7e3aff
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/607008
Auto-Submit: Eric Boren <borenet@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
diff --git a/infra/bots/assets/kubectl/VERSION b/infra/bots/assets/kubectl/VERSION
index c227083..56a6051 100755
--- a/infra/bots/assets/kubectl/VERSION
+++ b/infra/bots/assets/kubectl/VERSION
@@ -1 +1 @@
-0
\ No newline at end of file
+1
\ No newline at end of file
diff --git a/infra/bots/assets/kubectl/create.py b/infra/bots/assets/kubectl/create.py
index e8c05a8..04e3274 100755
--- a/infra/bots/assets/kubectl/create.py
+++ b/infra/bots/assets/kubectl/create.py
@@ -33,6 +33,7 @@
       input=(sha256 + ' kubectl').encode('utf-8'))[0].decode('utf-8')
   if 'OK' not in output:
     raise ValueError('Got wrong checksum for kubectl: %s' % output)
+  subprocess.check_call(['chmod', 'a+x', 'kubectl'], cwd=target_dir)
 
 
 def main():