Skip to content

Commit

Permalink
derailed#1873 add symlink into snap (derailed#2350)
Browse files Browse the repository at this point in the history
K9s snap is missing a symlink when installing on Ubuntu 22.04.3 LTS

This creates the link alongside the rest of the snap.
  • Loading branch information
ECiurleo committed Dec 18, 2023
1 parent 2985ef8 commit d23a51b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ base: core20
version: 'v0.27.4'
summary: K9s is a CLI to view and manage your Kubernetes clusters.
description: |
K9s is a CLI to view and manage your Kubernetes clusters. By leveraging a terminal UI, you can easily traverse Kubernetes resources and view the state of you clusters in a single powerful session.
K9s is a CLI to view and manage your Kubernetes clusters. By leveraging a terminal UI, you can easily traverse Kubernetes resources and view the state of your clusters in a single powerful session.
grade: stable
confinement: classic
Expand Down Expand Up @@ -38,5 +38,11 @@ parts:
make test
make build
install $SNAPCRAFT_PART_BUILD/execs/k9s -D $SNAPCRAFT_PART_INSTALL/bin/k9s
override-prime: |
mkdir -p $SNAPCRAFT_PART_INSTALL/bin
ln -s $SNAPCRAFT_PART_INSTALL/bin/k9s $SNAPCRAFT_PART_INSTALL/bin/k9s
build-packages:
- build-essential

prime:
- $build/bin/k9s

0 comments on commit d23a51b

Please sign in to comment.