From 7b30eb5008a380b820a581687d33d1ffd3340881 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Fri, 16 Jul 2021 22:17:22 +0200 Subject: [PATCH 1/8] release v1.0.0 --- Dockerfile.UBI | 2 +- Makefile | 2 +- deploy/common/pmem-app-ephemeral.yaml | 2 +- deploy/common/pmem-app-generic-ephemeral.yaml | 2 +- deploy/common/pmem-app-late-binding.yaml | 2 +- deploy/common/pmem-app.yaml | 4 ++-- deploy/common/pmem-kata-app-ephemeral.yaml | 2 +- deploy/common/pmem-kata-app.yaml | 2 +- deploy/kubernetes-1.19/direct/pmem-csi.yaml | 6 +++--- .../kubernetes-1.19/direct/testing/pmem-csi.yaml | 6 +++--- deploy/kubernetes-1.19/lvm/pmem-csi.yaml | 6 +++--- deploy/kubernetes-1.19/lvm/testing/pmem-csi.yaml | 6 +++--- .../kubernetes-1.19/pmem-csi-direct-testing.yaml | 6 +++--- deploy/kubernetes-1.19/pmem-csi-direct.yaml | 6 +++--- deploy/kubernetes-1.19/pmem-csi-lvm-testing.yaml | 6 +++--- deploy/kubernetes-1.19/pmem-csi-lvm.yaml | 6 +++--- deploy/kubernetes-1.20/direct/pmem-csi.yaml | 6 +++--- .../kubernetes-1.20/direct/testing/pmem-csi.yaml | 6 +++--- deploy/kubernetes-1.20/lvm/pmem-csi.yaml | 6 +++--- deploy/kubernetes-1.20/lvm/testing/pmem-csi.yaml | 6 +++--- .../kubernetes-1.20/pmem-csi-direct-testing.yaml | 6 +++--- deploy/kubernetes-1.20/pmem-csi-direct.yaml | 6 +++--- deploy/kubernetes-1.20/pmem-csi-lvm-testing.yaml | 6 +++--- deploy/kubernetes-1.20/pmem-csi-lvm.yaml | 6 +++--- deploy/kubernetes-1.21/direct/pmem-csi.yaml | 6 +++--- .../kubernetes-1.21/direct/testing/pmem-csi.yaml | 6 +++--- deploy/kubernetes-1.21/lvm/pmem-csi.yaml | 6 +++--- deploy/kubernetes-1.21/lvm/testing/pmem-csi.yaml | 6 +++--- .../kubernetes-1.21/pmem-csi-direct-testing.yaml | 6 +++--- deploy/kubernetes-1.21/pmem-csi-direct.yaml | 6 +++--- deploy/kubernetes-1.21/pmem-csi-lvm-testing.yaml | 6 +++--- deploy/kubernetes-1.21/pmem-csi-lvm.yaml | 6 +++--- deploy/kustomize/driver/pmem-csi.yaml | 6 +++--- .../pmem-csi-operator.clusterserviceversion.yaml | 2 +- deploy/kustomize/operator/operator.yaml | 2 +- deploy/operator/pmem-csi-operator.yaml | 2 +- docs/autotest.md | 2 +- docs/install.md | 14 +++++++------- test/start-operator.sh | 4 ++-- test/start-stop-openshift.sh | 4 ++-- test/test-config.sh | 2 +- 41 files changed, 100 insertions(+), 100 deletions(-) diff --git a/Dockerfile.UBI b/Dockerfile.UBI index fe5a51e36f..fff708d68f 100644 --- a/Dockerfile.UBI +++ b/Dockerfile.UBI @@ -103,7 +103,7 @@ FROM registry.access.redhat.com/ubi8 LABEL name="pmem-csi-driver" LABEL vendor="Intel" # updated by hack/set-version.sh when preparing a release -LABEL version="v0.9.1" +LABEL version="v1.0.0" # Needs to be set by Red Hat build service. # LABEL release="1" LABEL summary="A CSI driver for managing PMEM." diff --git a/Makefile b/Makefile index 4ffaba36e7..ba9ecc20ce 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ NO_PROXY:=$(shell echo "$${NO_PROXY:-$${no_proxy}},$$(if command -v ip &>/dev/nu export HTTP_PROXY HTTPS_PROXY NO_PROXY REGISTRY_NAME?=$(shell . test/test-config.sh && echo $${TEST_BUILD_PMEM_REGISTRY}) -IMAGE_VERSION?=canary +IMAGE_VERSION?=v1.0.0 IMAGE_TAG=$(REGISTRY_NAME)/pmem-csi-driver$*:$(IMAGE_VERSION) # Pass proxy config via --build-arg only if these are set, # enabling proxy config other way, like ~/.docker/config.json diff --git a/deploy/common/pmem-app-ephemeral.yaml b/deploy/common/pmem-app-ephemeral.yaml index 6a53d945fb..a5e08951f5 100644 --- a/deploy/common/pmem-app-ephemeral.yaml +++ b/deploy/common/pmem-app-ephemeral.yaml @@ -7,7 +7,7 @@ metadata: spec: containers: - name: my-frontend - image: intel/pmem-csi-driver-test:canary + image: intel/pmem-csi-driver-test:v1.0.0 command: [ "sleep", "100000" ] volumeMounts: - mountPath: "/data" diff --git a/deploy/common/pmem-app-generic-ephemeral.yaml b/deploy/common/pmem-app-generic-ephemeral.yaml index 0eeccf9c7e..81d54154b6 100644 --- a/deploy/common/pmem-app-generic-ephemeral.yaml +++ b/deploy/common/pmem-app-generic-ephemeral.yaml @@ -8,7 +8,7 @@ metadata: spec: containers: - name: my-frontend - image: intel/pmem-csi-driver-test:canary + image: intel/pmem-csi-driver-test:v1.0.0 command: [ "sleep", "100000" ] volumeMounts: - mountPath: "/data" diff --git a/deploy/common/pmem-app-late-binding.yaml b/deploy/common/pmem-app-late-binding.yaml index 1765e7d217..a5de35541f 100644 --- a/deploy/common/pmem-app-late-binding.yaml +++ b/deploy/common/pmem-app-late-binding.yaml @@ -5,7 +5,7 @@ metadata: spec: containers: - name: my-frontend - image: intel/pmem-csi-driver-test:canary + image: intel/pmem-csi-driver-test:v1.0.0 command: [ "sleep", "100000" ] volumeMounts: - mountPath: "/data" diff --git a/deploy/common/pmem-app.yaml b/deploy/common/pmem-app.yaml index 8b0d6d272d..4afe20170a 100644 --- a/deploy/common/pmem-app.yaml +++ b/deploy/common/pmem-app.yaml @@ -5,7 +5,7 @@ metadata: spec: containers: - name: my-frontend - image: intel/pmem-csi-driver-test:canary + image: intel/pmem-csi-driver-test:v1.0.0 command: [ "sleep", "100000" ] volumeMounts: - mountPath: "/data" @@ -22,7 +22,7 @@ metadata: spec: containers: - name: my-frontend - image: intel/pmem-csi-driver-test:canary + image: intel/pmem-csi-driver-test:v1.0.0 command: [ "sleep", "100000" ] volumeMounts: - mountPath: "/data" diff --git a/deploy/common/pmem-kata-app-ephemeral.yaml b/deploy/common/pmem-kata-app-ephemeral.yaml index a15ec622e7..19957eede9 100644 --- a/deploy/common/pmem-kata-app-ephemeral.yaml +++ b/deploy/common/pmem-kata-app-ephemeral.yaml @@ -11,7 +11,7 @@ spec: katacontainers.io/kata-runtime: "true" containers: - name: my-frontend - image: intel/pmem-csi-driver-test:canary + image: intel/pmem-csi-driver-test:v1.0.0 command: [ "sleep", "100000" ] volumeMounts: - mountPath: "/data" diff --git a/deploy/common/pmem-kata-app.yaml b/deploy/common/pmem-kata-app.yaml index 99b86aba28..a169badc9a 100644 --- a/deploy/common/pmem-kata-app.yaml +++ b/deploy/common/pmem-kata-app.yaml @@ -11,7 +11,7 @@ spec: katacontainers.io/kata-runtime: "true" containers: - name: my-frontend - image: intel/pmem-csi-driver-test:canary + image: intel/pmem-csi-driver-test:v1.0.0 command: [ "sleep", "100000" ] volumeMounts: - mountPath: "/data" diff --git a/deploy/kubernetes-1.19/direct/pmem-csi.yaml b/deploy/kubernetes-1.19/direct/pmem-csi.yaml index ede0d25c1f..3f86697b85 100644 --- a/deploy/kubernetes-1.19/direct/pmem-csi.yaml +++ b/deploy/kubernetes-1.19/direct/pmem-csi.yaml @@ -377,7 +377,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -475,7 +475,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -683,7 +683,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.19/direct/testing/pmem-csi.yaml b/deploy/kubernetes-1.19/direct/testing/pmem-csi.yaml index 9ca280c3b1..4bccb93f0e 100644 --- a/deploy/kubernetes-1.19/direct/testing/pmem-csi.yaml +++ b/deploy/kubernetes-1.19/direct/testing/pmem-csi.yaml @@ -378,7 +378,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -477,7 +477,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -687,7 +687,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.19/lvm/pmem-csi.yaml b/deploy/kubernetes-1.19/lvm/pmem-csi.yaml index f291b897b5..8ca23751cd 100644 --- a/deploy/kubernetes-1.19/lvm/pmem-csi.yaml +++ b/deploy/kubernetes-1.19/lvm/pmem-csi.yaml @@ -377,7 +377,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -475,7 +475,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -683,7 +683,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.19/lvm/testing/pmem-csi.yaml b/deploy/kubernetes-1.19/lvm/testing/pmem-csi.yaml index e5c93332ae..a586ab89b1 100644 --- a/deploy/kubernetes-1.19/lvm/testing/pmem-csi.yaml +++ b/deploy/kubernetes-1.19/lvm/testing/pmem-csi.yaml @@ -378,7 +378,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -477,7 +477,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -687,7 +687,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.19/pmem-csi-direct-testing.yaml b/deploy/kubernetes-1.19/pmem-csi-direct-testing.yaml index 9ca280c3b1..4bccb93f0e 100644 --- a/deploy/kubernetes-1.19/pmem-csi-direct-testing.yaml +++ b/deploy/kubernetes-1.19/pmem-csi-direct-testing.yaml @@ -378,7 +378,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -477,7 +477,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -687,7 +687,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.19/pmem-csi-direct.yaml b/deploy/kubernetes-1.19/pmem-csi-direct.yaml index ede0d25c1f..3f86697b85 100644 --- a/deploy/kubernetes-1.19/pmem-csi-direct.yaml +++ b/deploy/kubernetes-1.19/pmem-csi-direct.yaml @@ -377,7 +377,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -475,7 +475,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -683,7 +683,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.19/pmem-csi-lvm-testing.yaml b/deploy/kubernetes-1.19/pmem-csi-lvm-testing.yaml index e5c93332ae..a586ab89b1 100644 --- a/deploy/kubernetes-1.19/pmem-csi-lvm-testing.yaml +++ b/deploy/kubernetes-1.19/pmem-csi-lvm-testing.yaml @@ -378,7 +378,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -477,7 +477,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -687,7 +687,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.19/pmem-csi-lvm.yaml b/deploy/kubernetes-1.19/pmem-csi-lvm.yaml index f291b897b5..8ca23751cd 100644 --- a/deploy/kubernetes-1.19/pmem-csi-lvm.yaml +++ b/deploy/kubernetes-1.19/pmem-csi-lvm.yaml @@ -377,7 +377,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -475,7 +475,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -683,7 +683,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.20/direct/pmem-csi.yaml b/deploy/kubernetes-1.20/direct/pmem-csi.yaml index ede0d25c1f..3f86697b85 100644 --- a/deploy/kubernetes-1.20/direct/pmem-csi.yaml +++ b/deploy/kubernetes-1.20/direct/pmem-csi.yaml @@ -377,7 +377,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -475,7 +475,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -683,7 +683,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.20/direct/testing/pmem-csi.yaml b/deploy/kubernetes-1.20/direct/testing/pmem-csi.yaml index 9ca280c3b1..4bccb93f0e 100644 --- a/deploy/kubernetes-1.20/direct/testing/pmem-csi.yaml +++ b/deploy/kubernetes-1.20/direct/testing/pmem-csi.yaml @@ -378,7 +378,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -477,7 +477,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -687,7 +687,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.20/lvm/pmem-csi.yaml b/deploy/kubernetes-1.20/lvm/pmem-csi.yaml index f291b897b5..8ca23751cd 100644 --- a/deploy/kubernetes-1.20/lvm/pmem-csi.yaml +++ b/deploy/kubernetes-1.20/lvm/pmem-csi.yaml @@ -377,7 +377,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -475,7 +475,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -683,7 +683,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.20/lvm/testing/pmem-csi.yaml b/deploy/kubernetes-1.20/lvm/testing/pmem-csi.yaml index e5c93332ae..a586ab89b1 100644 --- a/deploy/kubernetes-1.20/lvm/testing/pmem-csi.yaml +++ b/deploy/kubernetes-1.20/lvm/testing/pmem-csi.yaml @@ -378,7 +378,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -477,7 +477,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -687,7 +687,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.20/pmem-csi-direct-testing.yaml b/deploy/kubernetes-1.20/pmem-csi-direct-testing.yaml index 9ca280c3b1..4bccb93f0e 100644 --- a/deploy/kubernetes-1.20/pmem-csi-direct-testing.yaml +++ b/deploy/kubernetes-1.20/pmem-csi-direct-testing.yaml @@ -378,7 +378,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -477,7 +477,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -687,7 +687,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.20/pmem-csi-direct.yaml b/deploy/kubernetes-1.20/pmem-csi-direct.yaml index ede0d25c1f..3f86697b85 100644 --- a/deploy/kubernetes-1.20/pmem-csi-direct.yaml +++ b/deploy/kubernetes-1.20/pmem-csi-direct.yaml @@ -377,7 +377,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -475,7 +475,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -683,7 +683,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.20/pmem-csi-lvm-testing.yaml b/deploy/kubernetes-1.20/pmem-csi-lvm-testing.yaml index e5c93332ae..a586ab89b1 100644 --- a/deploy/kubernetes-1.20/pmem-csi-lvm-testing.yaml +++ b/deploy/kubernetes-1.20/pmem-csi-lvm-testing.yaml @@ -378,7 +378,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -477,7 +477,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -687,7 +687,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.20/pmem-csi-lvm.yaml b/deploy/kubernetes-1.20/pmem-csi-lvm.yaml index f291b897b5..8ca23751cd 100644 --- a/deploy/kubernetes-1.20/pmem-csi-lvm.yaml +++ b/deploy/kubernetes-1.20/pmem-csi-lvm.yaml @@ -377,7 +377,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -475,7 +475,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -683,7 +683,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.21/direct/pmem-csi.yaml b/deploy/kubernetes-1.21/direct/pmem-csi.yaml index fd35e4b612..5cca737bea 100644 --- a/deploy/kubernetes-1.21/direct/pmem-csi.yaml +++ b/deploy/kubernetes-1.21/direct/pmem-csi.yaml @@ -377,7 +377,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -475,7 +475,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -692,7 +692,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.21/direct/testing/pmem-csi.yaml b/deploy/kubernetes-1.21/direct/testing/pmem-csi.yaml index 1d3688b5da..e78d4bc68b 100644 --- a/deploy/kubernetes-1.21/direct/testing/pmem-csi.yaml +++ b/deploy/kubernetes-1.21/direct/testing/pmem-csi.yaml @@ -378,7 +378,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -477,7 +477,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -696,7 +696,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.21/lvm/pmem-csi.yaml b/deploy/kubernetes-1.21/lvm/pmem-csi.yaml index 34e4af4de8..04f823d9a2 100644 --- a/deploy/kubernetes-1.21/lvm/pmem-csi.yaml +++ b/deploy/kubernetes-1.21/lvm/pmem-csi.yaml @@ -377,7 +377,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -475,7 +475,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -692,7 +692,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.21/lvm/testing/pmem-csi.yaml b/deploy/kubernetes-1.21/lvm/testing/pmem-csi.yaml index b240f8501e..7924bf077f 100644 --- a/deploy/kubernetes-1.21/lvm/testing/pmem-csi.yaml +++ b/deploy/kubernetes-1.21/lvm/testing/pmem-csi.yaml @@ -378,7 +378,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -477,7 +477,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -696,7 +696,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.21/pmem-csi-direct-testing.yaml b/deploy/kubernetes-1.21/pmem-csi-direct-testing.yaml index 1d3688b5da..e78d4bc68b 100644 --- a/deploy/kubernetes-1.21/pmem-csi-direct-testing.yaml +++ b/deploy/kubernetes-1.21/pmem-csi-direct-testing.yaml @@ -378,7 +378,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -477,7 +477,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -696,7 +696,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.21/pmem-csi-direct.yaml b/deploy/kubernetes-1.21/pmem-csi-direct.yaml index fd35e4b612..5cca737bea 100644 --- a/deploy/kubernetes-1.21/pmem-csi-direct.yaml +++ b/deploy/kubernetes-1.21/pmem-csi-direct.yaml @@ -377,7 +377,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -475,7 +475,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -692,7 +692,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.21/pmem-csi-lvm-testing.yaml b/deploy/kubernetes-1.21/pmem-csi-lvm-testing.yaml index b240f8501e..7924bf077f 100644 --- a/deploy/kubernetes-1.21/pmem-csi-lvm-testing.yaml +++ b/deploy/kubernetes-1.21/pmem-csi-lvm-testing.yaml @@ -378,7 +378,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -477,7 +477,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -696,7 +696,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kubernetes-1.21/pmem-csi-lvm.yaml b/deploy/kubernetes-1.21/pmem-csi-lvm.yaml index 34e4af4de8..04f823d9a2 100644 --- a/deploy/kubernetes-1.21/pmem-csi-lvm.yaml +++ b/deploy/kubernetes-1.21/pmem-csi-lvm.yaml @@ -377,7 +377,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -475,7 +475,7 @@ spec: value: pmem-csi.intel.com - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -692,7 +692,7 @@ spec: fieldPath: spec.nodeName - name: TERMINATION_LOG_PATH value: /tmp/termination-log - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent name: pmem-driver securityContext: diff --git a/deploy/kustomize/driver/pmem-csi.yaml b/deploy/kustomize/driver/pmem-csi.yaml index 8078e55ed0..ff465f7f34 100644 --- a/deploy/kustomize/driver/pmem-csi.yaml +++ b/deploy/kustomize/driver/pmem-csi.yaml @@ -153,7 +153,7 @@ spec: priorityClassName: system-cluster-critical containers: - name: pmem-driver - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent command: - /usr/local/bin/pmem-csi-driver @@ -234,7 +234,7 @@ spec: storage: pmem containers: - name: pmem-driver - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent command: - /usr/local/bin/pmem-csi-driver @@ -460,7 +460,7 @@ spec: pmem-csi.intel.com/convert-raw-namespaces: force containers: - name: pmem-driver - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent command: - /usr/local/bin/pmem-csi-driver diff --git a/deploy/kustomize/olm-catalog/bases/pmem-csi-operator.clusterserviceversion.yaml b/deploy/kustomize/olm-catalog/bases/pmem-csi-operator.clusterserviceversion.yaml index 150d6a26dd..4324926994 100644 --- a/deploy/kustomize/olm-catalog/bases/pmem-csi-operator.clusterserviceversion.yaml +++ b/deploy/kustomize/olm-catalog/bases/pmem-csi-operator.clusterserviceversion.yaml @@ -5,7 +5,7 @@ metadata: namespace: placeholder annotations: categories: Storage - containerImage: intel/pmem-csi-driver:vX.Y.Z + containerImage: intel/pmem-csi-driver:v1.0.0 description: An operator for deploying and managing the PMEM-CSI driver repository: https://github.com/intel/pmem-csi/tree/release-X.Y support: Intel diff --git a/deploy/kustomize/operator/operator.yaml b/deploy/kustomize/operator/operator.yaml index 8dbfcdc827..7a2418df3f 100644 --- a/deploy/kustomize/operator/operator.yaml +++ b/deploy/kustomize/operator/operator.yaml @@ -144,7 +144,7 @@ spec: serviceAccountName: pmem-csi-operator containers: - name: pmem-csi-operator - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent command: - /usr/local/bin/pmem-csi-operator diff --git a/deploy/operator/pmem-csi-operator.yaml b/deploy/operator/pmem-csi-operator.yaml index 56cc143fe6..c7dd454d55 100644 --- a/deploy/operator/pmem-csi-operator.yaml +++ b/deploy/operator/pmem-csi-operator.yaml @@ -188,7 +188,7 @@ spec: value: pmem-csi-operator - name: GODEBUG value: x509ignoreCN=0 - image: intel/pmem-csi-driver:canary + image: intel/pmem-csi-driver:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 5 diff --git a/docs/autotest.md b/docs/autotest.md index dcb0f3fe46..ffffb882d5 100644 --- a/docs/autotest.md +++ b/docs/autotest.md @@ -202,7 +202,7 @@ the following workaround is possible. Create a wrapper script: sudo tee /usr/local/bin/ndctl <[][][] @@ -304,13 +304,13 @@ Alternatively, the you can install the operator manually from YAML files. First install the PmemCSIDeployment CRD: ``` console -$ kubectl create -f https://github.com/intel/pmem-csi/raw/devel/deploy/crd/pmem-csi.intel.com_pmemcsideployments.yaml +$ kubectl create -f https://github.com/intel/pmem-csi/raw/v1.0.0/deploy/crd/pmem-csi.intel.com_pmemcsideployments.yaml ``` Then install the PMEM-CSI operator itself: ``` console -$ kubectl create -f https://github.com/intel/pmem-csi/raw/devel/deploy/operator/pmem-csi-operator.yaml +$ kubectl create -f https://github.com/intel/pmem-csi/raw/v1.0.0/deploy/operator/pmem-csi-operator.yaml ``` The operator gets deployed in a namespace called 'pmem-csi' which gets created by that YAML file. @@ -579,13 +579,13 @@ It is not necessary to check out the repository to use them. Create a storage class with late binding, the recommended mode: ``` console -$ kubectl apply -f https://github.com/intel/pmem-csi/raw/devel/deploy/common/pmem-storageclass-late-binding.yaml +$ kubectl apply -f https://github.com/intel/pmem-csi/raw/v1.0.0/deploy/common/pmem-storageclass-late-binding.yaml storageclass.storage.k8s.io/pmem-csi-sc-late-binding created ``` Then request a volume which uses that class: ``` console -$ kubectl apply -f https://github.com/intel/pmem-csi/raw/devel/deploy/common/pmem-pvc-late-binding.yaml +$ kubectl apply -f https://github.com/intel/pmem-csi/raw/v1.0.0/deploy/common/pmem-pvc-late-binding.yaml persistentvolumeclaim/pmem-csi-pvc-late-binding created ``` @@ -613,7 +613,7 @@ Events: The volume gets created once the first Pod starts to use it, on a node that is suitable for that Pod: ``` console -$ kubectl apply -f https://github.com/intel/pmem-csi/raw/devel/deploy/common/pmem-app-late-binding.yaml +$ kubectl apply -f https://github.com/intel/pmem-csi/raw/v1.0.0/deploy/common/pmem-app-late-binding.yaml pod/my-csi-app created ``` @@ -835,7 +835,7 @@ Pod Template: Service Account: pmem-csi-intel-com-node-setup Containers: pmem-driver: - Image: 172.17.42.1:5001/pmem-csi-driver:canary + Image: 172.17.42.1:5001/pmem-csi-driver:v1.0.0 Port: Host Port: Command: diff --git a/test/start-operator.sh b/test/start-operator.sh index 2ecc3a8392..8ed673f39e 100755 --- a/test/start-operator.sh +++ b/test/start-operator.sh @@ -62,9 +62,9 @@ function deploy_using_olm() { CSV_FILE="${TMP_BUNDLE_DIR}/manifests/pmem-csi-operator.clusterserviceversion.yaml" # Update docker registry - # Generated CSV's containerImage is 'intel/pmem-csi-driver:v${BUNDLE_VERSION}' + # Generated CSV's containerImage is 'intel/pmem-csi-driver:v1.0.0 if [ "${TEST_PMEM_REGISTRY}" != "intel" ]; then - sed -i -e "s^intel/pmem-csi-driver:^${TEST_PMEM_REGISTRY}/pmem-csi-driver:^g" ${CSV_FILE} + sed -i -e "s^intel/pmem-csi-driver:^${TEST_PMEM_REGISTRY}/pmem-csi-driver:v1.0.0^g" ${CSV_FILE} fi if [ "${TEST_PMEM_IMAGE_TAG}" != "" ]; then sed -i -e "s^\(/pmem-csi-driver:\).*^\1${TEST_PMEM_IMAGE_TAG}^g" ${CSV_FILE} diff --git a/test/start-stop-openshift.sh b/test/start-stop-openshift.sh index 7cd5e1e975..ea07f9e559 100755 --- a/test/start-stop-openshift.sh +++ b/test/start-stop-openshift.sh @@ -278,7 +278,7 @@ EOF # by creating a wrapper script around podman. run $ssh "cat >ndctl" < Date: Sat, 17 Jul 2021 11:55:04 +0200 Subject: [PATCH 2/8] build: suppress diff in merge-version.sh Depending on the git version and current state of the tree we get a diff that we don't want. --- hack/merge-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/merge-release.sh b/hack/merge-release.sh index ac8ee15474..b5b6608a10 100755 --- a/hack/merge-release.sh +++ b/hack/merge-release.sh @@ -17,7 +17,7 @@ # release branch. git fetch origin -head_tree=$(git show --pretty=format:%T HEAD) +head_tree=$(git show --no-patch --pretty=format:%T HEAD) head_commit=$(git rev-parse HEAD) latest_release=$(git branch -r | grep 'origin/release-[0-9]*\.[0-9]*' | sort -n | tail -n 1) release_commit=$(git rev-parse ${latest_release}) From a4846967cfd7a2efd378125bdfb43de851c2183d Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Sat, 17 Jul 2021 21:11:10 +0200 Subject: [PATCH 3/8] test: disable "olm upgrade" test The test breaks other OLM tests by deleting the "deploy/olm-bundle/1.0.0" directory. To get v1.0.0 released without further delays, the test gets disabled temporarily and will have to be enabled again later (https://github.com/intel/pmem-csi/issues/1029). --- test/test.make | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test.make b/test/test.make index 301e71bd39..13127aaf1d 100644 --- a/test/test.make +++ b/test/test.make @@ -110,6 +110,9 @@ TEST_E2E_SKIP_ALL += volumeIO.*should.write.files.of.various.sizes.*verify.size. # The reason is shredding the ndctl device is consuming most of the time. TEST_E2E_SKIP_ALL += direct.*binding.stress.test +# The test breaks other OLM tests (https://github.com/intel/pmem-csi/issues/1029). +TEST_E2E_SKIP_ALL += olm.*upgrade + # Add all Kubernetes version-specific suppressions. TEST_E2E_SKIP_ALL += $(TEST_E2E_SKIP_$(shell cat _work/$(CLUSTER)/kubernetes.version)) From 21c031935d87d0f0c78c815f485f0f19bdceb856 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Sat, 17 Jul 2021 11:19:49 +0200 Subject: [PATCH 4/8] docs: v1.0.0 --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2edcd611d2..ae872be4d7 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,13 @@ library](https://github.com/pmem/ndctl). In this readme, we use *persistent memory* to refer to a non-volatile dual in-line memory module (NVDIMM). -The [v0.9 release](https://github.com/intel/pmem-csi/releases/latest) +The [v1.0 release](https://github.com/intel/pmem-csi/releases/latest) is the latest feature release and is [regularly updated](docs/DEVELOPMENT.md#release-management) with newer base images -and bug fixes. Older releases are no longer supported. +and bug fixes. 0.9 is still supported. Documentation is part of the source code for each release and also available in rendered form for easier reading: +- [latest 1.0.x release](https://intel.github.io/pmem-csi/1.0/) - [latest 0.9.x release](https://intel.github.io/pmem-csi/0.9/) - [latest 0.8.x release](https://intel.github.io/pmem-csi/0.8/) - [latest 0.7.x release](https://intel.github.io/pmem-csi/0.7/) From e73e7be5a54168bfc24bef30ec987035ba64bb42 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Sat, 17 Jul 2021 11:20:20 +0200 Subject: [PATCH 5/8] docs: temporarily skip link check for release-1.0 The docsite has not been updated yet. This can be reverted once the 1.0 docs exist. --- conf.json | 1 + 1 file changed, 1 insertion(+) diff --git a/conf.json b/conf.json index 07eb8aef24..045f67e25e 100644 --- a/conf.json +++ b/conf.json @@ -20,6 +20,7 @@ "sphinx_copybutton" ], "linkcheck_ignore": [ + "https://intel.github.io/pmem-csi/1.0/", ".*cloudnative-k8sci.southcentralus.cloudapp.azure.com.*" ], "linkcheck_anchors_ignore": [ From b58f9a7b24ff2f541f722e54ac8e23c5da79ef50 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Sat, 17 Jul 2021 11:21:12 +0200 Subject: [PATCH 6/8] docs: stable operator API The operator API became stable in 1.0.0. --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ae872be4d7..a2d6d5ee5b 100644 --- a/README.md +++ b/README.md @@ -81,12 +81,13 @@ The following table lists the features that are stable: Feature | Introduced in --------|-------------- -[LVM mode](docs/design.html#lvm-device-mode) | [v0.5.0](https://github.com/intel/pmem-csi/releases/tag/v0.5.0) -[Direct mode](https://intel.github.io/pmem-csi/latest/docs/design.html#direct-device-mode) | [v0.5.0](https://github.com/intel/pmem-csi/releases/tag/v0.5.0) -[Persistent volumes](https://intel.github.io/pmem-csi/latest/docs/design.html#volume-persistency) | [v0.5.0](https://github.com/intel/pmem-csi/releases/tag/v0.5.0) -[CSI Ephemeral volumes](https://intel.github.io/pmem-csi/latest/docs/design.html#volume-persistency) | [v0.6.0](https://github.com/intel/pmem-csi/releases/tag/v0.6.0) -[Raw block volumes](https://intel.github.io/pmem-csi/latest/docs/install.html#raw-block-volumes) | [v0.6.0](https://github.com/intel/pmem-csi/releases/tag/v0.6.0) -[Capacity-aware pod scheduling](https://intel.github.io/pmem-csi/latest/docs/design.html#capacity-aware-pod-scheduling) | [v0.7.0](https://github.com/intel/pmem-csi/releases/tag/v0.7.0) +[LVM mode](docs/design.md#lvm-device-mode) | [v0.5.0](https://github.com/intel/pmem-csi/releases/tag/v0.5.0) +[Direct mode](docs/design.md#direct-device-mode) | [v0.5.0](https://github.com/intel/pmem-csi/releases/tag/v0.5.0) +[Persistent volumes](docs/design.md#volume-persistency) | [v0.5.0](https://github.com/intel/pmem-csi/releases/tag/v0.5.0) +[CSI Ephemeral volumes](docs/design.md#volume-persistency) | [v0.6.0](https://github.com/intel/pmem-csi/releases/tag/v0.6.0) +[Raw block volumes](docs/install.md#raw-block-volumes) | [v0.6.0](https://github.com/intel/pmem-csi/releases/tag/v0.6.0) +[Capacity-aware pod scheduling](docs/design.md#capacity-aware-pod-scheduling) | [v0.7.0](https://github.com/intel/pmem-csi/releases/tag/v0.7.0) +[Operator API](docs/install.md#pmem-csi-deployment-crd) | [v0.9.0](https://github.com/intel/pmem-csi/releases/tag/v0.9.0) Release notes are prepared only for major new releases (such as v0.6.0) but not for automatic updates (such as v0.6.1). For more information on From d7a571ef31417efe6f8400d5585328918fe1adca Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Sat, 17 Jul 2021 11:21:44 +0200 Subject: [PATCH 7/8] docs: build 1.0 docs --- .github/workflows/publish.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 87fd0c9de2..8a7f689719 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,7 @@ on: - release-0.7 - release-0.8 - release-0.9 + - release-1.0 jobs: build: @@ -29,7 +30,7 @@ jobs: echo "" >"$HOME/output/index.html" # "latest" used to be what "devel" is now, i.e. the documentation for the "devel" # branch. Now it points to the latest stable release. - ln -s 0.9 "$HOME/output/latest" + ln -s 1.0 "$HOME/output/latest" - name: Build latest run: | GITHUB_SHA=$(git rev-parse HEAD) @@ -67,6 +68,16 @@ jobs: rm -rf _work/venv make vhtml mv _output/html $HOME/output/0.9 + - uses: actions/checkout@v2 + with: + ref: release-1.0 + - name: Build release-1.0 + run: | + GITHUB_SHA=$(git rev-parse HEAD) + export GITHUB_SHA + rm -rf _work/venv + make vhtml + mv _output/html $HOME/output/1.0 - name: Deploy the docs run: | cd $HOME/output From 15a9e404db2056a53453ddd73ff742790bcc8469 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Sun, 18 Jul 2021 20:16:14 +0200 Subject: [PATCH 8/8] docs: revise Kubernetes support table --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a2d6d5ee5b..20cc75c6d0 100644 --- a/README.md +++ b/README.md @@ -36,9 +36,10 @@ versions: | 1.15 | CSIInlineVolume | unsupported 3 | 1.16 | | unsupported 4 | 1.17 | | unsupported 5 -| 1.18 | | supported +| 1.18 | | untested | 1.19 | | supported | 1.20 | | supported +| 1.21 | | supported 1 Several relevant features are only available in alpha quality in Kubernetes 1.13 and the combination of skip attach and