Skip to content

Commit

Permalink
attempt to fix kubectl staging
Browse files Browse the repository at this point in the history
  • Loading branch information
kelkawi-a committed Oct 11, 2024
1 parent a6ebfe1 commit 6755bb2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions airbyte_rock/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ parts:
chmod 644 /etc/apt/keyrings/kubernetes-apt-keyring.gpg # allow unprivileged APT programs to read this keyring
apt-get update
apt-get install -y kubectl
mkdir -p ${CRAFT_PART_INSTALL}/usr/local/bin/kubectl
install -o root -g root -m 0755 kubectl ${CRAFT_PART_INSTALL}/usr/local/bin/kubectl
cp -r $(which kubectl) ${CRAFT_PART_INSTALL}/usr/local/bin/kubectl
mkdir -p ${CRAFT_PART_INSTALL}/usr/local/bin
cp -r $(which kubectl) ${CRAFT_PART_INSTALL}/kubectl
organize:
kubectl: usr/local/bin/kubectl
stage:
- usr/local/bin/kubectl

Expand Down

0 comments on commit 6755bb2

Please sign in to comment.