Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating Snap package #687

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions snap/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Kubicorn Snap

## Installation

```
snap install kubicorn
snap connect kubicorn:ssh-keys
snap connect kubicorn:kube-config
```
35 changes: 35 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: kubicorn
base: core18
version: git
joedborg marked this conversation as resolved.
Show resolved Hide resolved
summary: Create, manage, snapshot, and scale K8s infrastructure in the cloud
description: |
kubicorn is an free and open source project that solves the Kubernetes
infrastructure problem and gives users a rich golang library to work with
infrastructure.
joedborg marked this conversation as resolved.
Show resolved Hide resolved
grade: stable
confinement: strict

plugs:
kube-config:
interface: personal-files
read:
- $HOME/.kube/config
write:
- $HOME/.kube/config

joedborg marked this conversation as resolved.
Show resolved Hide resolved
apps:
joedborg marked this conversation as resolved.
Show resolved Hide resolved
kubicorn:
command: kubicorn
plugs:
- home
- network
- ssh-keys
- kube-config

joedborg marked this conversation as resolved.
Show resolved Hide resolved
parts:
joedborg marked this conversation as resolved.
Show resolved Hide resolved
kubicorn:
plugin: go
joedborg marked this conversation as resolved.
Show resolved Hide resolved
source: .
go-importpath: github.com/kubicorn/kubicorn
build-packages:
- gcc