Skip to content
Snippets Groups Projects
  1. Jun 09, 2017
    • Angus Lees's avatar
      Implement delete subcommand · bdefc0bf
      Angus Lees authored
      This removes all objects listed in config files (and dependents) -
      effectively reversing an `update --create`.
      
      Intended for short-lived "try this out; now clean up" workflows.
      
      Fixes #14
      bdefc0bf
  2. May 29, 2017
  3. May 23, 2017
    • Angus Lees's avatar
      Accept a wider range of jsonnet result structures · e1285841
      Angus Lees authored
      There is some variation in jsonnet "result" conventions.  This change
      assumes the top level is a JSON object, and then walks down looking
      for objects with `apiVersion` & `kind` fields.
      
      While walking down, the current code will expand JSON arrays, and
      object values.
      
      In particular, this should correctly accept:
      - single-value JSON files
      - arrays (jsonnet --yaml-stream)
      - "filename->object" objects (jsonnet --multi)
      
      (Note that any v1.Lists encountered are still expanded in a
      second-pass, as before)
      e1285841
  4. May 19, 2017
    • Angus Lees's avatar
      Attempt to topologically sort resources before updating · fad478f6
      Angus Lees authored
      The goal is to make a best-effort attempt at reducing the number of
      "crash-restart" loops required to bring up a group of interdependent
      resources.
      
      The current implementation is very simple and just sorts into 3 tiers:
      - Namespace, ThirdPartyResource, StorageClass
      - everything else
      - Pods or similar (Pod/Job/Deployment/DaemonSet/StatefulSet)
      fad478f6
  5. May 18, 2017
    • Angus Lees's avatar
      Implement "update" subcommand · d0327629
      Angus Lees authored
      - Support the standard client-go/kubectl flags
      - Switch object types to use client-go rather than apimachinery
      - Implement update subcommand
      d0327629
  6. May 16, 2017
    • Angus Lees's avatar
      gofmt · 4ab98f60
      Angus Lees authored
      4ab98f60
    • Angus Lees's avatar
      Add ability to read json/yaml/jsonnet input files · 9ddea438
      Angus Lees authored
      File format is recognised via simple file extension check.
      
      Any "List" objects found will be expanded into their constituent
      items, so single-element formats like json and jsonnet can use a
      v1.List to capture multiple resource objects.
      9ddea438