Skip to content

Commit

Permalink
Move driver arguments to manifest files
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheng Pan committed Oct 11, 2018
1 parent f580f81 commit 7a99fb5
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ FROM registry.fedoraproject.org/fedora-minimal
COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/bin/aws-ebs-csi-driver /bin/aws-ebs-csi-driver
RUN microdnf install -y e2fsprogs && microdnf clean all

ENTRYPOINT ["/bin/aws-ebs-csi-driver", "-logtostderr", "-v", "5"]
ENTRYPOINT ["/bin/aws-ebs-csi-driver"]
8 changes: 5 additions & 3 deletions deploy/kubernetes/v1.12+/attacher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ spec:
allowPrivilegeEscalation: true
image: quay.io/k8scsi/csi-attacher:v0.4.0
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
- --v=5
- --csi-address=$(ADDRESS)
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -97,7 +97,9 @@ spec:
allowPrivilegeEscalation: true
image: quay.io/bertinatto/ebs-csi-driver:testing
args :
- "--endpoint=$(CSI_ENDPOINT)"
- --endpoint=$(CSI_ENDPOINT)
- --logtostderr
- --v=5
env:
- name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
Expand Down
4 changes: 3 additions & 1 deletion deploy/kubernetes/v1.12+/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ spec:
imagePullPolicy: Always
image: quay.io/bertinatto/ebs-csi-driver:testing
args:
- "--endpoint=$(CSI_ENDPOINT)"
- --endpoint=$(CSI_ENDPOINT)
- --logtostderr
- --v=5
env:
- name: CSI_ENDPOINT
value: unix:/csi/csi.sock
Expand Down
10 changes: 6 additions & 4 deletions deploy/kubernetes/v1.12+/provisioner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ spec:
allowPrivilegeEscalation: true
image: quay.io/k8scsi/csi-provisioner:v0.4.0
args:
- "--provisioner=com.amazon.aws.csi.ebs"
- "--csi-address=$(ADDRESS)"
- "--v=5"
- --provisioner=com.amazon.aws.csi.ebs
- --csi-address=$(ADDRESS)
- --v=5
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -108,7 +108,9 @@ spec:
allowPrivilegeEscalation: true
image: quay.io/bertinatto/ebs-csi-driver:testing
args :
- "--endpoint=$(CSI_ENDPOINT)"
- --endpoint=$(CSI_ENDPOINT)
- --logtostderr
- --v=5
env:
- name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
Expand Down
8 changes: 5 additions & 3 deletions deploy/kubernetes/v1.[10,11]/attacher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ spec:
allowPrivilegeEscalation: true
image: quay.io/k8scsi/csi-attacher:v0.3.0
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
- --v=5
- --csi-address=$(ADDRESS)
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -97,7 +97,9 @@ spec:
allowPrivilegeEscalation: true
image: quay.io/bertinatto/ebs-csi-driver:testing
args :
- "--endpoint=$(CSI_ENDPOINT)"
- --endpoint=$(CSI_ENDPOINT)
- --logtostderr
- --v=5
env:
- name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
Expand Down
8 changes: 5 additions & 3 deletions deploy/kubernetes/v1.[10,11]/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ spec:
imagePullPolicy: Always
image: quay.io/k8scsi/driver-registrar:v0.3.0
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
- --v=5
- --csi-address=$(ADDRESS)
env:
- name: ADDRESS
value: /csi/csi.sock
Expand All @@ -86,7 +86,9 @@ spec:
imagePullPolicy: Always
image: quay.io/bertinatto/ebs-csi-driver:testing
args:
- "--endpoint=$(CSI_ENDPOINT)"
- --endpoint=$(CSI_ENDPOINT)
- --logtostderr
- --v=5
env:
- name: CSI_ENDPOINT
value: unix:/csi/csi.sock
Expand Down
10 changes: 6 additions & 4 deletions deploy/kubernetes/v1.[10,11]/provisioner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ spec:
allowPrivilegeEscalation: true
image: quay.io/k8scsi/csi-provisioner:v0.3.0
args:
- "--provisioner=com.amazon.aws.csi.ebs"
- "--csi-address=$(ADDRESS)"
- "--v=5"
- --provisioner=com.amazon.aws.csi.ebs
- --csi-address=$(ADDRESS)
- --v=5
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -99,7 +99,9 @@ spec:
allowPrivilegeEscalation: true
image: quay.io/bertinatto/ebs-csi-driver:testing
args :
- "--endpoint=$(CSI_ENDPOINT)"
- --endpoint=$(CSI_ENDPOINT)
- --logtostderr
- --v=5
env:
- name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
Expand Down

0 comments on commit 7a99fb5

Please sign in to comment.