Skip to content

Commit

Permalink
Classic confinement for Helm to align with Kubectl
Browse files Browse the repository at this point in the history
  • Loading branch information
joedborg committed Sep 8, 2018
1 parent f10335b commit c2a09e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 27 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ distributions.</p>

## Install

sudo snap install helm
sudo snap install helm --classic

([Don't have snapd installed?](https://snapcraft.io/docs/core/install))

Expand Down
8 changes: 0 additions & 8 deletions helm.wrapper

This file was deleted.

20 changes: 2 additions & 18 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,15 @@ description: |
pre-configured Kubernetes resources.
grade: stable
confinement: strict
confinement: classic

apps:
helm:
command: helm.wrapper
environment:
HELM_HOME: $SNAP_USER_COMMON
KUBECONFIG: $SNAP_USER_COMMON/kube/config
plugs:
- network
- network-bind
- home
command: helm

parts:
wrapper:
plugin: dump
source: .
stage:
- helm.wrapper
helm:
after:
- wrapper
plugin: dump
source: https://storage.googleapis.com/kubernetes-helm/helm-v$SNAPCRAFT_PROJECT_VERSION-linux-amd64.tar.gz
stage:
- helm
- socat

0 comments on commit c2a09e0

Please sign in to comment.