Skip to content

Commit 74bbfb2

Browse files
committed
Embed all manifests in deploy/* inside fluxctl
1 parent 130da33 commit 74bbfb2

File tree

5 files changed

+338
-2
lines changed

5 files changed

+338
-2
lines changed

Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ $(GOBIN)/helm-operator: $(HELM_OPERATOR_DEPS)
120120
integration-test: all
121121
test/bin/test-flux
122122

123-
check-generated:
123+
cmd/fluxctl/setup-assets/bindata.go: deploy/*
124+
go run github.com/jteeuwen/go-bindata/go-bindata -mode 0600 -modtime 1 -pkg setup-assets -o $@ deploy/
125+
126+
check-generated: cmd/fluxctl/setup-assets/bindata.go
124127
./bin/helm/update_codegen.sh
125-
git diff --exit-code -- integrations/apis intergrations/client
128+
git diff --exit-code -- integrations/apis intergrations/client cmd/fluxctl/deploy-bindata.go
126129

0 commit comments

Comments
 (0)