Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tbraack/tanka Loading
base: v0.1.0
Choose a base ref
...
head repository: tbraack/tanka Loading
compare: v0.2.0
Choose a head ref
  • 8 commits
  • 25 files changed
  • 1 contributor

Commits on Jul 31, 2019

  1. Configuration menu
    Copy the full SHA
    631d5fe View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2019

  1. feat(cmd): allow the baseDir to be passed as an argument (grafana#6)

    The baseDir is the most important directory, because it directly affects JPATH
    resolution.
    
    It was assumed as the pwd so far. However, it is handy in scripts to specify it
    on the command line. This behaviour switches to specify only.
    
    BREAKING: You must specify the baseDir on the command line. To mimic the old
    behaviour, use `tk show .`
    sh0rez committed Aug 6, 2019
    Configuration menu
    Copy the full SHA
    55adf80 View commit details
    Browse the repository at this point in the history
  2. feat(cli): Completions (grafana#7)

    Adds CLI-completion support to tanka 🎉 
    
    The main workflow commands (show, diff, apply) now support completing the environment.
    This is done using a combination of spf13/cobra and posener/complete.
    
    Supported shells are bash, zsh and fish. Install using `tk --install-completion`
    sh0rez committed Aug 6, 2019
    Configuration menu
    Copy the full SHA
    aea3bdf View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2019

  1. feat(kubernetes): subset-diff (grafana#11)

    So far, diffing was offloaded to kubectl. While this produces very nice results,
    it is only possible for kubernetes version 1.13+.
    
    Nevertheless, there are older cluster versions around, so these need to be
    supported as well. subset-diff addresses those cases in the hopefully best way
    possible.
    
    To reduce field bloat, it only diffes those fields, that are present in the
    local config. Kubernetes adds dynamic fields on the fly which we cannot know
    about, so this is required.
    
    Note: You WILL NOT see removed fields in the diff output. Upgrade your cluster
    version to 1.13+ and use native diffing.
    sh0rez committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    13f6fdd View commit details
    Browse the repository at this point in the history
  2. doc: Design document (grafana#8)

    Adds a detailed design document outlining the problem tanka is trying to solve and the taken solution.
    sh0rez committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    283b34a View commit details
    Browse the repository at this point in the history
  3. feat(tooling): import analysis (grafana#10)

    Adds a tool (tk tool imports) to get a list of all files, a file transitively imports.
    
    Optionally allows to check whether a git commit changed one of those imports.
    
    BREAKING: tk debug jpath is now tk tool jpath
    sh0rez committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    ce2b0d3 View commit details
    Browse the repository at this point in the history
  4. fix(kubernetes/diff): major fixes, performance (grafana#12)

    Addresses several open points that made using subset-diff impossible:
    
    - produced a `panic` in case a slice returned from kubernetes was bigger than the one in the config
    - showed differences on the apiVersion. While those were indeed valid, it was too much bloat so they are removed for now
    - parallelizes generation of the subset. This includes parallel invocations of kubectl, which give an additional performance boost 🎉
    sh0rez committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    3248bb9 View commit details
    Browse the repository at this point in the history
  5. chore(release): v0.2.0

    sh0rez committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    79d6915 View commit details
    Browse the repository at this point in the history
Loading