Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 551 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 551 Bytes

mongodb-in-cluster-as-resource

export HUMANITEC_ORG=FIXME
export HUMANITEC_TOKEN=FIXME

As Platform Admin, define an in-cluster mongodb resource:

humctl create \
    -f mongodb-incluster-resource.yaml

As Developer, deploy the frontend app talking to the mongodb resource:

ENVIRONMENT=development
MONGO_APP=your-mongo-app

score-humanitec delta \
    --deploy \
    --app ${MONGO_APP} \
    --env ${ENVIRONMENT} \
    --org ${HUMANITEC_ORG} \
    --token ${HUMANITEC_TOKEN} \
    --retry \
    -f score.yaml