Skip to content

Latest commit

 

History

History
executable file
·
30 lines (24 loc) · 948 Bytes

README.md

File metadata and controls

executable file
·
30 lines (24 loc) · 948 Bytes

hello-world-apb

Build Status

An apb for deploying a simple hello world app that can be bound to PostgreSQL for testing purposes.

What it does

  • Deploys a web app that can be bound to a database.

Parameters

  • NAMESPACE: Optional, default 'hello-world', Namespace to deploy the cluster in.

Running the application

docker run --rm --net=host \
-v $HOME/.kube:/opt/apb/.kube:z \
-u $UID \
docker.io/ansibleplaybookbundle/hello-world-apb \
provision --extra-vars 'namespace=hello-world'

Tearing down the application

docker run --rm --net=host \
-v $HOME/.kube:/opt/apb/.kube:z \
-u $UID \
docker.io/ansibleplaybookbundle/hello-world-apb \
deprovision --extra-vars 'namespace=hello-world'