...
1kustomize := "bazel run --config=quiet //hack/tools:kustomize --"
2format := "bazel run --config=quiet //hack/tools/fmt-manifests --"
3
4# for version updates `hack/deps/images.bzl` will also need updating with new version and sha256
5nfd_version := "0.16.5"
6
7update:
8 wget https://github.com/kubernetes-sigs/node-feature-discovery/archive/refs/tags/v{{nfd_version}}.tar.gz
9 tar -xvzf v{{nfd_version}}.tar.gz
10 {{kustomize}} build node-feature-discovery-{{nfd_version}}/deployment/overlays/default > base/manifests.yaml
11 rm -rf node-feature-discovery-{{nfd_version}} v{{nfd_version}}.tar.gz
12 {{format}} --directory third_party/k8s/node-feature-discovery/base/
View as plain text