Commit 39591b39 authored by Arie Peterson's avatar Arie Peterson 🐚
Browse files

Move driver command from Kubernetes template to Dockerfile

parent ed8fffed
......@@ -2,3 +2,5 @@ FROM alpine:3.9
COPY src/driver.sh /driver.sh
COPY src/copy.sh /copy.sh
ENTRYPOINT ["sh", "/copy.sh"]
......@@ -16,7 +16,6 @@ spec:
- name: copy
image: "{{ .Values.driver.image.repository }}:{{ .Values.driver.image.tag }}"
imagePullPolicy: "{{ .Values.driver.image.pullPolicy }}"
command: ["sh", "/copy.sh"]
volumeMounts:
- mountPath: /drivers
name: flexvolume
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment