Skip to content
Snippets Groups Projects
  1. Dec 16, 2017
    • Lucas Roesler's avatar
      Add support to specify secrets in services · 0fef825f
      Lucas Roesler authored
      
      **What**
      - During function creation, accept an array of strings defining swarm secrets
      that are required for the service
      - Update docs
      - Add new guide on using the secrets capability
      - Add new sample function to highlight using environment variables
      - Update `ApiKeyProtected` sample function to utilize the new secrets
      capabilities
      
      **Why**
      - This allows secrets to remain encrypted at rest instead of being unencrypted
      in environment variables and yaml files.
      
      Fixes #285
      
      Signed-off-by: default avatarLucas Roesler <lucas.roesler@gmail.com>
      0fef825f
  2. Dec 05, 2017
  3. Nov 15, 2017
  4. Nov 05, 2017
  5. Oct 23, 2017
  6. Oct 04, 2017
  7. Sep 27, 2017
    • John McCabe's avatar
      Implement Swarm update handler using PUT · 40e1fac1
      John McCabe authored
      
      This commit implements an update handler for Docker Swarm, it queries the
      current spec, updates values in-situ before calling ServiceUpdate.
      
      The UpdateConfig FailureAction is set to rollback, so in the event of
      supplying values to the update that would result in the service failing
      then the update will be rolled back.
      
      The UpdateConfig Parallelism param is set to an explicit value of 1 which
      will result in functions being updated 1 by 1 rather than all at once.
      
      It also moves the restartDelay declaration out of the create and update
      handlers and into the main server function alongside maxRestarts.
      
      And finally this commit uses the PUT HTTP verb for updates rather than
      the non-HTTP UPDATE verb which was being used initially (also adding it
      to the Swagger definition).
      
      Signed-off-by: default avatarJohn McCabe <john@johnmccabe.net>
      40e1fac1
  8. Sep 22, 2017
  9. Sep 19, 2017
  10. Sep 04, 2017
  11. Sep 02, 2017
  12. Aug 23, 2017
  13. Aug 16, 2017
  14. May 30, 2017
    • Sebastien Guilloux's avatar
      Handle private docker registry auth · 9e711b3b
      Sebastien Guilloux authored
      This adds support for private docker registries, by adding
      an optional `registryAuth` field in the CreateFunctionRequest.
      Auth must be passed as base64-encoded basic auth, similar to
      how done in Docker file store credentials (~/.docker/config.json).
      Credentials are then passed to swarm at service creation.
      9e711b3b
  15. May 08, 2017
  16. Apr 27, 2017
  17. Mar 31, 2017
  18. Mar 14, 2017
  19. Mar 12, 2017
  20. Jan 31, 2017
  21. Jan 25, 2017
Loading