Merge pull request #1043 from jsravn/patch-1
Fix example pod.yml to not mount to root
This commit is contained in:
commit
1e9f525509
|
|
@ -11,7 +11,7 @@ spec:
|
||||||
"--destination=<user-name>/<repo>"] # replace with your dockerhub account
|
"--destination=<user-name>/<repo>"] # replace with your dockerhub account
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: kaniko-secret
|
- name: kaniko-secret
|
||||||
mountPath: /root
|
mountPath: /kaniko/.docker
|
||||||
- name: dockerfile-storage
|
- name: dockerfile-storage
|
||||||
mountPath: /workspace
|
mountPath: /workspace
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
|
@ -21,7 +21,7 @@ spec:
|
||||||
secretName: regcred
|
secretName: regcred
|
||||||
items:
|
items:
|
||||||
- key: .dockerconfigjson
|
- key: .dockerconfigjson
|
||||||
path: .docker/config.json
|
path: config.json
|
||||||
- name: dockerfile-storage
|
- name: dockerfile-storage
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: dockerfile-claim
|
claimName: dockerfile-claim
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue