From b98668ce2219f1ac065b3ec190f367d8512848e2 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen <markus.lehtonen@intel.com> Date: Mon, 27 May 2024 15:16:59 +0300 Subject: [PATCH] Prepare v0.16 Generated with: ./hack/prepare-release.sh -g 1.22.3 v0.16.0 --- Makefile | 2 +- README.md | 4 ++-- deployment/base/gc/gc.yaml | 4 ++-- deployment/base/master/master-deployment.yaml | 4 ++-- .../topologyupdater-daemonset.yaml | 4 ++-- deployment/base/worker-daemonset/worker-daemonset.yaml | 4 ++-- deployment/base/worker-job/worker-job.yaml | 4 ++-- deployment/helm/node-feature-discovery/Chart.yaml | 2 +- deployment/helm/node-feature-discovery/README.md | 2 +- deployment/helm/node-feature-discovery/values.yaml | 4 ++-- deployment/overlays/prune/master-job.yaml | 4 ++-- docs/_config.yml | 6 +++--- 12 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Makefile b/Makefile index e1f5d9259..f4fb818ee 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ IMAGE_BUILD_CMD ?= docker build IMAGE_BUILD_EXTRA_OPTS ?= IMAGE_PUSH_CMD ?= docker push CONTAINER_RUN_CMD ?= docker run -BUILDER_IMAGE ?= golang:1.22-bookworm +BUILDER_IMAGE ?= golang:1.22.3-bookworm BASE_IMAGE_FULL ?= debian:bookworm-slim BASE_IMAGE_MINIMAL ?= scratch diff --git a/README.md b/README.md index 176ec5ff5..1a794535b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ features and system configuration! #### Quick-start – the short-short version ```bash -$ kubectl apply -k https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default?ref=v0.15.4 +$ kubectl apply -k https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default?ref=v0.16.0 namespace/node-feature-discovery created customresourcedefinition.apiextensions.k8s.io/nodefeaturerules.nfd.k8s-sigs.io created customresourcedefinition.apiextensions.k8s.io/nodefeatures.nfd.k8s-sigs.io created @@ -48,4 +48,4 @@ $ kubectl get no -o json | jq '.items[].metadata.labels' ``` -[documentation]: https://kubernetes-sigs.github.io/node-feature-discovery +[documentation]: https://kubernetes-sigs.github.io/node-feature-discovery/v0.16 diff --git a/deployment/base/gc/gc.yaml b/deployment/base/gc/gc.yaml index d97b83a7a..b3d8da861 100644 --- a/deployment/base/gc/gc.yaml +++ b/deployment/base/gc/gc.yaml @@ -17,8 +17,8 @@ spec: serviceAccount: nfd-gc containers: - name: nfd-gc - image: gcr.io/k8s-staging-nfd/node-feature-discovery:master - imagePullPolicy: Always + image: registry.k8s.io/nfd/node-feature-discovery:v0.16.0 + imagePullPolicy: IfNotPresent resources: limits: cpu: 20m diff --git a/deployment/base/master/master-deployment.yaml b/deployment/base/master/master-deployment.yaml index e0b659d01..0a4045c3f 100644 --- a/deployment/base/master/master-deployment.yaml +++ b/deployment/base/master/master-deployment.yaml @@ -19,8 +19,8 @@ spec: tolerations: [] containers: - name: nfd-master - image: gcr.io/k8s-staging-nfd/node-feature-discovery:master - imagePullPolicy: Always + image: registry.k8s.io/nfd/node-feature-discovery:v0.16.0 + imagePullPolicy: IfNotPresent resources: limits: cpu: 300m diff --git a/deployment/base/topologyupdater-daemonset/topologyupdater-daemonset.yaml b/deployment/base/topologyupdater-daemonset/topologyupdater-daemonset.yaml index 5d11e9b15..69bb3a1f9 100644 --- a/deployment/base/topologyupdater-daemonset/topologyupdater-daemonset.yaml +++ b/deployment/base/topologyupdater-daemonset/topologyupdater-daemonset.yaml @@ -17,8 +17,8 @@ spec: serviceAccount: nfd-topology-updater containers: - name: nfd-topology-updater - image: gcr.io/k8s-staging-nfd/node-feature-discovery:master - imagePullPolicy: Always + image: registry.k8s.io/nfd/node-feature-discovery:v0.16.0 + imagePullPolicy: IfNotPresent livenessProbe: grpc: port: 8082 diff --git a/deployment/base/worker-daemonset/worker-daemonset.yaml b/deployment/base/worker-daemonset/worker-daemonset.yaml index 955157877..8ede5a841 100644 --- a/deployment/base/worker-daemonset/worker-daemonset.yaml +++ b/deployment/base/worker-daemonset/worker-daemonset.yaml @@ -17,8 +17,8 @@ spec: dnsPolicy: ClusterFirstWithHostNet containers: - name: nfd-worker - image: gcr.io/k8s-staging-nfd/node-feature-discovery:master - imagePullPolicy: Always + image: registry.k8s.io/nfd/node-feature-discovery:v0.16.0 + imagePullPolicy: IfNotPresent livenessProbe: grpc: port: 8082 diff --git a/deployment/base/worker-job/worker-job.yaml b/deployment/base/worker-job/worker-job.yaml index 6cf2c9dbf..18e6f4a24 100644 --- a/deployment/base/worker-job/worker-job.yaml +++ b/deployment/base/worker-job/worker-job.yaml @@ -27,8 +27,8 @@ spec: - nfd-worker containers: - name: nfd-worker - image: gcr.io/k8s-staging-nfd/node-feature-discovery:master - imagePullPolicy: Always + image: registry.k8s.io/nfd/node-feature-discovery:v0.16.0 + imagePullPolicy: IfNotPresent command: - "nfd-worker" args: diff --git a/deployment/helm/node-feature-discovery/Chart.yaml b/deployment/helm/node-feature-discovery/Chart.yaml index 553fc3c07..a2c2fcde4 100644 --- a/deployment/helm/node-feature-discovery/Chart.yaml +++ b/deployment/helm/node-feature-discovery/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: master +appVersion: v0.16.0 description: | Detects hardware features available on each node in a Kubernetes cluster, and advertises those features using node labels. diff --git a/deployment/helm/node-feature-discovery/README.md b/deployment/helm/node-feature-discovery/README.md index 8ce83a42f..93734f8b7 100644 --- a/deployment/helm/node-feature-discovery/README.md +++ b/deployment/helm/node-feature-discovery/README.md @@ -6,5 +6,5 @@ labels. NFD provides flexible configuration and extension points for a wide range of vendor and application specific node labeling needs. See -[NFD documentation](https://kubernetes-sigs.github.io/node-feature-discovery/master/deployment/helm.html) +[NFD documentation](https://kubernetes-sigs.github.io/node-feature-discovery/v0.16/deployment/helm.html) for deployment instructions. diff --git a/deployment/helm/node-feature-discovery/values.yaml b/deployment/helm/node-feature-discovery/values.yaml index 7e52cc998..57feca0b1 100644 --- a/deployment/helm/node-feature-discovery/values.yaml +++ b/deployment/helm/node-feature-discovery/values.yaml @@ -1,7 +1,7 @@ image: - repository: gcr.io/k8s-staging-nfd/node-feature-discovery + repository: registry.k8s.io/nfd/node-feature-discovery # This should be set to 'IfNotPresent' for released version - pullPolicy: Always + pullPolicy: IfNotPresent # tag, if defined will use the given image tag, else Chart.AppVersion will be used # tag imagePullSecrets: [] diff --git a/deployment/overlays/prune/master-job.yaml b/deployment/overlays/prune/master-job.yaml index 247b59a5f..6ee6b88d0 100644 --- a/deployment/overlays/prune/master-job.yaml +++ b/deployment/overlays/prune/master-job.yaml @@ -15,8 +15,8 @@ spec: tolerations: [] containers: - name: nfd-master - image: gcr.io/k8s-staging-nfd/node-feature-discovery:master - imagePullPolicy: Always + image: registry.k8s.io/nfd/node-feature-discovery:v0.16.0 + imagePullPolicy: IfNotPresent command: - "nfd-master" args: diff --git a/docs/_config.yml b/docs/_config.yml index 58aa4d08b..ec45c42eb 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -43,7 +43,7 @@ plugins: # - vendor/ruby/ # Document versioning -version: master +version: v0.16 display_version_list: true # Customize page width (make it wider) for large screens @@ -57,7 +57,7 @@ scss: | # Release is the full released version number. Used to make external links to # point to the correct blobs in the Github repo. This is also the version shown # in the sidebar (top left corner of the page) -release: master +release: v0.16.0 # Container image which to point to in the documentation -container_image: gcr.io/k8s-staging-nfd/node-feature-discovery:master +container_image: registry.k8s.io/nfd/node-feature-discovery:v0.16.0