Merge pull request #1043 from jsravn/patch-1

Fix example pod.yml to not mount to root
This commit is contained in:
Tejal Desai
2020-02-12 09:48:02 -08:00
committed by GitHub
+2 -2
View File
@@ -11,7 +11,7 @@ spec:
"--destination=<user-name>/<repo>"] # replace with your dockerhub account
volumeMounts:
- name: kaniko-secret
mountPath: /root
mountPath: /kaniko/.docker
- name: dockerfile-storage
mountPath: /workspace
restartPolicy: Never
@@ -21,7 +21,7 @@ spec:
secretName: regcred
items:
- key: .dockerconfigjson
path: .docker/config.json
path: config.json
- name: dockerfile-storage
persistentVolumeClaim:
claimName: dockerfile-claim