Adjust manifests for local development
This commit is contained in:
parent
c2a77cab45
commit
a7a8d4906e
4 changed files with 6 additions and 8 deletions
|
@ -81,8 +81,8 @@ spec:
|
||||||
capabilities:
|
capabilities:
|
||||||
add: ["SYS_ADMIN"]
|
add: ["SYS_ADMIN"]
|
||||||
allowPrivilegeEscalation: true
|
allowPrivilegeEscalation: true
|
||||||
image: ctrox/csi-s3:v1.2.0-rc.1
|
image: csi-s3
|
||||||
imagePullPolicy: "Always"
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- "--endpoint=$(CSI_ENDPOINT)"
|
- "--endpoint=$(CSI_ENDPOINT)"
|
||||||
- "--nodeid=$(NODE_ID)"
|
- "--nodeid=$(NODE_ID)"
|
||||||
|
|
|
@ -8,7 +8,7 @@ spec:
|
||||||
- name: csi-s3-test-nginx
|
- name: csi-s3-test-nginx
|
||||||
image: nginx
|
image: nginx
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /var/lib/www/html
|
- mountPath: /usr/share/nginx/html/s3
|
||||||
name: webroot
|
name: webroot
|
||||||
volumes:
|
volumes:
|
||||||
- name: webroot
|
- name: webroot
|
||||||
|
|
|
@ -5,9 +5,7 @@ metadata:
|
||||||
name: csi-s3
|
name: csi-s3
|
||||||
provisioner: ch.ctrox.csi.s3-driver
|
provisioner: ch.ctrox.csi.s3-driver
|
||||||
parameters:
|
parameters:
|
||||||
# specify which mounter to use
|
mounter: goofys
|
||||||
# can be set to rclone, s3fs, goofys or s3backer
|
|
||||||
mounter: rclone
|
|
||||||
# to use an existing bucket, specify it here:
|
# to use an existing bucket, specify it here:
|
||||||
# bucket: some-existing-bucket
|
# bucket: some-existing-bucket
|
||||||
csi.storage.k8s.io/provisioner-secret-name: csi-s3-secret
|
csi.storage.k8s.io/provisioner-secret-name: csi-s3-secret
|
||||||
|
|
|
@ -86,7 +86,8 @@ spec:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver
|
mountPath: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver
|
||||||
- name: csi-s3
|
- name: csi-s3
|
||||||
image: ctrox/csi-s3:v1.2.0-rc.1
|
image: csi-s3
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- "--endpoint=$(CSI_ENDPOINT)"
|
- "--endpoint=$(CSI_ENDPOINT)"
|
||||||
- "--nodeid=$(NODE_ID)"
|
- "--nodeid=$(NODE_ID)"
|
||||||
|
@ -98,7 +99,6 @@ spec:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
imagePullPolicy: "Always"
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver
|
mountPath: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver
|
||||||
|
|
Loading…
Reference in a new issue