From ac2b8c330a3867ca7de4b5edcf3306f490213710 Mon Sep 17 00:00:00 2001 From: Nicholas Dille Date: Sun, 29 Oct 2023 15:35:09 +0100 Subject: [PATCH] Added version check and completion --- tools/ingress2gateway/Dockerfile.template | 11 ++++------- tools/ingress2gateway/manifest.yaml | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/tools/ingress2gateway/Dockerfile.template b/tools/ingress2gateway/Dockerfile.template index 8fda00b33c..28213fdbe6 100644 --- a/tools/ingress2gateway/Dockerfile.template +++ b/tools/ingress2gateway/Dockerfile.template @@ -25,11 +25,8 @@ check-github-release-asset "kubernetes-sigs/ingress2gateway" "v${version}" "ingr curl --silent --location --fail "https://github.com/kubernetes-sigs/ingress2gateway/releases/download/v${version}/ingress2gateway_Linux_${arch_suffix}.tar.gz" \ | tar --extract --gzip --directory="${prefix}${target}/bin/" --no-same-owner \ ingress2gateway -EOF -# completion -#RUN <"${prefix}${target}/share/bash-completion/completions/foo" -#"${prefix}${target}/bin/foo" completion fish >"${prefix}${target}/share/fish/vendor_completions.d/foo.fish" -#"${prefix}${target}/bin/foo" completion zsh >"${prefix}${target}/share/zsh/vendor-completions/_foo" -#EOF \ No newline at end of file +"${prefix}${target}/bin/ingress2gateway" completion bash >"${prefix}${target}/share/bash-completion/completions/ingress2gateway" +"${prefix}${target}/bin/ingress2gateway" completion fish >"${prefix}${target}/share/fish/vendor_completions.d/ingress2gateway.fish" +"${prefix}${target}/bin/ingress2gateway" completion zsh >"${prefix}${target}/share/zsh/vendor-completions/_ingress2gateway" +EOF \ No newline at end of file diff --git a/tools/ingress2gateway/manifest.yaml b/tools/ingress2gateway/manifest.yaml index 448d899f16..58b5a995d6 100644 --- a/tools/ingress2gateway/manifest.yaml +++ b/tools/ingress2gateway/manifest.yaml @@ -2,7 +2,7 @@ $schema: https://tools.uniget.dev/schema.yaml name: ingress2gateway version: "0.1.0" -check: "" +check: "" # No version parameter platforms: - linux/amd64 - linux/arm64