34 lines
1.7 KiB
JSON
34 lines
1.7 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(cp \"../cloud assiagment/backend/app.py\" backend/)",
|
|
"Bash(cp \"../cloud assiagment/backend/requirements.txt\" backend/)",
|
|
"Bash(cp \"../cloud assiagment/frontend/index.html\" frontend/)",
|
|
"Bash(cp \"../cloud assiagment/frontend/style.css\" frontend/)",
|
|
"Bash(cp \"../cloud assiagment/frontend/app.js\" frontend/)",
|
|
"Bash(python -m py_compile backend/app.py)",
|
|
"Bash(command -v kubectl)",
|
|
"Bash(kubectl version *)",
|
|
"Bash(kubectl apply *)",
|
|
"Bash(python -c \"import yaml,sys; list\\(yaml.safe_load_all\\(open\\('namespace.yaml'\\)\\)\\)\")",
|
|
"Bash(python -c \"import yaml,sys; list\\(yaml.safe_load_all\\(open\\('statefulset.yaml'\\)\\)\\)\")",
|
|
"Bash(python -c \"import yaml,sys; list\\(yaml.safe_load_all\\(open\\('service.yaml'\\)\\)\\)\")",
|
|
"Bash(python -c \"import yaml,sys; list\\(yaml.safe_load_all\\(open\\('deployment.yaml'\\)\\)\\)\")",
|
|
"Bash(chmod +x prepare-app.sh)",
|
|
"Bash(bash -n prepare-app.sh)",
|
|
"Bash(bash -n start-app.sh)",
|
|
"Bash(bash -n stop-app.sh)",
|
|
"Bash(python -c 'import yaml,sys; docs=list\\(yaml.safe_load_all\\(open\\('\\\\''__TRACKED_VAR__'\\\\''\\)\\)\\); print\\(f'\\\\'' {len\\(docs\\)} document\\(s\\):'\\\\''\\); [print\\(f'\\\\'' [{i}] kind={d.get\\(\"kind\"\\)}, name={d.get\\(\"metadata\",{}\\).get\\(\"name\"\\)}'\\\\''\\) for i,d in enumerate\\(docs\\) if d]')",
|
|
"Bash(docker version *)",
|
|
"Bash(minikube status *)",
|
|
"Bash(scoop install *)",
|
|
"Bash(minikube version *)",
|
|
"Bash(\"/c/Program Files/Docker/Docker/Docker Desktop.exe\")",
|
|
"Bash(./prepare-app.sh)",
|
|
"Bash(./start-app.sh)",
|
|
"Bash(./stop-app.sh)",
|
|
"Bash(minikube stop *)"
|
|
]
|
|
}
|
|
}
|