From 040f84328e31f4acfe01c4cdbbc7a63b64a3ca83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Tue, 2 Aug 2022 16:08:19 +0300 Subject: [PATCH] Fix permissions --- camera-operator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 camera-operator.py diff --git a/camera-operator.py b/camera-operator.py old mode 100644 new mode 100755 index aabc441..f369a36 --- a/camera-operator.py +++ b/camera-operator.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import asyncio import os import yaml @@ -70,7 +71,7 @@ async def main(): if os.getenv("KUBECONFIG"): await config.load_kube_config() else: - await config.load_incluster_config() + config.load_incluster_config() async with ApiClient() as api: v1 = client.CoreV1Api(api) apps_api = client.AppsV1Api()