Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit e6bfb35

Browse files
authored
Merge pull request #940 from pohly/release-0.9-backport
Prepare v0.9.1
2 parents 9dc7cc1 + d949098 commit e6bfb35

File tree

64 files changed

+558
-433
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+558
-433
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG LINUX_BASE=debian:buster-slim
55
FROM ${LINUX_BASE} AS build
66
ARG APT_GET="env DEBIAN_FRONTEND=noninteractive apt-get"
77

8-
ARG GO_VERSION="1.15.2"
8+
ARG GO_VERSION="1.16.1"
99

1010
# CACHEBUST is set by the CI when building releases to ensure that apt-get really gets
1111
# run instead of just using some older, cached result.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ NO_PROXY=$(shell echo "$${NO_PROXY:-$${no_proxy}},$$(ip addr | grep inet6 | grep
4444
export HTTP_PROXY HTTPS_PROXY NO_PROXY
4545

4646
REGISTRY_NAME?=$(shell . test/test-config.sh && echo $${TEST_BUILD_PMEM_REGISTRY})
47-
IMAGE_VERSION?=v0.9.0
47+
IMAGE_VERSION?=v0.9.1
4848
IMAGE_TAG=$(REGISTRY_NAME)/pmem-csi-driver$*:$(IMAGE_VERSION)
4949
# Pass proxy config via --build-arg only if these are set,
5050
# enabling proxy config other way, like ~/.docker/config.json

deploy/bindata_generated.go

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deploy/common/pmem-app-cache.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ spec:
1212
labels:
1313
app: my-csi-app
1414
spec:
15+
# The 'pmem-csi-driver-test' container runs apps as user/group 1000/1000.
16+
# This security context causes permissions of volume mounts
17+
# to be adapted accordingly, see
18+
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
19+
securityContext:
20+
fsGroup: 1000
1521
# make sure that no two Pods run on same node
1622
affinity:
1723
podAntiAffinity:
@@ -24,7 +30,7 @@ spec:
2430
topologyKey: "kubernetes.io/hostname"
2531
containers:
2632
- name: my-frontend
27-
image: intel/pmem-csi-driver-test:v0.9.0
33+
image: intel/pmem-csi-driver-test:v0.9.1
2834
command: [ "/bin/sh" ]
2935
args: [ "-c", "touch /data/$(POD_NAME); sleep 100000" ]
3036
env:

deploy/common/pmem-app-ephemeral.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@ apiVersion: v1
55
metadata:
66
name: my-csi-app-inline-volume
77
spec:
8+
# The 'pmem-csi-driver-test' container runs apps as user/group 1000/1000.
9+
# This security context causes permissions of volume mounts
10+
# to be adapted accordingly, see
11+
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
12+
securityContext:
13+
fsGroup: 1000
814
containers:
915
- name: my-frontend
10-
image: intel/pmem-csi-driver-test:v0.9.0
16+
image: intel/pmem-csi-driver-test:v0.9.1
1117
command: [ "sleep", "100000" ]
1218
volumeMounts:
1319
- mountPath: "/data"

deploy/common/pmem-app-generic-ephemeral.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ apiVersion: v1
66
metadata:
77
name: my-csi-app-inline-volume
88
spec:
9+
# The 'pmem-csi-driver-test' container runs apps as user/group 1000/1000.
10+
# This security context causes permissions of volume mounts
11+
# to be adapted accordingly, see
12+
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
13+
securityContext:
14+
fsGroup: 1000
915
containers:
1016
- name: my-frontend
11-
image: intel/pmem-csi-driver-test:v0.9.0
17+
image: intel/pmem-csi-driver-test:v0.9.1
1218
command: [ "sleep", "100000" ]
1319
volumeMounts:
1420
- mountPath: "/data"

deploy/common/pmem-app-late-binding.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,15 @@ apiVersion: v1
33
metadata:
44
name: my-csi-app
55
spec:
6+
# The 'pmem-csi-driver-test' container runs apps as user/group 1000/1000.
7+
# This security context causes permissions of volume mounts
8+
# to be adapted accordingly, see
9+
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
10+
securityContext:
11+
fsGroup: 1000
612
containers:
713
- name: my-frontend
8-
image: intel/pmem-csi-driver-test:v0.9.0
14+
image: intel/pmem-csi-driver-test:v0.9.1
915
command: [ "sleep", "100000" ]
1016
volumeMounts:
1117
- mountPath: "/data"

deploy/common/pmem-app.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,15 @@ apiVersion: v1
33
metadata:
44
name: my-csi-app-1
55
spec:
6+
# The 'pmem-csi-driver-test' container runs apps as user/group 1000/1000.
7+
# This security context causes permissions of volume mounts
8+
# to be adapted accordingly, see
9+
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
10+
securityContext:
11+
fsGroup: 1000
612
containers:
713
- name: my-frontend
8-
image: intel/pmem-csi-driver-test:v0.9.0
14+
image: intel/pmem-csi-driver-test:v0.9.1
915
command: [ "sleep", "100000" ]
1016
volumeMounts:
1117
- mountPath: "/data"
@@ -20,9 +26,15 @@ apiVersion: v1
2026
metadata:
2127
name: my-csi-app-2
2228
spec:
29+
# The 'pmem-csi-driver-test' container runs apps as user/group 1000/1000.
30+
# This security context causes permissions of volume mounts
31+
# to be adapted accordingly, see
32+
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
33+
securityContext:
34+
fsGroup: 1000
2335
containers:
2436
- name: my-frontend
25-
image: intel/pmem-csi-driver-test:v0.9.0
37+
image: intel/pmem-csi-driver-test:v0.9.1
2638
command: [ "sleep", "100000" ]
2739
volumeMounts:
2840
- mountPath: "/data"

deploy/common/pmem-kata-app-ephemeral.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@ metadata:
55
labels:
66
io.katacontainers.config.hypervisor.memory_offset: "2147483648" # 2Gi, must be at least as large as the PMEM volume
77
spec:
8+
# The 'pmem-csi-driver-test' container runs apps as user/group 1000/1000.
9+
# This security context causes permissions of volume mounts
10+
# to be adapted accordingly, see
11+
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
12+
securityContext:
13+
fsGroup: 1000
814
# see https://github.com/kata-containers/packaging/tree/1.11.0-rc0/kata-deploy#run-a-sample-workload
915
runtimeClassName: kata-qemu
1016
nodeSelector:
1117
katacontainers.io/kata-runtime: "true"
1218
containers:
1319
- name: my-frontend
14-
image: intel/pmem-csi-driver-test:v0.9.0
20+
image: intel/pmem-csi-driver-test:v0.9.1
1521
command: [ "sleep", "100000" ]
1622
volumeMounts:
1723
- mountPath: "/data"

deploy/common/pmem-kata-app.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@ metadata:
55
labels:
66
io.katacontainers.config.hypervisor.memory_offset: "2147483648" # 2Gi, must be at least as large as the PMEM volume
77
spec:
8+
# The 'pmem-csi-driver-test' container runs apps as user/group 1000/1000.
9+
# This security context causes permissions of volume mounts
10+
# to be adapted accordingly, see
11+
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
12+
securityContext:
13+
fsGroup: 1000
814
# see https://github.com/kata-containers/packaging/tree/1.11.0-rc0/kata-deploy#run-a-sample-workload
915
runtimeClassName: kata-qemu
1016
nodeSelector:
1117
katacontainers.io/kata-runtime: "true"
1218
containers:
1319
- name: my-frontend
14-
image: intel/pmem-csi-driver-test:v0.9.0
20+
image: intel/pmem-csi-driver-test:v0.9.1
1521
command: [ "sleep", "100000" ]
1622
volumeMounts:
1723
- mountPath: "/data"

0 commit comments

Comments
 (0)