Skip to content

Commit

Permalink
- documentation: more detailed information on deployment descriptors
Browse files Browse the repository at this point in the history
  • Loading branch information
spio committed Jun 29, 2018
1 parent 9eca36a commit f8f5e05
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions integration/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ apbtest:
helmtest:
helm lint snafu-chart
helm init --tiller-namespace $(NS)
#oc policy add-role-to-user edit "system:serviceaccount:$(NS):tiller"
helm install --dry-run --debug --tiller-namespace $(NS) snafu-chart
14 changes: 14 additions & 0 deletions openshift/README.deployment
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ German language):

https://blog.vshn.ch/2017/09/serverless-computing-functions-as-a-service-mit-appuio-und-snafu

Brief instructions:

PROJECT=`oc config get-contexts | grep ^* | awk '{print $5}'`
oc -n $PROJECT process -f snafu-control-template.yaml | oc -n $PROJECT create -f -

~/.aws/credentials:
[default]
aws_access_key_id = mykey
aws_secret_access_key = myaccesskey

alias aws="aws --endpoint-url http://snafu-control-$PROJECT.appuioapp.ch"
aws lambda list-functions
aws lambda invoke --function-name lambda.lambda_handler --payload '{"event": "test"}' /dev/stdout

Kubernetes
----------

Expand Down

0 comments on commit f8f5e05

Please sign in to comment.