Skip to content

Commit

Permalink
Add a way to generate a all-in-one manifest
Browse files Browse the repository at this point in the history
This can be useful to deploy without tweaking the parameters.

Signed-off-by: Federico Paolinelli <[email protected]>
  • Loading branch information
fedepaol committed Jun 30, 2023
1 parent c030b32 commit 299446e
Show file tree
Hide file tree
Showing 2 changed files with 807 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

# Image URL to use all building/pushing image targets
IMG ?= quay.io/metallb/frr-k8s:0.1.0
NAMESPACE ?= "frr-k8s-system"

# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
ENVTEST_K8S_VERSION = 1.26.1

Expand Down Expand Up @@ -217,3 +219,9 @@ checkuncommitted:
.PHONY: bumpall
bumpall: bumplicense manifests
go mod tidy

generate-all-in-one: manifests kustomize ## Create manifests
cd config/frr-k8s && $(KUSTOMIZE) edit set image controller=${IMG}
cd config/frr-k8s && $(KUSTOMIZE) edit set namespace $(NAMESPACE)

$(KUSTOMIZE) build config/default >> config/all-in-one/frr-k8s.yaml
Loading

0 comments on commit 299446e

Please sign in to comment.