Skip to content

Instantly share code, notes, and snippets.

@josephglanville
Created March 16, 2016 10:25
Show Gist options
  • Save josephglanville/55c3db1786441be65d65 to your computer and use it in GitHub Desktop.
Save josephglanville/55c3db1786441be65d65 to your computer and use it in GitHub Desktop.
Add new system app to Flynn

Adding a new system app

For all system apps

  • Add to bootstrap manifest template in bootstrap/manifest_template.json use deploy-app action unless app is pre-controller.
  • Add to image to release manifest in util/release/version_template.json
  • Add to updater SystemApps in updater/types/types.go

Additional steps for data appliances

  • Add cli subcommands for console/backup/restore see cli/psql.go as an example
  • Add provider to controller at boostrap time with the add-provider action in bootstrap/manifest_template.json
  • Add backup for the appliance in the cluster backup tool in cli/cluster.go
  • Add restore for the appliance for bootstrapping from backup host/cli/bootstrap.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment