...
1
2kustomize := "bazel run --config=quiet //hack/tools:kustomize --"
3format := "bazel run --config=quiet //hack/tools/fmt-manifests --"
4
5
6dns-masq-version := "0.6.0"
7
8update:
9 wget https://github.com/aenix-io/dnsmasq-controller/archive/refs/tags/v{{dns-masq-version}}.tar.gz -O dnsmasq.tar.gz
10 mkdir -p dnsmasq-dl-temp && tar -xzf dnsmasq.tar.gz -C dnsmasq-dl-temp --strip-components 1
11 {{kustomize}} build dnsmasq-dl-temp/config/crd/bases > base/crds.yaml
12 {{kustomize}} build dnsmasq-dl-temp/config/rbac > base/rbac.yaml
13 rm -rf dnsmasq-dl-temp dnsmasq.tar.gz
14 {{format}} --directory third_party/k8s/pxe/dnsmasq/base/
View as plain text