Skip to content

Commit

Permalink
Add sort-manifests plugin (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
superbrothers authored and ahmetb committed May 9, 2019
1 parent 752230f commit 32b3d15
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions plugins/sort-manifests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: sort-manifests
spec:
version: v0.1.0
shortDescription: Sort manfest files in a proper order by Kind
description: |
When installing manifests, they should be sorted in a proper order by Kind.
For example, Namespace object must be in the first place when installing
them.
ksort sorts manifest files in a proper order by Kind, which is implementd by
using tiller.SortByKind() in Kubernetes Helm.
homepage: https://github.com/superbrothers/ksort
platforms:
- uri: https://github.com/superbrothers/ksort/releases/download/v0.1.0/ksort-darwin-amd64.zip
sha256: 4d7ab60c6e2aadcdc968e7bf9d383015cd8ff6ff6eca727b2475f5b0b336628d
bin: ksort
files:
- from: ksort
to: .
selector:
matchLabels:
os: darwin
arch: amd64
- uri: https://github.com/superbrothers/ksort/releases/download/v0.1.0/ksort-linux-amd64.zip
sha256: 52413ad1f8e1a92871afe376c888b8aa3ec534651fc4d6c90efb3c2fbeec03a7
bin: ksort
files:
- from: ksort
to: .
selector:
matchLabels:
os: linux
arch: amd64

0 comments on commit 32b3d15

Please sign in to comment.