Skip to content

simple gitter authenticated webapp with script hooks

Notifications You must be signed in to change notification settings

lalyos/gitter-scripter

Repository files navigation

Docker Automated build

This is a simple webapp authenticates with gitter oauth (github/gitlab/twitter). Once authentication is done, it calles out a bash script. The default one:

create a gitter oauth application

On gitter's developer site create new app Use redirect url as: http://gitter.yuorcustom.domain/login/callback

store oauth credentials

Store the newly generated oauth key and oauth secret in a secret:

kubectl create secret generic gitter \
  --from-literal=GITTER_OAUTH_KEY=$GITTER_OAUTH_KEY \
  --from-literal=GITTER_OAUTH_SECRET=$GITTER_OAUTH_SECRET

deploy

Now you can create all the k8s resources:

  • deployment
  • service
  • ingress
export workshopNamespace
export domain=mydomain.com
curl -sL https://raw.githubusercontent.com/lalyos/gitter-scripter/master/gitter-template.yaml \
  | envsubst \
  | kubectl apply -f -

roadmap

muhaha

  • custom script from web form
  • several modular script, probably with plugn or pluginhook

About

simple gitter authenticated webapp with script hooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published