kustomize := "bazel run --config=quiet //hack/tools:kustomize --" format := "bazel run --config=quiet //hack/tools/fmt-manifests --" dns-masq-version := "0.6.0" update: wget https://github.com/aenix-io/dnsmasq-controller/archive/refs/tags/v{{dns-masq-version}}.tar.gz -O dnsmasq.tar.gz mkdir -p dnsmasq-dl-temp && tar -xzf dnsmasq.tar.gz -C dnsmasq-dl-temp --strip-components 1 {{kustomize}} build dnsmasq-dl-temp/config/crd/bases > base/crds.yaml {{kustomize}} build dnsmasq-dl-temp/config/rbac > base/rbac.yaml rm -rf dnsmasq-dl-temp dnsmasq.tar.gz {{format}} --directory third_party/k8s/pxe/dnsmasq/base/