-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect timestamp on files copied from one to another pod #613
Labels
Milestone
Comments
iromli
added
kind-bug
Issue or PR is a bug in existing functionality
comp-docker-jans-certmanager
comp-jans-pycloudlib
labels
Jan 17, 2022
iromli
changed the title
Incorrect timestamp on files copied from certmanager to auth-server pods
Incorrect timestamp on files created by copy_to_container process
Jan 17, 2022
iromli
changed the title
Incorrect timestamp on files created by copy_to_container process
Incorrect timestamp on files copied from one to another pod
Jan 17, 2022
iromli
added a commit
that referenced
this issue
Jan 17, 2022
iromli
added a commit
that referenced
this issue
Jan 19, 2022
moabu
pushed a commit
that referenced
this issue
Jan 20, 2022
#627) * fix(pycloudlib): missing tar option to not restore file timestamp #613 * chore(jans-pycloudlib): updated build (#628) Signed-off-by: mo-auto <54212639+mo-auto@users.noreply.github.com> * chore(jans-pycloudlib): updated build (#652) Signed-off-by: mo-auto <54212639+mo-auto@users.noreply.github.com> Co-authored-by: mo-auto <54212639+mo-auto@users.noreply.github.com>
This was referenced Jan 20, 2022
This was referenced Feb 14, 2022
This was referenced Mar 1, 2022
This was referenced Mar 1, 2022
This was referenced Mar 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
File copied from pod to another pod using
KubernetesMeta.copy_to_container
method has incorrect timestamp set toJan 1, 1970
.To Reproduce
Steps to reproduce the behavior:
janssenproject/certmanager
container to rotateauth-server
keys (auth-keys.jks
andauth-keys.json
) using the following commandcertmanager patch auth
/etc/certs/auth-keys.jks
and/etc/certs/auth-keys.json
files insideauth-server
pods; the timestamp are set toJan 1, 1970
Expected behavior
File copied from pod to another pod using
KubernetesMeta.copy_to_container
method should have correct timestamp.Additional context
The
tar
command is missing option-m
to prevent timestamp restored toJan 1, 1970
.The text was updated successfully, but these errors were encountered: