Removed secrets.yaml and finalised volumes

This commit is contained in:
Cian Hughes
2024-01-12 17:45:00 +00:00
parent a0f01dde1a
commit d183e43427
4 changed files with 75 additions and 12 deletions

4
deploy
View File

@@ -81,9 +81,9 @@ def deploy_stack(username: str, password: str, stack_name: Optional[str] = "stac
stacks = portainer.StacksApi(client)
# Then, deploy the substacks using the API
print("Deploying substacks via portainer API")
portainer_deploy_stack("volumes", stacks, endpoint_id)
# portainer_deploy_stack("networks", stacks, endpoint_id)
# portainer_deploy_stack("secrets", stacks, endpoint_id)
portainer_deploy_stack("networks", stacks, endpoint_id)
# portainer_deploy_stack("volumes", stacks, endpoint_id)
# portainer_deploy_stack("backend", stacks, endpoint_id)
# portainer_deploy_stack("frontend", stacks, endpoint_id)
print("Stack deployed!")