Unverified Commit c3fadd83 authored by Cyrill Troxler's avatar Cyrill Troxler Committed by GitHub
Browse files

Merge pull request #43 from toby1991/master

feat: make it compatible to k3s v1.19.5+k3s2 and newer k8s
parents 6a23dbae ae1ce873
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ This is still very experimental and should not be used in any production environ
apiVersion: v1
kind: Secret
metadata:
  namespace: kube-system
  name: csi-s3-secret
stringData:
  accessKeyID: <YOUR_ACCESS_KEY_ID>
+4 −1
Original line number Diff line number Diff line
@@ -54,11 +54,14 @@ spec:
      port: 12345
---
kind: StatefulSet
apiVersion: apps/v1beta1
apiVersion: apps/v1
metadata:
  name: csi-attacher-s3
  namespace: kube-system
spec:
  selector:
    matchLabels:
      app: "csi-attacher-s3"
  serviceName: "csi-attacher-s3"
  replicas: 1
  template:
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ roleRef:
  apiGroup: rbac.authorization.k8s.io
---
kind: DaemonSet
apiVersion: apps/v1beta2
apiVersion: apps/v1
metadata:
  name: csi-s3
  namespace: kube-system
+4 −1
Original line number Diff line number Diff line
@@ -53,11 +53,14 @@ spec:
      port: 12345
---
kind: StatefulSet
apiVersion: apps/v1beta1
apiVersion: apps/v1
metadata:
  name: csi-provisioner-s3
  namespace: kube-system
spec:
  selector:
    matchLabels:
      app: "csi-provisioner-s3"
  serviceName: "csi-provisioner-s3"
  replicas: 1
  template:
+1 −0
Original line number Diff line number Diff line
apiVersion: v1
kind: Secret
metadata:
  namespace: kube-system
  name: csi-s3-secret
stringData:
  accessKeyID: <YOUR_ACCESS_KEY_ID>