Skip to content

Instantly share code, notes, and snippets.

@dholbach
Created January 18, 2019 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dholbach/a5617202b78d7ed7c325cacf78f86461 to your computer and use it in GitHub Desktop.
Save dholbach/a5617202b78d7ed7c325cacf78f86461 to your computer and use it in GitHub Desktop.
fluxctl snap
name: fluxctl
version: '0.1'
summary: fluxctl talks to Weave Flux and helps you deploy your code
description: |
fluxctl talks to your Weave Flux instance and exposes all its
functionality to an easy to use command line interface.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: strict
plugs:
system-files:
read: [/etc/kube/config]
personal-files:
read: [$HOME/.kube/config]
parts:
fluxctl:
plugin: go
go-importpath: github.com/weaveworks/flux
prime:
- bin/fluxctl
apps:
fluxctl:
command: fluxctl
plugs: [system-files, personal-files, network]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment