Merge pull request #43 from toby1991/master

feat: make it compatible to k3s v1.19.5+k3s2 and newer k8s
This commit is contained in:
Cyrill Troxler 2021-04-05 10:06:59 +02:00 committed by GitHub
commit c3fadd837e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 3 deletions

View file

@ -20,6 +20,7 @@ This is still very experimental and should not be used in any production environ
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
namespace: kube-system
name: csi-s3-secret name: csi-s3-secret
stringData: stringData:
accessKeyID: <YOUR_ACCESS_KEY_ID> accessKeyID: <YOUR_ACCESS_KEY_ID>

View file

@ -54,11 +54,14 @@ spec:
port: 12345 port: 12345
--- ---
kind: StatefulSet kind: StatefulSet
apiVersion: apps/v1beta1 apiVersion: apps/v1
metadata: metadata:
name: csi-attacher-s3 name: csi-attacher-s3
namespace: kube-system namespace: kube-system
spec: spec:
selector:
matchLabels:
app: "csi-attacher-s3"
serviceName: "csi-attacher-s3" serviceName: "csi-attacher-s3"
replicas: 1 replicas: 1
template: template:

View file

@ -39,7 +39,7 @@ roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
--- ---
kind: DaemonSet kind: DaemonSet
apiVersion: apps/v1beta2 apiVersion: apps/v1
metadata: metadata:
name: csi-s3 name: csi-s3
namespace: kube-system namespace: kube-system

View file

@ -53,11 +53,14 @@ spec:
port: 12345 port: 12345
--- ---
kind: StatefulSet kind: StatefulSet
apiVersion: apps/v1beta1 apiVersion: apps/v1
metadata: metadata:
name: csi-provisioner-s3 name: csi-provisioner-s3
namespace: kube-system namespace: kube-system
spec: spec:
selector:
matchLabels:
app: "csi-provisioner-s3"
serviceName: "csi-provisioner-s3" serviceName: "csi-provisioner-s3"
replicas: 1 replicas: 1
template: template:

View file

@ -1,6 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
namespace: kube-system
name: csi-s3-secret name: csi-s3-secret
stringData: stringData:
accessKeyID: <YOUR_ACCESS_KEY_ID> accessKeyID: <YOUR_ACCESS_KEY_ID>