Commit a7a8d490 authored by Vitaliy Filippov's avatar Vitaliy Filippov
Browse files

Adjust manifests for local development

parent c2a77cab
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -81,8 +81,8 @@ spec:
            capabilities:
              add: ["SYS_ADMIN"]
            allowPrivilegeEscalation: true
          image: ctrox/csi-s3:v1.2.0-rc.1
          imagePullPolicy: "Always"
          image: csi-s3
          imagePullPolicy: IfNotPresent
          args:
            - "--endpoint=$(CSI_ENDPOINT)"
            - "--nodeid=$(NODE_ID)"
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ spec:
   - name: csi-s3-test-nginx
     image: nginx
     volumeMounts:
       - mountPath: /var/lib/www/html
       - mountPath: /usr/share/nginx/html/s3
         name: webroot
  volumes:
   - name: webroot
+1 −3
Original line number Diff line number Diff line
@@ -5,9 +5,7 @@ metadata:
  name: csi-s3
provisioner: ch.ctrox.csi.s3-driver
parameters:
  # specify which mounter to use
  # can be set to rclone, s3fs, goofys or s3backer
  mounter: rclone
  mounter: goofys
  # to use an existing bucket, specify it here:
  # bucket: some-existing-bucket
  csi.storage.k8s.io/provisioner-secret-name: csi-s3-secret
+2 −2
Original line number Diff line number Diff line
@@ -86,7 +86,8 @@ spec:
            - name: socket-dir
              mountPath: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver
        - name: csi-s3
          image: ctrox/csi-s3:v1.2.0-rc.1
          image: csi-s3
          imagePullPolicy: IfNotPresent
          args:
            - "--endpoint=$(CSI_ENDPOINT)"
            - "--nodeid=$(NODE_ID)"
@@ -98,7 +99,6 @@ spec:
              valueFrom:
                fieldRef:
                  fieldPath: spec.nodeName
          imagePullPolicy: "Always"
          volumeMounts:
            - name: socket-dir
              mountPath: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver