Fix permissions
continuous-integration/drone Build is passing Details

This commit is contained in:
Lauri Võsandi 2022-08-02 16:08:19 +03:00
parent 2b2f838c20
commit 040f84328e
1 changed files with 2 additions and 1 deletions

3
camera-operator.py Normal file → Executable file
View File

@ -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()