Small fixes

This commit is contained in:
David Boreham 2023-10-23 21:37:17 -06:00
parent 5847cab1c0
commit a52cd73cdb
2 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,7 @@ from app.deployer import Deployer
class K8sDeployer(Deployer):
name: str = "k8s"
def __init__(self, compose_files, compose_project_name, compose_env_file) -> None:
config.load_kube_config()
self.client = client.CoreV1Api()

View File

@ -271,7 +271,6 @@ def init(ctx, config, output, map_ports_to_host):
for named_volume in named_volumes:
volume_descriptors[named_volume] = f"./data/{named_volume}"
spec_file_content["volumes"] = volume_descriptors
print(f"DEBUG spec: {spec_file_content}")
with open(output, "w") as output_file:
yaml.dump(spec_file_content, output_file)