chore: move yaml files to correct folder

This commit is contained in:
Ananya Nayak 2023-09-11 19:10:57 +05:30
parent fdd350e249
commit 1e50e5f431
4 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ def main():
# default location.
config.load_kube_config()
with open(path.join(path.dirname(__file__), "nginx-deployment.yaml")) as f:
with open(path.join(path.dirname(__file__), "yaml_dir/nginx-deployment.yaml")) as f:
dep = yaml.safe_load(f)
k8s_apps_v1 = client.AppsV1Api()
resp = k8s_apps_v1.create_namespaced_deployment(