kops versions are bound to the version of the kubernetes cluster they
are targeted to maintain (kops 1.12 -> k8s 1.12, kops 1.13 -> k8s 1.13,
etc). Upgrading kops should therefore be done very deliberately
as it may affect the cluster it is working with in drastic ways.
This change introduces the ability to maintain multiple versions of
kops in nixpkgs, giving the users the ability to pin it to their target
cluster version when installing
Semi-automatic update. These checks were performed:
- built on NixOS
- ran `/nix/store/hclwimgs404fz9k2lrx35xcxa16bgb9x-kops-1.8.1-bin/bin/kops -h` got 0 exit code
- ran `/nix/store/hclwimgs404fz9k2lrx35xcxa16bgb9x-kops-1.8.1-bin/bin/kops --help` got 0 exit code
- ran `/nix/store/hclwimgs404fz9k2lrx35xcxa16bgb9x-kops-1.8.1-bin/bin/kops help` got 0 exit code
- ran `/nix/store/hclwimgs404fz9k2lrx35xcxa16bgb9x-kops-1.8.1-bin/bin/kops version` and found version 1.8.1
- found 1.8.1 with grep in /nix/store/hclwimgs404fz9k2lrx35xcxa16bgb9x-kops-1.8.1-bin
- found 1.8.1 in filename of file in /nix/store/hclwimgs404fz9k2lrx35xcxa16bgb9x-kops-1.8.1-bin
cc "@offline @zimbatm @ehmry @lethalman"