Drop support for k8s <1.19
So that we can: * Rely on existence of newer features * Update external components' images
This commit is contained in:
parent
c454a51ccd
commit
eff26e8c3e
@ -2,8 +2,8 @@
|
||||
set -ex
|
||||
source .ci/common
|
||||
|
||||
K8S_VERSION=1.18.20
|
||||
MINIKUBE_VERSION=1.18.1
|
||||
K8S_VERSION=1.19.12
|
||||
MINIKUBE_VERSION=1.19.0
|
||||
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v${K8S_VERSION}/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
|
||||
sudo apt update && sudo apt install -y conntrack
|
||||
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v${MINIKUBE_VERSION}/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
|
||||
|
@ -5,6 +5,10 @@ RawFilePV
|
||||
|
||||
Kubernetes LocalPVs on Steroids
|
||||
|
||||
Prerequisite
|
||||
---
|
||||
- Kubernetes: 1.19+
|
||||
|
||||
Install
|
||||
---
|
||||
`helm install -n kube-system rawfile-csi ./deploy/charts/rawfile-csi/`
|
||||
|
@ -1,11 +1,10 @@
|
||||
apiVersion: storage.k8s.io/v1beta1
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: CSIDriver
|
||||
metadata:
|
||||
name: {{ .Values.provisionerName }}
|
||||
spec:
|
||||
attachRequired: false
|
||||
podInfoOnMount: true
|
||||
{{- if semverCompare ">=1.16" .Capabilities.KubeVersion.Version }}
|
||||
fsGroupPolicy: File
|
||||
volumeLifecycleModes:
|
||||
- Persistent
|
||||
{{- end }}
|
||||
|
@ -61,7 +61,7 @@ spec:
|
||||
resources:
|
||||
{{- toYaml .Values.controller.resources | nindent 12 }}
|
||||
- name: external-provisioner
|
||||
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.0.0
|
||||
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2
|
||||
imagePullPolicy: IfNotPresent
|
||||
args:
|
||||
- "--csi-address=$(ADDRESS)"
|
||||
@ -74,7 +74,7 @@ spec:
|
||||
- name: socket-dir
|
||||
mountPath: /csi
|
||||
- name: external-resizer
|
||||
image: quay.io/k8scsi/csi-resizer:v1.0.0
|
||||
image: k8s.gcr.io/sig-storage/csi-resizer:v1.2.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
args:
|
||||
- "--csi-address=$(ADDRESS)"
|
||||
|
@ -91,7 +91,7 @@ spec:
|
||||
resources:
|
||||
{{- toYaml .Values.node.resources | nindent 12 }}
|
||||
- name: node-driver-registrar
|
||||
image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.0.1
|
||||
image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.2.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
args:
|
||||
- --csi-address=$(ADDRESS)
|
||||
|
Loading…
Reference in New Issue
Block a user