From c1a2418b29b2d08d3d46002c396230af2b675b0d Mon Sep 17 00:00:00 2001 From: Ryan McKern Date: Thu, 14 Dec 2023 16:06:46 -0800 Subject: [PATCH 1/6] Build stripped binaries And enable trimpath --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 841f583..f8b3b9a 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,8 @@ ifndef VERSION_REF VERSION_REF ?= $(shell git describe --tags --always --dirty="-dev") endif -LDFLAGS := -ldflags='-X "main.VersionRef=$(VERSION_REF)"' +LDFLAGS := -ldflags='-s -w -X "main.VersionRef=$(VERSION_REF)"' +export GOFLAGS := -trimpath GOFILES = $(shell find . -iname '*.go' | grep -v -e vendor -e _modules -e _cache -e /data/) TEST_KUBECONFIG = .kube/kind-kubeapply-test.yaml @@ -12,7 +13,7 @@ LAMBDAZIP := kubeapply-lambda-$(VERSION_REF).zip # Main targets .PHONY: kubeapply kubeapply: data - go build -o build/kubeapply $(LDFLAGS) ./cmd/kubeapply + go build $(LDFLAGS) -o build/kubeapply ./cmd/kubeapply .PHONY: install install: data @@ -21,11 +22,11 @@ install: data # Lambda and server-related targets .PHONY: kubeapply-lambda kubeapply-lambda: data - GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -tags lambda.norpc -o build/kubeapply-lambda $(LDFLAGS) ./cmd/kubeapply-lambda + GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build $(LDFLAGS) -tags lambda.norpc -o build/kubeapply-lambda ./cmd/kubeapply-lambda .PHONY: kubeapply-lambda-kubeapply kubeapply-lambda-kubeapply: data - GOOS=linux GOARCH=amd64 go build -o build/kubeapply $(LDFLAGS) ./cmd/kubeapply + GOOS=linux GOARCH=amd64 go build $(LDFLAGS) -o build/kubeapply ./cmd/kubeapply .PHONY: lambda-zip lambda-zip: clean kubeapply-lambda kubeapply-lambda-kubeapply @@ -33,7 +34,7 @@ lambda-zip: clean kubeapply-lambda kubeapply-lambda-kubeapply .PHONY: kubeapply-server kubeapply-server: data - go build -o build/kubeapply-server $(LDFLAGS) ./cmd/kubeapply-server + go build $(LDFLAGS) -o build/kubeapply-server ./cmd/kubeapply-server # Test and formatting targets .PHONY: test From d656392cf90931c9e1ab9a74bf5a46ae4486986a Mon Sep 17 00:00:00 2001 From: Ryan McKern Date: Thu, 14 Dec 2023 16:19:31 -0800 Subject: [PATCH 2/6] Upgrade go for lambda, remove arch --- Dockerfile.lambda | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.lambda b/Dockerfile.lambda index 44401e9..d63d4fa 100644 --- a/Dockerfile.lambda +++ b/Dockerfile.lambda @@ -1,5 +1,5 @@ # Fetch or build all required binaries -FROM --platform=linux/amd64 golang:1.20 as builder +FROM golang:1.21 as builder ARG VERSION_REF RUN test -n "${VERSION_REF}" From 5438bbdfdd87cabc2370f23b55a2ef86c194baf8 Mon Sep 17 00:00:00 2001 From: Ryan McKern Date: Thu, 14 Dec 2023 16:33:01 -0800 Subject: [PATCH 3/6] Public repositories do not use Buildkite. This is a public repo. Segment does not use Buildkite for public repositories, does not publish public images through ECR, and should not push public codebases into private ECR namespaces. --- .buildkite/pipeline.yml | 27 --------------------------- Makefile | 3 --- scripts/publish.sh | 26 -------------------------- 3 files changed, 56 deletions(-) delete mode 100644 .buildkite/pipeline.yml delete mode 100755 scripts/publish.sh diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml deleted file mode 100644 index 1109645..0000000 --- a/.buildkite/pipeline.yml +++ /dev/null @@ -1,27 +0,0 @@ -steps: - - label: Install dependencies - env: - SEGMENT_BUILDKITE_IMAGE: "buildkite-agent-golang1.19:latest" - SEGMENT_CONTEXTS: 'snyk' - agents: - queue: v1 - commands: | - which -a go - env | grep PATH - export PATH=$PATH:/go/bin:/var/lib/buildkite-agent/go/bin:/go/src/github.com/segmentio/kubeapply/deps:$HOME/local/bin - mkdir -p deps - cd deps && ../scripts/pull-deps.sh && cd - - env | grep PATH - ls -al "${HOME}/local/bin" - which -a helm - SNYK_LEVEL=FLHI curl -sL https://raw.githubusercontent.com/segmentio/snyk_helpers/master/initialization/snyk.sh | sh - - - label: 'Publish' - env: - SEGMENT_CONTEXTS: "aws-credentials,ecr" - SEGMENT_BUILDKITE_IMAGE: 'buildkite-agent-golang1.19:latest' - agents: - queue: v1 - commands: | - export PATH=$PATH:/go/bin:/var/lib/buildkite-agent/go/bin:/go/src/github.com/segmentio/kubeapply/deps:$HOME/local/bin - make publish diff --git a/Makefile b/Makefile index f8b3b9a..ca93575 100644 --- a/Makefile +++ b/Makefile @@ -79,6 +79,3 @@ endif .PHONY: clean clean: rm -Rf *.zip .kube build vendor - -publish: - ./scripts/publish.sh diff --git a/scripts/publish.sh b/scripts/publish.sh deleted file mode 100755 index a4b6898..0000000 --- a/scripts/publish.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -AWS_ACCOUNT_ID='528451384384' -AWS_REGION='us-west-2' - -main() { - local -r SHORT_GIT_SHA=$(git rev-parse --short HEAD) - local -r image="${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/kubeapply:${SHORT_GIT_SHA}" - local -r lambda_image="${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/kubeapply-lambda:${SHORT_GIT_SHA}" - docker build \ - -t "${image}" \ - --build-arg VERSION_REF="${SHORT_GIT_SHA}" \ - . - docker push "${image}" - - docker build \ - -f Dockerfile.lambda \ - -t "${lambda_image}" \ - --build-arg VERSION_REF="${SHORT_GIT_SHA}" \ - . - docker push "${lambda_image}" -} - -main "$@" From 940977a7bc38f1c3f1cdddafc134a9e2e3ff0b02 Mon Sep 17 00:00:00 2001 From: Ryan McKern Date: Thu, 28 Dec 2023 19:45:10 -0800 Subject: [PATCH 4/6] Small Dockerfile.lambda fixups --- Dockerfile.lambda | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Dockerfile.lambda b/Dockerfile.lambda index d63d4fa..61866a6 100644 --- a/Dockerfile.lambda +++ b/Dockerfile.lambda @@ -1,12 +1,12 @@ # Fetch or build all required binaries -FROM golang:1.21 as builder +FROM golang:1.21-bookworm as builder ARG VERSION_REF RUN test -n "${VERSION_REF}" ENV SRC github.com/segmentio/kubeapply -RUN apt-get update && apt-get install --yes \ +RUN apt-get update && apt-get install --no-install-recommends --yes \ curl \ unzip \ wget @@ -16,24 +16,21 @@ RUN cd /usr/local/bin && /go/src/${SRC}/scripts/pull-deps.sh WORKDIR /go/src/${SRC} -ENV CGO_ENABLED=1 -ENV GO111MODULE=on - RUN make kubeapply VERSION_REF=${VERSION_REF} && \ cp build/kubeapply /usr/local/bin RUN make kubeapply-lambda VERSION_REF=${VERSION_REF} && \ cp build/kubeapply-lambda /usr/local/bin -# Copy into final image +# Copy into final image from builder FROM public.ecr.aws/lambda/provided:al2 RUN yum install -y git unzip # Not sure if awscli is needed for running lambda, but keeping it here for now RUN curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o awscliv2.zip \ - && unzip awscliv2.zip \ - && ./aws/install \ - && rm -rf aws awscliv2.zip + && unzip awscliv2.zip \ + && ./aws/install \ + && rm -rf aws awscliv2.zip COPY --from=builder \ /usr/local/bin/aws-iam-authenticator \ From db9152758e2e5f5a03ba97aad4d833c6a9ea607a Mon Sep 17 00:00:00 2001 From: Ryan McKern Date: Thu, 28 Dec 2023 19:56:32 -0800 Subject: [PATCH 5/6] Use contemporary `go install` for go-bindata --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ca93575..7c9256f 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ $(TEST_KUBECONFIG): .PHONY: go-bindata go-bindata: ifeq (, $(shell which go-bindata)) - GO111MODULE=off go get -u github.com/kevinburke/go-bindata/... + go install github.com/kevinburke/go-bindata/v4/...@latest endif .PHONY: clean From ad94e2981f48de84c8296e18b8897260d581fd42 Mon Sep 17 00:00:00 2001 From: Ryan McKern Date: Thu, 28 Dec 2023 20:00:38 -0800 Subject: [PATCH 6/6] Update bindata --- data/data.go | 80 +++++++++++++++++++--------------------------------- 1 file changed, 29 insertions(+), 51 deletions(-) diff --git a/data/data.go b/data/data.go index fe173a6..b27b71f 100644 --- a/data/data.go +++ b/data/data.go @@ -10,7 +10,6 @@ // scripts/cluster-summary/tabulate.py (57.091kB) // scripts/create-lambda-bundle.sh (791B) // scripts/kindctl.sh (1.76kB) -// scripts/publish.sh (703B) // scripts/pull-deps.sh (2.643kB) package data @@ -21,7 +20,6 @@ import ( "crypto/sha256" "fmt" "io" - "io/ioutil" "os" "path/filepath" "strings" @@ -95,7 +93,7 @@ func pkgPullreqTemplatesApply_commentGotpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "pkg/pullreq/templates/apply_comment.gotpl", size: 1052, mode: os.FileMode(0644), modTime: time.Unix(1647954418, 0)} + info := bindataFileInfo{name: "pkg/pullreq/templates/apply_comment.gotpl", size: 1052, mode: os.FileMode(0644), modTime: time.Unix(1702514262, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x39, 0x98, 0xb8, 0x81, 0x9e, 0xbb, 0x97, 0xdd, 0x58, 0x91, 0x82, 0x55, 0x99, 0xef, 0x6c, 0xc3, 0x49, 0xe7, 0xe0, 0x9d, 0x4, 0x30, 0x35, 0x16, 0xb9, 0xa3, 0x44, 0x34, 0x84, 0x2e, 0x0, 0x1b}} return a, nil } @@ -115,7 +113,7 @@ func pkgPullreqTemplatesDiff_commentGotpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "pkg/pullreq/templates/diff_comment.gotpl", size: 1228, mode: os.FileMode(0644), modTime: time.Unix(1647954418, 0)} + info := bindataFileInfo{name: "pkg/pullreq/templates/diff_comment.gotpl", size: 1228, mode: os.FileMode(0644), modTime: time.Unix(1702514262, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xee, 0x25, 0x58, 0x45, 0x7c, 0xdc, 0xb1, 0x76, 0x21, 0x29, 0x8e, 0x84, 0x5d, 0xb3, 0x29, 0xcf, 0x2e, 0x6e, 0xac, 0x9c, 0xd7, 0x94, 0xb5, 0xab, 0x64, 0xe6, 0x5b, 0xc3, 0x31, 0x9e, 0x7b, 0xcc}} return a, nil } @@ -135,7 +133,7 @@ func pkgPullreqTemplatesError_commentGotpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "pkg/pullreq/templates/error_comment.gotpl", size: 172, mode: os.FileMode(0644), modTime: time.Unix(1647954418, 0)} + info := bindataFileInfo{name: "pkg/pullreq/templates/error_comment.gotpl", size: 172, mode: os.FileMode(0644), modTime: time.Unix(1702514262, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x66, 0x91, 0x41, 0xaa, 0x31, 0xec, 0xcc, 0xde, 0x38, 0xc3, 0x60, 0xd2, 0xa0, 0x3c, 0x7f, 0xb1, 0xbe, 0x9e, 0x85, 0x37, 0x3, 0x9e, 0xd0, 0xc9, 0x9c, 0xab, 0x18, 0x16, 0xdf, 0x86, 0xf0, 0x79}} return a, nil } @@ -155,7 +153,7 @@ func pkgPullreqTemplatesHelp_commentGotpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "pkg/pullreq/templates/help_comment.gotpl", size: 1025, mode: os.FileMode(0644), modTime: time.Unix(1647954418, 0)} + info := bindataFileInfo{name: "pkg/pullreq/templates/help_comment.gotpl", size: 1025, mode: os.FileMode(0644), modTime: time.Unix(1702514262, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2d, 0xd5, 0xd5, 0x14, 0xf7, 0xf3, 0x98, 0xc4, 0x7e, 0x8e, 0x37, 0x4c, 0x3a, 0x9a, 0x21, 0x20, 0xe2, 0xe, 0x6a, 0x1b, 0x92, 0x5e, 0x3a, 0x45, 0x4e, 0x7, 0x60, 0xe8, 0x65, 0x94, 0x37, 0xab}} return a, nil } @@ -175,7 +173,7 @@ func pkgPullreqTemplatesStatus_commentGotpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "pkg/pullreq/templates/status_comment.gotpl", size: 355, mode: os.FileMode(0644), modTime: time.Unix(1647954418, 0)} + info := bindataFileInfo{name: "pkg/pullreq/templates/status_comment.gotpl", size: 355, mode: os.FileMode(0644), modTime: time.Unix(1702514262, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2c, 0xf0, 0xcb, 0x4, 0x35, 0xaa, 0xf4, 0xf7, 0x74, 0x5d, 0xee, 0xae, 0x74, 0xe2, 0xec, 0xd7, 0x59, 0x9, 0x86, 0xca, 0x60, 0x36, 0x29, 0x25, 0xfb, 0x74, 0x50, 0x8d, 0xbd, 0xe8, 0x9c, 0x70}} return a, nil } @@ -195,7 +193,7 @@ func scriptsClusterSummary__init__Py() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "scripts/cluster-summary/__init__.py", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1647954418, 0)} + info := bindataFileInfo{name: "scripts/cluster-summary/__init__.py", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1702514262, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}} return a, nil } @@ -215,7 +213,7 @@ func scriptsClusterSummaryCluster_summaryPy() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "scripts/cluster-summary/cluster_summary.py", size: 4488, mode: os.FileMode(0755), modTime: time.Unix(1647954418, 0)} + info := bindataFileInfo{name: "scripts/cluster-summary/cluster_summary.py", size: 4488, mode: os.FileMode(0755), modTime: time.Unix(1702514262, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb2, 0xfd, 0xc1, 0xd0, 0x9d, 0x3e, 0x14, 0x51, 0x1a, 0x84, 0x85, 0x49, 0x4a, 0x63, 0x5c, 0x4d, 0x3a, 0x6c, 0x28, 0x48, 0x9, 0xd0, 0x64, 0x2f, 0x7b, 0x5b, 0xa8, 0xe8, 0x1, 0xa, 0xa9, 0x99}} return a, nil } @@ -235,7 +233,7 @@ func scriptsClusterSummaryTabulatePy() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "scripts/cluster-summary/tabulate.py", size: 57091, mode: os.FileMode(0644), modTime: time.Unix(1647954418, 0)} + info := bindataFileInfo{name: "scripts/cluster-summary/tabulate.py", size: 57091, mode: os.FileMode(0644), modTime: time.Unix(1702514262, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe9, 0x68, 0x8, 0x2c, 0x92, 0x99, 0x98, 0x23, 0x29, 0xba, 0x60, 0xc3, 0xa4, 0x16, 0x4, 0xe3, 0x2, 0xdd, 0x43, 0xdd, 0x2d, 0x2d, 0x51, 0x1e, 0xa9, 0x2, 0xe9, 0x71, 0x54, 0xef, 0x3c, 0x1c}} return a, nil } @@ -255,7 +253,7 @@ func scriptsCreateLambdaBundleSh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "scripts/create-lambda-bundle.sh", size: 791, mode: os.FileMode(0755), modTime: time.Unix(1647954418, 0)} + info := bindataFileInfo{name: "scripts/create-lambda-bundle.sh", size: 791, mode: os.FileMode(0755), modTime: time.Unix(1702514262, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc6, 0x84, 0xb9, 0x6d, 0xfb, 0x33, 0xdc, 0xa7, 0xa8, 0x67, 0x8f, 0x17, 0xde, 0x9, 0x83, 0x14, 0x89, 0x73, 0xea, 0x81, 0x18, 0xa4, 0x2b, 0x9d, 0x33, 0xe3, 0xfe, 0xc3, 0xd9, 0x64, 0x43, 0x3c}} return a, nil } @@ -275,32 +273,12 @@ func scriptsKindctlSh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "scripts/kindctl.sh", size: 1760, mode: os.FileMode(0755), modTime: time.Unix(1647954418, 0)} + info := bindataFileInfo{name: "scripts/kindctl.sh", size: 1760, mode: os.FileMode(0755), modTime: time.Unix(1702514262, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfc, 0x3e, 0x4a, 0xe1, 0xf9, 0x6d, 0x9, 0xf1, 0x17, 0xd1, 0xfe, 0xa0, 0x7e, 0xa7, 0x7a, 0xbb, 0x4c, 0xe, 0x1, 0x63, 0x7f, 0x15, 0x0, 0x16, 0x56, 0x48, 0x95, 0xc5, 0xb0, 0xf0, 0x20, 0xca}} return a, nil } -var _scriptsPublishSh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x92\x5d\x6b\xb3\x30\x18\x86\xcf\xf3\x2b\x9e\xd7\x57\xb0\x3d\x48\x64\xfd\x80\x32\x10\x26\xad\x6b\x3d\xa9\xa0\xdd\x76\x32\x90\xa8\x69\x1b\x8c\x1f\x24\xda\xb2\x89\xff\x7d\x54\x4f\x74\x63\x3b\xda\x3c\x7c\x6e\x9f\xfb\xba\x12\xf2\xff\x9f\x59\x2b\x69\x46\x3c\x37\x59\x7e\x81\x88\xaa\x33\x42\x8a\x55\x80\x59\x5d\x40\xc9\x4b\x76\xa4\x5c\x20\x64\xbf\x04\xa1\xbd\x5e\x7b\x4f\xfb\x43\xe8\x6e\x2c\x63\x39\x5b\x2d\x96\x77\xf3\xd5\x62\xbe\x5a\x18\x5d\xea\x3b\x5b\xd7\xdb\x5b\x46\xad\xf0\x95\xa9\x0a\xcf\x0c\x84\x32\xca\xf3\xc9\x14\x1a\x04\x00\x20\x8a\x98\x0a\xc0\x12\x82\x9d\xe7\x1f\xc2\xad\x7b\x08\x83\x9d\x6d\xe9\x93\x13\xaf\x40\xb2\x0b\x2e\xa9\x54\x0c\x30\x56\xe7\x42\x56\xb0\x73\xec\xcd\x74\xbc\xc8\x33\x7a\x62\x96\xa6\x37\x63\x9b\x96\x24\xa9\x24\x2c\x96\xa4\x4f\x7a\x93\x96\xd0\x8c\xbe\x17\x39\xbd\x2a\x12\x17\x99\x99\xd6\x11\xa3\x65\x29\xde\xee\xf5\x66\x64\xd0\x6a\x63\x8a\xa0\x59\x94\xd0\xf0\x77\x60\xb8\x6f\xfb\x86\x99\x14\x71\xca\x24\x44\x35\x17\x09\xbc\x76\xa3\xdb\x87\x2b\xd0\xf4\xa6\x13\x68\xb5\xe1\x1c\x77\x7f\x62\x2a\x4f\xf0\xec\xf8\x81\xeb\xed\x43\xdf\x79\xbc\x49\x7e\x6a\x1f\x2c\x91\x21\xa9\xac\xd5\x79\xd0\x8d\x7e\xb4\x38\xc2\xa6\x4b\x8e\x5c\x30\xd2\x9f\xe3\x8b\xe4\xf0\xb2\xfe\xc8\x75\x8c\x40\x6d\xff\xac\x40\xd3\x1f\x34\xf4\x11\x00\x00\xff\xff\x84\xc5\xea\x8f\xbf\x02\x00\x00") - -func scriptsPublishShBytes() ([]byte, error) { - return bindataRead( - _scriptsPublishSh, - "scripts/publish.sh", - ) -} - -func scriptsPublishSh() (*asset, error) { - bytes, err := scriptsPublishShBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "scripts/publish.sh", size: 703, mode: os.FileMode(0755), modTime: time.Unix(1668453457, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x15, 0xc6, 0x54, 0xae, 0xf1, 0x72, 0xf2, 0xe9, 0xb8, 0xa1, 0x6, 0x11, 0x19, 0x6b, 0xb8, 0xa4, 0x8b, 0x17, 0x35, 0xd0, 0xc, 0xf3, 0x5d, 0x8, 0x29, 0xad, 0x79, 0x6b, 0xd7, 0x81, 0xbe, 0x94}} - return a, nil -} - -var _scriptsPullDepsSh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x56\x5d\x53\xdb\x4a\x12\x7d\xd7\xaf\xe8\x15\xa9\xda\xdd\xda\xe8\x7b\xf4\x95\x2a\x1e\xbc\x84\x1b\xa8\x04\xa8\x02\x72\x1f\xee\x8b\x6b\x3e\x7a\xac\x29\xcb\x92\x33\x33\xc2\x84\x84\xff\x7e\x6b\x64\x83\x0d\x18\x6e\xf2\x82\x8a\x9e\xd3\xa7\x5b\x67\xba\x8f\x75\xf0\xaf\x88\xa9\x2e\x62\xd4\x34\x9e\x67\xd0\x42\x80\x43\x0f\x4b\xb5\x44\x49\x55\xeb\x79\x07\x70\xde\x5b\x04\xdb\x28\x03\xca\xc0\x60\x50\x00\xfb\x0e\xac\xb7\x0d\xd8\x06\x61\x39\xb0\x56\x99\x06\x0c\xd7\x6a\x69\x81\x76\x62\x0c\x5b\x34\x76\x13\x0b\x1d\xc9\x25\x7e\x1b\x94\x46\x01\x37\xa8\x8d\xea\x3b\xe3\x82\x7f\xe8\x7e\x01\x13\xde\xa8\xb6\xc5\xf7\xe0\x9f\x4a\x58\xa1\xab\x00\x14\x84\x92\x12\x35\x76\xf6\x21\x01\x6c\x43\x3b\xb8\xc9\xc2\x3c\x24\x63\x05\xde\x77\xd6\x9d\xf7\xd2\x3b\x00\x9c\x9b\x80\xf7\x9d\x54\xb3\x41\x53\xeb\xe0\xd8\x09\x03\xc3\x12\x18\xaa\x6e\x06\x1a\x65\xaf\x17\xd4\x5a\x14\xef\x61\xd5\x28\xde\xc0\x4a\xb5\x2d\x58\xad\x66\x33\xd4\x40\x41\x23\xd7\x38\xa6\x7a\x07\xd0\xcb\xb1\xc4\x5f\x7d\x3f\x47\x5c\xa2\x06\xde\x0e\xc6\xa2\x06\xd9\x6b\x38\xc2\xce\x6a\x25\x87\x19\xfe\xdb\xc0\x67\x2a\xe7\x14\x54\x07\x4b\xdd\x8b\x81\xbb\xfc\xd0\xf7\x4e\x8e\xbf\x9c\x4d\xff\x3c\xbe\xbc\x3a\xbd\x38\x3f\xf4\xc7\x9e\x7d\xef\x00\x8e\x1a\xe4\x73\x33\x2c\x0c\x50\x8d\x80\xe1\x2c\x84\x06\x35\x7e\x80\xc6\xda\xa5\xf9\x10\x45\x33\x65\x9b\x81\x85\xbc\x5f\x44\x0d\xb6\x9b\x3f\x1a\x5b\xa4\x06\x4d\x64\xe9\x2c\x5a\x0b\xb0\x2e\x70\x75\x32\x49\xf3\x62\x7a\xf5\xf5\xec\xd0\xa7\x95\x10\x8c\x60\x16\x93\x2c\x67\xb9\x14\x24\xcf\xe2\x0a\x39\xc7\x1c\x29\x15\x45\x59\x88\x82\xd0\x5c\x60\xcd\xab\xba\x28\x62\x96\x17\x92\x72\xcc\x24\xd6\x75\xcc\xb2\xa4\xf2\x3d\xef\x74\x72\x36\x9d\x7c\xbd\x3e\x39\x3e\xbf\x3e\x3d\x9a\x5c\x5f\x5c\x6e\xdf\x20\x0e\xf3\x30\xf5\xf7\x20\x76\x5b\xc8\x19\x43\x42\xa8\x28\x65\x21\x44\x55\xd2\x38\xc5\x98\x91\x22\xa3\x29\x45\x51\x17\x49\x52\x65\x05\xb2\x54\x92\x58\x94\x92\x61\xc5\xf3\xa4\x24\x45\x4c\x49\x56\xe5\x45\x9a\x30\xdf\xf3\x3e\x7f\xfd\xff\xf1\xd1\xf5\x97\x6d\xe1\x9b\x24\x4c\x93\x30\x21\xfe\xe3\xd1\xd5\xc9\x24\x4f\xd2\x75\x45\x24\x79\x92\x71\x21\x8a\x1c\x45\x5d\xc5\x82\xd4\x59\x9a\xd7\x9c\x97\x48\x69\x91\x71\x92\xe4\xb2\x2e\xf3\xa4\x10\x2c\x45\x4a\x72\x49\x2b\x5e\x92\x8c\x16\x48\x92\x8c\xc6\x5c\x50\x99\xd6\xb5\x88\x33\x21\xca\xba\x4e\xab\x82\xcb\x2c\x4d\x93\x2a\x65\xb2\x2e\x6a\x92\xc6\xa4\xaa\x08\x63\xb1\x10\x71\x9c\x95\x5c\x12\x92\xd7\xa9\x10\x92\xe6\x98\x27\x32\xa9\x32\xd7\xf1\xe9\xf9\xc7\x9d\x76\xe3\xb0\x0a\x13\x7f\x1d\xbd\x3a\x99\x4c\x1f\xc5\x29\xab\x84\x67\x82\x91\xb2\x66\x55\x9c\x8b\xa4\x48\x58\xc9\x53\x5e\xd2\x2c\xa9\xea\x42\x24\x34\x8f\x09\xcb\xab\x0c\x99\xe4\x1c\x2b\xc9\x05\xa9\xf3\xac\xe2\x45\x45\x44\x5d\x30\xee\x7b\xde\xa7\x8b\x8b\xab\xc3\x56\x75\xc3\xad\xf7\xe9\x62\x72\x79\x74\x72\x48\x17\xa2\x20\x9e\xb7\x98\x0b\xa5\x21\x58\x82\xff\xee\xc7\xc9\xc5\xd9\xf1\x7d\xd4\xf6\x9c\xb6\x6e\xaf\x7d\xcf\x43\xde\xf4\xe0\x7f\xec\x57\x5d\xdb\x53\xe1\x96\xc1\x4d\x15\xd0\xed\x66\xbd\xfb\xb1\x3b\xaf\xf7\xbe\xb7\x9a\x39\x1f\xf8\xb6\x1d\x4b\xb4\xa1\x4b\x0a\x4d\x33\x8e\x64\x70\xf3\x2c\x25\x78\xf7\xc3\x75\xb7\x7e\xba\xd6\xee\x43\x4b\x75\x38\xbb\xdb\x54\xdf\xc0\xb7\xd3\x72\x0f\xbf\xc7\xe3\xc3\x4f\x30\x0d\x4d\xf3\xc2\x0c\x0b\x08\xb8\x67\xa9\x86\xe0\xf6\x4e\xfe\x26\x8f\xf7\xe2\x60\x7c\xa1\x07\x29\xbc\x03\xb0\xfa\x3b\x44\x83\xd1\x5b\x0d\xe1\x3f\x6e\xeb\x3f\xf6\x7c\x8e\x5a\xaa\x16\xff\x3b\x9a\x9c\xa4\x6d\x0b\x8c\xf2\xb9\xc7\x97\xf0\x0a\xab\xff\x94\xc8\x87\x9f\x3f\xe1\x0d\xf4\xaf\xdd\x1e\x5d\x99\x40\xd1\x45\x40\x07\xdb\x60\x67\x15\xa7\xb6\xd7\x4f\xaf\xf3\xd5\x4d\xde\xb9\xdb\xe0\xe2\x15\xa6\x3d\x5e\x34\x1f\x18\xea\x0e\x2d\x9a\xc0\xa8\x99\x89\xf6\x26\x6e\x7d\x4a\x6c\xba\x8d\x6e\xde\x6a\x65\x3f\xcb\xf4\xad\x94\xe9\x46\xb9\xe9\xa3\x72\x8f\xf3\xf5\x96\x35\xdd\xef\x7f\xd3\x17\x33\xc5\x9b\x45\x2f\xe0\x7f\xb7\xfb\xe1\xfb\xee\xc2\x09\xc3\x6d\xfb\x54\xfd\x67\x26\xb6\x67\x9f\x44\x1b\xce\x2b\x13\xaa\x3e\x7a\x89\xde\x15\x9b\xb7\x0a\x3b\xfb\xcf\xcb\xf5\xd2\x1b\xef\xe1\xd7\x69\x36\x3a\xe4\x49\xfa\x64\xb7\x6e\xee\xe4\x6f\x90\xb8\x2d\xd8\xa2\xa3\x35\x7a\xfc\xb2\x78\xd0\x28\xdc\x2b\xa0\xea\xc4\x33\xf5\x76\x0c\xf5\xe9\xb8\x8e\xd8\x07\x09\xdd\x3f\xa1\x1b\xc6\x07\x25\x45\x1b\x3d\x4b\x1e\x31\x2f\x1b\xde\xaa\xf6\xcc\xa4\xef\xc7\x0a\xaf\x4f\x85\x3b\x75\x5f\x2d\x8f\xb7\xd8\x73\x13\xd2\x95\x09\xe9\x82\xde\xf5\xdd\xb8\x29\xbc\x55\x51\x4b\xdd\xc7\x4f\x34\x18\xd4\xb3\x41\x09\x74\xf6\x69\x55\x37\x0b\x8c\xa5\xda\xa2\x08\x54\x67\x2c\x6d\xdb\xb0\xb1\x8b\xd6\xe3\x83\x6e\xc1\x7f\xe0\xa4\x2b\xc3\x5b\xb5\x61\x74\xdc\x8e\x74\x1d\x0c\xf0\x16\x83\xd1\xfe\x83\xdb\xaa\x98\x16\x24\xbc\x53\x4b\x1f\x82\x1e\xfc\x35\xe0\x26\x1d\x23\xde\xd0\xdd\xa9\xa5\xd3\x6c\x37\xfc\xea\x8f\x04\x5d\x19\xdf\x0b\xdd\x23\xda\xf4\x05\xc1\x43\x87\x81\x4b\xd9\x83\x87\x20\x60\xaa\xdb\x77\x3a\x9a\xd6\xdf\x01\x00\x00\xff\xff\x35\x71\x5f\xb9\x53\x0a\x00\x00") +var _scriptsPullDepsSh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x56\x5d\x53\xdb\x4a\x12\x7d\xd7\xaf\xe8\x15\xa9\xda\xdd\xda\xe8\x7b\x66\x2c\xa5\x8a\x07\x2f\xe1\x06\x2a\x01\xaa\x80\xdc\x87\xfb\xe2\x9a\x8f\x1e\x6b\xca\xb2\xe4\xcc\x8c\x30\x21\xe1\xbf\xdf\x92\x30\x98\x0f\xc3\x4d\x5e\x50\xd1\x73\xfa\x74\xeb\x4c\xf7\xb1\xf6\xfe\x95\x08\xd3\x26\x82\xbb\x3a\x08\x1c\x7a\x88\xb0\xef\x60\x65\x56\xa8\xb9\x69\x82\x60\x0f\x4e\x3b\x8f\xe0\x6b\xe3\xc0\x38\xe8\x1d\x2a\x10\xdf\x41\x74\xbe\x06\x5f\x23\xac\x7a\xd1\x18\x57\x83\x93\xd6\xac\x3c\xf0\x56\x8d\x61\x8f\xce\x6f\x62\xf1\x40\x72\x8e\xdf\x7a\x63\x51\xc1\x15\x5a\x67\xba\xd6\x0d\xc1\x3f\x6c\xb7\x84\xa9\xac\x4d\xd3\xe0\x7b\x08\x8f\x35\xac\x71\xa8\x00\x1c\x94\xd1\x1a\x2d\xb6\xfe\x3e\x01\x7c\xcd\x5b\xb8\x2a\x62\x1a\x93\xb1\x82\xec\x5a\x3f\x9c\x77\x3a\xd8\x03\x5c\xb8\x48\x76\xad\x36\xf3\xde\x72\x3f\xc0\xb1\x55\x0e\xfa\x15\x08\x34\xed\x1c\x2c\xea\xce\x2e\xb9\xf7\xa8\xde\xc3\xba\x36\xb2\x86\xb5\x69\x1a\xf0\xd6\xcc\xe7\x68\x81\x83\x45\x69\x71\x4c\x0d\xf6\xa0\xd3\x63\x89\xbf\xba\x6e\x81\xb8\x42\x0b\xb2\xe9\x9d\x47\x0b\xba\xb3\x70\x80\xad\xb7\x46\xf7\x73\xfc\xb7\x83\xcf\x5c\x2f\x38\x98\x16\x56\xb6\x53\xbd\x1c\xf2\xe3\x30\x38\x3a\xfc\x72\x32\xfb\xf3\xf0\xfc\xe2\xf8\xec\x74\x3f\x1c\x7b\x0e\x83\x3d\x38\xa8\x51\x2e\x5c\xbf\x74\xc0\x2d\x02\xc6\xf3\x18\x6a\xb4\xf8\x01\x6a\xef\x57\xee\x43\x92\xcc\x8d\xaf\x7b\x11\xcb\x6e\x99\xd4\xd8\x6c\xfe\x58\x6c\x90\x3b\x74\x89\xe7\xf3\xe4\x4e\x80\xbb\x02\x17\x47\xd3\x9c\xb2\xd9\xc5\xd7\x93\xfd\x90\x97\x4a\x09\x82\x45\x4a\x0a\x2a\xa8\x56\x84\x16\x69\x89\x52\x22\x45\xce\x15\x9b\x30\xc5\x08\xa7\x0a\x2b\x59\x56\x8c\xa5\x82\x32\xcd\x25\x16\x1a\xab\x2a\x15\x45\x56\x86\x41\x70\x3c\x3d\x99\x4d\xbf\x5e\x1e\x1d\x9e\x5e\x1e\x1f\x4c\x2f\xcf\xce\xb7\x6f\x90\xc6\x34\xce\xc3\x1d\x88\xc7\x2d\x50\x21\x90\x10\xae\x26\x9a\x29\x55\x4e\x78\x9a\x63\x2a\x08\x2b\x78\xce\x51\x55\x2c\xcb\xca\x82\xa1\xc8\x35\x49\xd5\x44\x0b\x2c\x25\xcd\x26\x84\xa5\x9c\x14\x25\x65\x79\x26\xc2\x20\xf8\xfc\xf5\xff\x87\x07\x97\x5f\xb6\x85\xaf\xb2\x38\xcf\xe2\x8c\x84\x0f\x47\x17\x47\x53\x9a\xe5\x9b\x8a\x39\xaf\x4a\x29\x19\xe1\x02\x91\x93\xac\x9c\x14\x55\x26\x85\x4e\xb9\xa2\x42\x29\x56\x09\x56\xe5\xa9\xcc\x45\x5e\x89\x52\x57\x5c\x73\x95\x55\x84\x90\x0c\x19\xc9\xb5\x28\x75\x4e\x73\xcc\x08\xaf\x32\x99\x56\x14\x75\x86\x25\xe5\x79\x81\x54\x08\x5a\x4e\xaa\x8c\x09\x55\x64\x15\x65\x4c\x30\x2c\x55\x86\x69\x21\x90\xd2\x94\x92\x34\xd5\x84\x08\x32\x74\x7c\x7c\xfa\xf1\x51\xbb\x69\x5c\xc6\x59\x78\x17\xbd\x38\x9a\xce\x1e\xc4\x99\x94\x99\x2c\x94\x20\x93\x4a\x94\x29\x55\x19\xcb\xc4\x44\xe6\x72\xc2\x8b\xac\xac\x98\xca\x38\x4d\x89\xa0\x65\x81\x42\x4b\x89\xa5\x96\x8a\x54\xb4\x28\x25\x2b\x89\xaa\x98\x90\x61\x10\x7c\x3a\x3b\xbb\xd8\x6f\x4c\xdb\x5f\x07\x9f\xce\xa6\xe7\x07\x47\xfb\x7c\xa9\x18\x09\x82\xe5\x42\x19\x0b\xd1\x0a\xc2\x77\x3f\x8e\xce\x4e\x0e\x6f\x93\xa6\x93\xbc\x19\xf6\x3a\x0c\x02\x94\x75\x07\xe1\xc7\x6e\xdd\x36\x1d\x57\xc3\x32\x0c\x53\x05\x7c\xbb\x59\xef\x7e\x3c\x9e\xd7\xdb\x30\x58\xcf\x07\x1f\xf8\xb6\x1d\x4b\xf4\xf1\x90\x14\xbb\x7a\x1c\xc9\xe8\xea\x59\x4a\xf4\xee\xc7\xd0\xdd\xdd\x73\x68\xed\x36\xf6\xdc\xc6\xf3\x9b\x4d\xf5\x0d\x7c\x3b\x2d\xb7\xf0\x7b\x3c\x21\xfc\x04\x57\xf3\x9c\x32\xd7\x2f\x21\x92\x81\xe7\x16\xa2\xeb\x1b\xfd\x9b\x3c\xc1\x8b\x83\xf1\x85\xee\xa5\x08\xf6\xc0\xdb\xef\x90\xf4\xce\x6e\x35\x84\xff\x0c\x5b\xff\xb1\x93\x0b\xb4\xda\x34\xf8\xdf\xd1\xe4\x34\x6f\x1a\x10\x5c\x2e\x02\xb9\x82\x57\x58\xc3\xa7\x44\x21\xfc\xfc\x09\x6f\xa0\x7f\xed\xf6\xf8\xda\x45\x86\x2f\x23\xde\xfb\x1a\x5b\x6f\x24\xf7\x9d\x7d\x7a\x9d\xaf\x6e\xf2\xa3\xbb\x8d\xce\x5e\x61\xda\xe1\x45\x8b\x5e\xa0\x6d\xd1\xa3\x8b\x9c\x99\xbb\x64\x67\xe2\xd6\xa7\xd4\xa6\xdb\xe4\xea\xad\x56\x76\xb3\xcc\xde\x4a\x99\x6d\x94\x9b\x3d\x28\xf7\x30\x5f\x6f\x59\xd3\xed\xee\x37\x7d\x31\x53\xb2\x5e\x76\x0a\xfe\x77\xbd\x1b\xbe\xeb\x2e\x06\x61\xa4\x6f\x9e\xaa\xff\xcc\xc4\x76\xec\x93\x6a\xe2\x45\xe9\x62\xd3\x25\x2f\xd1\x8f\xc5\x96\x8d\xc1\xd6\xff\xf3\x72\xbd\xf4\xc6\x5b\xf8\x75\x9a\x8d\x0e\x34\xcb\x9f\xec\xd6\xd5\x8d\xfe\x0d\x92\x61\x0b\xb6\xe8\xe4\x0e\x3d\x7e\x59\xdc\x6b\x14\xef\x14\xd0\xb4\xea\x99\x7a\x8f\x0c\xf5\xe9\xb8\x8e\xd8\x7b\x09\x87\x7f\xe2\x61\x18\xef\x95\x54\x4d\xf2\x2c\x79\xc4\xbc\x6c\x78\xab\xda\x33\x93\xbe\x1d\x2b\xbc\x3e\x15\xc3\xe9\xf0\xd5\xf2\x70\x8b\x9d\x74\x31\x5f\xbb\x98\x2f\xf9\x4d\xd7\x8e\x9b\x22\x1b\x93\x34\x7c\xf8\xf8\x49\x7a\x87\x76\xde\x1b\x85\x83\x7d\x7a\xd3\xce\x23\xe7\xb9\xf5\xa8\x22\xd3\x3a\xcf\x9b\x26\xae\xfd\xb2\x09\x64\x6f\x1b\x08\xef\x39\xf9\xda\xc9\xc6\x6c\x18\x07\xee\x81\xf4\x2e\x18\xe1\x35\x46\xa3\xfd\x47\xd7\x25\x9b\x31\x12\xdf\x98\x55\x08\x51\x07\xe1\x1d\xe0\x2a\x1f\x23\x41\xdf\xde\x98\xd5\xa0\xd9\xe3\xf0\xab\x3f\x12\x7c\xed\xc2\x20\x1e\x1e\xc9\xa6\x2f\x88\xee\x3b\x8c\x86\x94\x1d\x78\x88\x22\x61\xda\x5d\xa7\xa3\x69\xfd\x1d\x00\x00\xff\xff\x27\x5b\x7c\xaf\x53\x0a\x00\x00") func scriptsPullDepsShBytes() ([]byte, error) { return bindataRead( @@ -315,8 +293,8 @@ func scriptsPullDepsSh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "scripts/pull-deps.sh", size: 2643, mode: os.FileMode(0755), modTime: time.Unix(1668631357, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5a, 0xe4, 0xef, 0xd1, 0xa6, 0x89, 0x82, 0x80, 0x97, 0x9c, 0x50, 0xe6, 0x9, 0xe4, 0x85, 0x2a, 0x2d, 0x3a, 0x19, 0x7c, 0xbe, 0x5, 0xa4, 0xfb, 0xcd, 0xcd, 0xbd, 0x4f, 0x97, 0x2e, 0x56, 0xa0}} + info := bindataFileInfo{name: "scripts/pull-deps.sh", size: 2643, mode: os.FileMode(0755), modTime: time.Unix(1702517873, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd1, 0x1f, 0xcf, 0x51, 0xe0, 0x43, 0x23, 0x5, 0x62, 0x68, 0x5b, 0xcd, 0xb7, 0x82, 0xa3, 0xaf, 0x1, 0x27, 0xbd, 0x30, 0x8c, 0x42, 0xcf, 0x63, 0x31, 0x96, 0xb, 0xec, 0x25, 0x4, 0x7, 0xab}} return a, nil } @@ -421,7 +399,6 @@ var _bindata = map[string]func() (*asset, error){ "scripts/cluster-summary/tabulate.py": scriptsClusterSummaryTabulatePy, "scripts/create-lambda-bundle.sh": scriptsCreateLambdaBundleSh, "scripts/kindctl.sh": scriptsKindctlSh, - "scripts/publish.sh": scriptsPublishSh, "scripts/pull-deps.sh": scriptsPullDepsSh, } @@ -432,11 +409,13 @@ const AssetDebug = false // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// data/ -// foo.txt -// img/ -// a.png -// b.png +// +// data/ +// foo.txt +// img/ +// a.png +// b.png +// // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and @@ -472,24 +451,23 @@ var _bintree = &bintree{nil, map[string]*bintree{ "pkg": {nil, map[string]*bintree{ "pullreq": {nil, map[string]*bintree{ "templates": {nil, map[string]*bintree{ - "apply_comment.gotpl": {pkgPullreqTemplatesApply_commentGotpl, map[string]*bintree{}}, - "diff_comment.gotpl": {pkgPullreqTemplatesDiff_commentGotpl, map[string]*bintree{}}, - "error_comment.gotpl": {pkgPullreqTemplatesError_commentGotpl, map[string]*bintree{}}, - "help_comment.gotpl": {pkgPullreqTemplatesHelp_commentGotpl, map[string]*bintree{}}, + "apply_comment.gotpl": {pkgPullreqTemplatesApply_commentGotpl, map[string]*bintree{}}, + "diff_comment.gotpl": {pkgPullreqTemplatesDiff_commentGotpl, map[string]*bintree{}}, + "error_comment.gotpl": {pkgPullreqTemplatesError_commentGotpl, map[string]*bintree{}}, + "help_comment.gotpl": {pkgPullreqTemplatesHelp_commentGotpl, map[string]*bintree{}}, "status_comment.gotpl": {pkgPullreqTemplatesStatus_commentGotpl, map[string]*bintree{}}, }}, }}, }}, "scripts": {nil, map[string]*bintree{ "cluster-summary": {nil, map[string]*bintree{ - "__init__.py": {scriptsClusterSummary__init__Py, map[string]*bintree{}}, + "__init__.py": {scriptsClusterSummary__init__Py, map[string]*bintree{}}, "cluster_summary.py": {scriptsClusterSummaryCluster_summaryPy, map[string]*bintree{}}, - "tabulate.py": {scriptsClusterSummaryTabulatePy, map[string]*bintree{}}, + "tabulate.py": {scriptsClusterSummaryTabulatePy, map[string]*bintree{}}, }}, "create-lambda-bundle.sh": {scriptsCreateLambdaBundleSh, map[string]*bintree{}}, - "kindctl.sh": {scriptsKindctlSh, map[string]*bintree{}}, - "publish.sh": {scriptsPublishSh, map[string]*bintree{}}, - "pull-deps.sh": {scriptsPullDepsSh, map[string]*bintree{}}, + "kindctl.sh": {scriptsKindctlSh, map[string]*bintree{}}, + "pull-deps.sh": {scriptsPullDepsSh, map[string]*bintree{}}, }}, }} @@ -507,7 +485,7 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) + err = os.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err }