Giter Site home page Giter Site logo

cruster-api's Introduction

๐Ÿ• cruster-api: order Domino's with Kubernetes

This is a kubebuilder-generated Kubernetes API that knows how to order Domino's. See config/samples/alpha_v1_pizzaorder.yaml for a sample PizzaOrder.

Track your pizzas with kubectl!

> kubectl get pizzaorders
NAME                      PRICE   PREP                        BAKE                        QUALITY CHECK               DELIVERED
large-sausage-pineapple   19.07   2019-07-21T13:18:38-07:00   2019-07-21T13:20:01-07:00   2019-07-21T13:26:16-07:00   2019-07-21T13:42:11-07:00

The above order is ๐ŸŽ‰ real ๐ŸŽ‰.

Current limitations:

  • US only
  • Pizzas only (no pasta/wings/etc)

No releases have been cut, so clone this repo if you want to give it a shot. make install && make run should be enough to run locally!

Please use at your own risk. I have placed exactly ONE real order with this so far. ๐Ÿ˜…

notes on the PizzaOrder structure

placeOrder tells the controller whether or not it should actually place the order. This is a failsafe because I was nervous. ๐Ÿ˜Ž

paymentSecret refers to a Secret that must exist in the same namespace as the PizzaOrder itself. The controller expects the following keys:

  • CardType (VISA/MASTERCARD/etc)
  • Number (the CC number)
  • Expiration (no slashes - ex. 0120 rather than 01/20)
  • SecurityCode (the CVV on the back of the card)
  • PostalCode (postal code of the billing address)

Domino's SDK

This controller uses pizza-go, which I whipped up as part of this weekend project. ๐Ÿ•

inspirations

cruster-api's People

Contributors

rudoi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.