-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GowalkDir dependency to pick up fixes. Added default 90 min ti…
…meout for walking FS. Override it with environment variable. Add slowjam to kaniko pod
- Loading branch information
Showing
35 changed files
with
1,536 additions
and
346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: kaniko | ||
spec: | ||
containers: | ||
- name: kaniko | ||
image: gcr.io/kaniko-project/executor:debug | ||
lifecycle: | ||
preStop: | ||
exec: | ||
command: ["/bin/sh","-c","cat $STACKLOG_PATH"] | ||
env: | ||
- name: STACKLOG_PATH | ||
value: /workspace/kaniko.slog | ||
args: ["--dockerfile=/workspace/dockerfile", | ||
"--context=dir://workspace", | ||
"--destination=<user-name>/<repo>"] # replace with your dockerhub account | ||
volumeMounts: | ||
- name: kaniko-secret | ||
mountPath: /kaniko/.docker | ||
- name: dockerfile-storage | ||
mountPath: /workspace | ||
restartPolicy: Never | ||
volumes: | ||
- name: kaniko-secret | ||
secret: | ||
secretName: regcred | ||
items: | ||
- key: .dockerconfigjson | ||
path: config.json | ||
- name: dockerfile-storage | ||
persistentVolumeClaim: | ||
claimName: dockerfile-claim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.