-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
rename restic-init-container to ark-restic-restore-helper #541
Conversation
pkg/restore/restic_restore_action.go
Outdated
@@ -66,7 +66,7 @@ func (a *resticRestoreAction) Execute(obj runtime.Unstructured, restore *api.Res | |||
|
|||
initContainer := corev1.Container{ | |||
Name: restic.InitContainer, | |||
Image: "gcr.io/heptio-images/restic-init-container:latest", | |||
Image: "gcr.io/heptio-images/ark-restic-restore-helper:latest", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO we can't hard-code latest here. We could have it match ark
's version. We may want to have a command line flag to specify the full image spec for this that override's ark
's version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO'ed
Signed-off-by: Steve Kriss <[email protected]>
e91a81d
to
81520a9
Compare
Thanks LGTM |
Actually since we aren't going to be setting |
can we just grab buildinfo.Version? That's an easy change, and can leave TODO for cmd-line flag |
That helps with the tag but not the rest of the image URL. But it's a good start, so let's do it. And have the cli flag before we cut 0.9 final. |
7c8a7c4
to
78b3feb
Compare
pkg/restore/restic_restore_action.go
Outdated
tag = "latest" | ||
} | ||
|
||
return fmt.Sprintf("gcr.io/heptio-images/ark-restic-restore-helper:%s", tag) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You lost the TODO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
urgh. cut and failed to paste :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upd.
…iner Signed-off-by: Steve Kriss <[email protected]>
78b3feb
to
d7134b1
Compare
LGTM |
Signed-off-by: Steve Kriss [email protected]