Skip to content

Commit 0123f29

Browse files
committed
k8s: fixup imports
1 parent e2fea79 commit 0123f29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/warnet/k8s.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import json
22
import os
3-
import sys
43
import tempfile
54
from pathlib import Path
65
from time import sleep
6+
from typing import Optional
77

88
import yaml
99
from kubernetes import client, config, watch
@@ -12,6 +12,7 @@
1212
from kubernetes.client.rest import ApiException
1313
from kubernetes.dynamic import DynamicClient
1414
from kubernetes.stream import stream
15+
from kubernetes.utils import create_from_yaml
1516

1617
from .constants import (
1718
CADDY_INGRESS_NAME,

0 commit comments

Comments
 (0)