feat: make it compatible to k3s v1.19.5+k3s2
Signed-off-by: Toby Yan <me@tobyan.com>
This commit is contained in:
parent
6a23dbae72
commit
8d4b3caf9c
4 changed files with 10 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,6 +1,7 @@
|
|||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
namespace: kube-system
|
||||
name: csi-s3-secret
|
||||
stringData:
|
||||
accessKeyID: <YOUR_ACCESS_KEY_ID>
|
||||
|
|
Loading…
Reference in a new issue