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
|
set -ex
|
||||||
source .ci/common
|
source .ci/common
|
||||||
|
|
||||||
K8S_VERSION=1.18.20
|
K8S_VERSION=1.19.12
|
||||||
MINIKUBE_VERSION=1.18.1
|
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/
|
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
|
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/
|
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
|
Kubernetes LocalPVs on Steroids
|
||||||
|
|
||||||
|
Prerequisite
|
||||||
|
---
|
||||||
|
- Kubernetes: 1.19+
|
||||||
|
|
||||||
Install
|
Install
|
||||||
---
|
---
|
||||||
`helm install -n kube-system rawfile-csi ./deploy/charts/rawfile-csi/`
|
`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
|
kind: CSIDriver
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.provisionerName }}
|
name: {{ .Values.provisionerName }}
|
||||||
spec:
|
spec:
|
||||||
attachRequired: false
|
attachRequired: false
|
||||||
podInfoOnMount: true
|
podInfoOnMount: true
|
||||||
{{- if semverCompare ">=1.16" .Capabilities.KubeVersion.Version }}
|
fsGroupPolicy: File
|
||||||
volumeLifecycleModes:
|
volumeLifecycleModes:
|
||||||
- Persistent
|
- Persistent
|
||||||
{{- end }}
|
|
||||||
|
@ -61,7 +61,7 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.controller.resources | nindent 12 }}
|
{{- toYaml .Values.controller.resources | nindent 12 }}
|
||||||
- name: external-provisioner
|
- 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
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
@ -74,7 +74,7 @@ spec:
|
|||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
- name: external-resizer
|
- 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
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
|
@ -91,7 +91,7 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.node.resources | nindent 12 }}
|
{{- toYaml .Values.node.resources | nindent 12 }}
|
||||||
- name: node-driver-registrar
|
- 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
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- --csi-address=$(ADDRESS)
|
- --csi-address=$(ADDRESS)
|
||||||
|
Loading…
Reference in New Issue
Block a user